[ofw][patch] fix for receiving mcast
Slava Strebkov
slavas at voltaire.com
Wed Aug 6 22:49:34 PDT 2008
Hi,
The following allows receiving of multicast over IPoIB by changing
Ethernet address.
The additional line is missed in a previous patch
Index: ulp/ipoib/kernel/ipoib_port.c
===================================================================
--- ulp/ipoib/kernel/ipoib_port.c (revision 1468)
+++ ulp/ipoib/kernel/ipoib_port.c (working copy)
@@ -2162,6 +2162,8 @@
if (p_dst->h_mcast) {
p_dst->is_in_use = TRUE;
+ p_eth->hdr.dst.addr[1] = 0;
+ p_eth->hdr.dst.addr[3] = p_eth->hdr.dst.addr[3] &
0x7f;
}
IPOIB_EXIT( IPOIB_DBG_RECV );
return IB_SUCCESS;
Slava
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080807/67d18131/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipoib_recv_mcast.diff
Type: application/octet-stream
Size: 440 bytes
Desc: ipoib_recv_mcast.diff
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080807/67d18131/attachment.obj>
More information about the ofw
mailing list