summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>2017-06-08 13:37:46 -0400
committerDoug Ledford <dledford@redhat.com>2017-08-08 14:47:18 -0400
commit1cb2fc0db764dae2c484dac5c93824003fe571fb (patch)
tree5886e6c71fa28b2f1ff7e0b8de2cd4c97ebf119d
parent7e93e2cb835c4301663c1ac5e0135d2e06e1c5e8 (diff)
downloadlinux-stable-1cb2fc0db764dae2c484dac5c93824003fe571fb.tar.gz
linux-stable-1cb2fc0db764dae2c484dac5c93824003fe571fb.tar.bz2
linux-stable-1cb2fc0db764dae2c484dac5c93824003fe571fb.zip
IB/mad: Change slid in RMPP recv from 16 to 32 bits
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>
-rw-r--r--drivers/infiniband/core/mad_rmpp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/core/mad_rmpp.c b/drivers/infiniband/core/mad_rmpp.c
index 0d3cca0a8890..e5cf09c66fe6 100644
--- a/drivers/infiniband/core/mad_rmpp.c
+++ b/drivers/infiniband/core/mad_rmpp.c
@@ -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;