]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
IB/IPoIB: Increase local_lid to 32 bits
authorDasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Thu, 8 Jun 2017 17:37:45 +0000 (13:37 -0400)
committerDoug Ledford <dledford@redhat.com>
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 <dasaratharaman.chandramouli@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Don Hiatt <don.hiatt@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
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;