diff options
author | Michael Guralnik <michaelgur@mellanox.com> | 2018-12-09 11:49:48 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-12-11 13:06:20 -0700 |
commit | 1e8f43b7fb25aa7a85db1e81b4689dd394e23b35 (patch) | |
tree | 8ba3b42d050799e498048c67b930a437e5650ec0 /include/rdma/ib_verbs.h | |
parent | 6db21d8986e14e2e86573a3b055b05296188bd2c (diff) | |
download | linux-stable-1e8f43b7fb25aa7a85db1e81b4689dd394e23b35.tar.gz linux-stable-1e8f43b7fb25aa7a85db1e81b4689dd394e23b35.tar.bz2 linux-stable-1e8f43b7fb25aa7a85db1e81b4689dd394e23b35.zip |
IB/core: Add CapabilityMask2 to port attributes
CapabilityMask2 was added in IB Spec 1.3 under PortInfo attribute. The
new Capapbility mask is needed in order to expose the new 2X width and HDR
speed.
Signed-off-by: Michael Guralnik <michaelgur@mellanox.com>
Reviewed-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma/ib_verbs.h')
-rw-r--r-- | include/rdma/ib_verbs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index 85021451eee0..b03e24852186 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h @@ -592,6 +592,7 @@ struct ib_port_attr { u8 active_width; u8 active_speed; u8 phys_state; + u16 port_cap_flags2; }; enum ib_device_modify_flags { |