Commit 4c473690 authored by Dasaratharaman Chandramouli's avatar Dasaratharaman Chandramouli Committed by Doug Ledford

IB/srpt: Increase lid and sm_lid to 32 bits

srpt contains lid and sm_lid fields which are 16 bits in
length, increase them to 32 bits.
Signed-off-by: default avatarDasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Reviewed-by: default avatarIra Weiny <ira.weiny@intel.com>
Signed-off-by: default avatarDon Hiatt <don.hiatt@intel.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent d541e455
...@@ -328,8 +328,8 @@ struct srpt_port { ...@@ -328,8 +328,8 @@ struct srpt_port {
u8 port_guid[24]; u8 port_guid[24];
u8 port_gid[64]; u8 port_gid[64];
u8 port; u8 port;
u16 sm_lid; u32 sm_lid;
u16 lid; u32 lid;
union ib_gid gid; union ib_gid gid;
struct work_struct work; struct work_struct work;
struct se_portal_group port_guid_tpg; struct se_portal_group port_guid_tpg;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment