]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
[IPOIB] fix IPoIB connectivity when IB switch is configured with lmc > 0.
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 8 Sep 2008 06:55:15 +0000 (06:55 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 8 Sep 2008 06:55:15 +0000 (06:55 +0000)
signed off by: slavas@voltaire.com

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

branches/WOF2-0/trunk/ulp/ipoib/kernel/ipoib_port.c

index 2799cb6b41e8d415254ba1bad7279baa28dd9c2d..51502fa22e653d7e5fa61d8710d5c448e3fc3264 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