[IPOIB] fix IPoIB connectivity when IB switch is configured with lmc > 0.
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 8 Sep 2008 06:56:31 +0000 (06:56 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 8 Sep 2008 06:56:31 +0000 (06:56 +0000)
signed off by: slavas@voltaire.com

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1561 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/ipoib/kernel/ipoib_port.c

index 2799cb6..51502fa 100644 (file)
@@ -5008,7 +5008,7 @@ ipoib_port_up(
        KeResetEvent( &p_port->sa_event );\r
        cl_obj_unlock( &p_port->obj );\r
 \r
-       info.method = IB_MAD_METHOD_GET;\r
+       info.method = IB_MAD_METHOD_GETTABLE;\r
        info.attr_id = IB_MAD_ATTR_PORTINFO_RECORD;\r
        info.attr_size = sizeof(ib_portinfo_record_t);\r
        info.comp_mask = IB_PIR_COMPMASK_BASELID;\r