IB/mad: Change slid in RMPP recv from 16 to 32 bits
authorDasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Thu, 8 Jun 2017 17:37:46 +0000 (13:37 -0400)
committerDoug Ledford <dledford@redhat.com>
Tue, 8 Aug 2017 18:47:18 +0000 (14:47 -0400)
MAD RMPP contains slid 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/core/mad_rmpp.c

index 0d3cca0a889000b8b98f82382ec050f6ef6905bd..e5cf09c66fe6f4fe80f7665a789a53f58aeaf36e 100644 (file)
@@ -64,7 +64,7 @@ struct mad_rmpp_recv {
 
        __be64 tid;
        u32 src_qp;
-       u16 slid;
+       u32 slid;
        u8 mgmt_class;
        u8 class_version;
        u8 method;