From: ftillier Date: Sat, 11 Mar 2006 01:34:34 +0000 (+0000) Subject: [IPoIB] Revert previous change of method for broadcast group query X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=24e11d4b987e90eb07817805ea0638d57823fb9d;p=~shefty%2Frdma-win.git [IPoIB] Revert previous change of method for broadcast group query back to GETTABLE. git-svn-id: svn://openib.tc.cornell.edu/gen1@238 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- diff --git a/trunk/ulp/ipoib/kernel/ipoib_port.c b/trunk/ulp/ipoib/kernel/ipoib_port.c index 5a9955af..fe757a45 100644 --- a/trunk/ulp/ipoib/kernel/ipoib_port.c +++ b/trunk/ulp/ipoib/kernel/ipoib_port.c @@ -4533,7 +4533,7 @@ __port_get_mcast( IPOIB_ENTER( IPOIB_DBG_MCAST ); - info.method = IB_MAD_METHOD_GET; + info.method = IB_MAD_METHOD_GETTABLE; info.attr_id = IB_MAD_ATTR_MCMEMBER_RECORD; info.attr_size = sizeof(ib_member_rec_t); info.comp_mask = IB_MCR_COMPMASK_MGID; @@ -4592,6 +4592,11 @@ __bcast_get_cb( switch( p_query_rec->status ) { case IB_SUCCESS: + if( !p_query_rec->result_cnt ) + { + __port_create_bcast( p_port ); + break; + } #ifdef PR_102801 p_mc_req = NULL; /* Loop through the records until we find one with the proper MGID. */