aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma/ib_verbs.h
diff options
context:
space:
mode:
authorMichael Guralnik <michaelgur@mellanox.com>2018-12-09 11:49:48 +0200
committerJason Gunthorpe <jgg@mellanox.com>2018-12-11 13:06:20 -0700
commit1e8f43b7fb25aa7a85db1e81b4689dd394e23b35 (patch)
tree8ba3b42d050799e498048c67b930a437e5650ec0 /include/rdma/ib_verbs.h
parentIB/rxe: Fix incorrect cache cleanup in error flow (diff)
downloadlinux-dev-1e8f43b7fb25aa7a85db1e81b4689dd394e23b35.tar.xz
linux-dev-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.h1
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 {