[ofw][patch] port_info record

Slava Strebkov slavas at voltaire.com
Tue Aug 26 03:06:28 PDT 2008


Hi,

The following fixes IPoIB connectivity when IB switch is configured with
lmc > 0.

 

Index: ulp/ipoib/kernel/ipoib_port.c

===================================================================

--- ulp/ipoib/kernel/ipoib_port.c   (revision 1506)

+++ ulp/ipoib/kernel/ipoib_port.c (working copy)

@@ -4939,7 +4939,7 @@

            KeResetEvent( &p_port->sa_event );

            cl_obj_unlock( &p_port->obj );

 

-           info.method = IB_MAD_METHOD_GET;

+          info.method = IB_MAD_METHOD_GETTABLE;

            info.attr_id = IB_MAD_ATTR_PORTINFO_RECORD;

            info.attr_size = sizeof(ib_portinfo_record_t);

            info.comp_mask = IB_PIR_COMPMASK_BASELID;

 

Slava 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080826/c0a1cf02/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: port_info_record.diff
Type: application/octet-stream
Size: 525 bytes
Desc: port_info_record.diff
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080826/c0a1cf02/attachment.obj>


More information about the ofw mailing list