IB/IPoIB: Increase local_lid to 32 bits
authorDasaratharaman Chandramouli <[email protected]>
Thu, 8 Jun 2017 17:37:45 +0000 (13:37 -0400)
committerDoug Ledford <[email protected]>
Tue, 8 Aug 2017 18:47:18 +0000 (14:47 -0400)
IPoIB contains local_lid field which is 16 bits in
length, increase it to 32 bits.

Signed-off-by: Dasaratharaman Chandramouli <[email protected]>
Reviewed-by: Ira Weiny <[email protected]>
Signed-off-by: Don Hiatt <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
drivers/infiniband/ulp/ipoib/ipoib.h

index ff50a7bd66d864506ec65aef1b63f45ce5d36e36..9e738104c2a1664cec2d9a6c78df455dcec66aa8 100644 (file)
@@ -366,7 +366,7 @@ struct ipoib_dev_priv {
        u32               qkey;
 
        union ib_gid local_gid;
-       u16          local_lid;
+       u32          local_lid;
 
        unsigned int admin_mtu;
        unsigned int mcast_mtu;