[openib-general] [PATCH] OpenSM: Fix scope of well known MC group records

Hal Rosenstock halr at voltaire.com
Fri Feb 11 09:46:00 PST 2005


OpenSM: Scope of well known multicast group records needs to match the
scope in the MGID

Index: osm_sa.c
===================================================================
--- osm_sa.c	(revision 1745)
+++ osm_sa.c	(working copy)
@@ -531,7 +531,8 @@
   mc_rec.rate = 0x3; /* 10Gb/sec */
   mc_rec.pkt_life = OSM_DEFAULT_SUBNET_TIMEOUT;
   mc_rec.sl_flow_hop = OSM_DEFAULT_SL <<28;
-  mc_rec.scope_state = 1;
+  /* Note: scope needs to be consistent with MGID */
+  mc_rec.scope_state = 0x21;
 
   osm_sa_add_well_known_mc_record(&p_sa->mcmr_rcv, &mc_rec);
 






More information about the general mailing list