[openib-general] [PATCH] OpenSM: Add well known multicast groups with MTU and Rate component mask bits set

Hal Rosenstock halr at voltaire.com
Mon Feb 21 05:53:10 PST 2005


OpenSM: Add well known multicast groups with MTU and Rate component mask
bits set

Index: opensm/osm_sa.c
===================================================================
--- opensm/osm_sa.c	(revision 1846)
+++ opensm/osm_sa.c	(working copy)
@@ -560,10 +560,12 @@
 
   osm_mgrp_t * p_mgrp = NULL;
   ib_api_status_t status;
+  ib_net64_t comp_mask;
 
+  comp_mask = IB_MCR_COMPMASK_MTU | IB_MCR_COMPMASK_RATE;
   status = osm_mcmr_rcv_create_new_mgrp(
     p_mcmr,
-    0, /*  we want OpenSM to pick the Scope. No comp mask provided. */
+    comp_mask,
     p_well_know_mc_rec,
     &p_mgrp);
   if(p_mgrp)






More information about the general mailing list