diff options
author | Moni Shoua <monis@mellanox.co.il> | 2014-02-09 04:54:34 -0500 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-02-13 17:46:03 -0500 |
commit | b4a26a27287a7f81933ba016aeed6c69dd155323 (patch) | |
tree | a9090b1f8deb04e0ec20dcd19286349130f91e62 /include/rdma/ib_verbs.h | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) |
IB: Report using RoCE IP based gids in port caps
For userspace RoCE UD QPs we need to know the GID format that the
kernel uses, e.g when working over older kernels. For that end, add a
new port capability IB_PORT_IP_BASED_GIDS and report it when query
port is issued.
Signed-off-by: Moni Shoua <monis@mellanox.co.il>
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include/rdma/ib_verbs.h')
-rw-r--r-- | include/rdma/ib_verbs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index 8d4a1c06f7e4..6793f32ccb58 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h | |||
@@ -226,7 +226,8 @@ enum ib_port_cap_flags { | |||
226 | IB_PORT_CAP_MASK_NOTICE_SUP = 1 << 22, | 226 | IB_PORT_CAP_MASK_NOTICE_SUP = 1 << 22, |
227 | IB_PORT_BOOT_MGMT_SUP = 1 << 23, | 227 | IB_PORT_BOOT_MGMT_SUP = 1 << 23, |
228 | IB_PORT_LINK_LATENCY_SUP = 1 << 24, | 228 | IB_PORT_LINK_LATENCY_SUP = 1 << 24, |
229 | IB_PORT_CLIENT_REG_SUP = 1 << 25 | 229 | IB_PORT_CLIENT_REG_SUP = 1 << 25, |
230 | IB_PORT_IP_BASED_GIDS = 1 << 26 | ||
230 | }; | 231 | }; |
231 | 232 | ||
232 | enum ib_port_width { | 233 | enum ib_port_width { |