[openib-general] Fw: [PATCH] enable IPoIB only if broadcast join finish

Shirley Ma xma at us.ibm.com
Tue Feb 27 14:28:54 PST 2007






Hello Roland,

      Sorry to bother you again. Could you please review below patch to see
it's possible to be in upper stream soon? IPoIB can't ping each other if
broadcast join successfully but encounting any other IB multicast join
failure (like  IB multicast group join failure for default IPv6 link local
solicited address) when bringing the interface up. It does impact IPoIB
usability in large node cluster when MCG LIDs are limited.

Thanks
Shirley Ma


----- Forwarded by Shirley Ma/Beaverton/IBM on 02/27/07 06:23 AM -----
                                                                           
             Shirley                                                       
             Ma/Beaverton/IBM@                                             
             IBMUS                                                      To 
             Sent by:                  "Roland Dreier" <rdreier at cisco.com> 
             openib-general-bo                                          cc 
             unces at openib.org          openib-general at openib.org           
                                                                   Subject 
                                       [openib-general] [PATCH] enable     
             02/05/07 06:50 AM         IPoIB only if broadcast join finish 
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Hi, Roland,

Please review this patch. According to IPoIB RFC4391 section 5, once IPoIB
broacast group has been joined, the interface should be ready for data
transfer. In current IPoIB implementation, the interface is UP and RUNNING
when all default multicast join successful. We hit a problem while the
broadcast join finishe and sucessful but the all hosts multicast join
failure.

Here is the patch, if possible please give your input asap, we have an
urgent customer issue need to be resolved:

diff -urpN ipoib/ipoib_multicast.c ipoib-multicast/ipoib_multicast.c
--- ipoib/ipoib_multicast.c 2006-11-29 13:57:37.000000000 -0800
+++ ipoib-multicast/ipoib_multicast.c 2007-02-04 22:34:16.000000000 -0800
@@ -402,6 +402,11 @@ static void ipoib_mcast_join_complete(in
queue_work(ipoib_workqueue, &priv->mcast_task);
mutex_unlock(&mcast_mutex);
complete(&mcast->done);
+ /*
+ * broadcast join finished, enable carrier
+ */
+ if (mcast == priv->broadcast)
+ netif_carrier_on(dev);
return;
}

@@ -599,7 +604,6 @@ void ipoib_mcast_join_task(void *dev_ptr
ipoib_dbg_mcast(priv, "successfully joined all multicast groups\n");

clear_bit(IPOIB_MCAST_RUN, &priv->flags);
- netif_carrier_on(dev);
}

int ipoib_mcast_start_thread(struct net_device *dev)

(See attached file: ipoib-multicast.patch)

Thanks
Shirley Ma
IBM Linux Technology Center
15300 SW Koll Parkway
Beaverton, OR 97006-6063
Phone(Fax): (503) 578-7638(See attached file: ipoib-multicast.patch)
_______________________________________________
openib-general mailing list
openib-general at openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit
http://openib.org/mailman/listinfo/openib-general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20070227/d60f6b87/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic08451.gif
Type: image/gif
Size: 1255 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20070227/d60f6b87/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20070227/d60f6b87/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipoib-multicast.patch
Type: application/octet-stream
Size: 777 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20070227/d60f6b87/attachment.obj>


More information about the general mailing list