]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
IB/srpt: Increase lid and sm_lid to 32 bits
authorDasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Thu, 8 Jun 2017 17:37:44 +0000 (13:37 -0400)
committerDoug Ledford <dledford@redhat.com>
Tue, 8 Aug 2017 18:47:18 +0000 (14:47 -0400)
srpt contains lid and sm_lid fields which are 16 bits in
length, increase them 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/srpt/ib_srpt.h

index cc1183851af5e587f190c4643103420995330b86..1b817e51b84bea900fe8f23514e32ddcff5208d1 100644 (file)
@@ -328,8 +328,8 @@ struct srpt_port {
        u8                      port_guid[24];
        u8                      port_gid[64];
        u8                      port;
-       u16                     sm_lid;
-       u16                     lid;
+       u32                     sm_lid;
+       u32                     lid;
        union ib_gid            gid;
        struct work_struct      work;
        struct se_portal_group  port_guid_tpg;