[ofw][patch] port_info record

Tzachi Dar tzachid at mellanox.co.il
Sun Sep 7 23:56:52 PDT 2008


Applied at 1560, 1561
 
Thanks
Tzachi


________________________________

	From: ofw-bounces at lists.openfabrics.org
[mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Slava Strebkov
	Sent: Tuesday, August 26, 2008 1:06 PM
	To: ofw at lists.openfabrics.org
	Subject: [ofw][patch] port_info record
	
	

	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/20080908/ccc3b7f1/attachment.html>


More information about the ofw mailing list