summaryrefslogtreecommitdiff
path: root/include/rdma
diff options
context:
space:
mode:
authorMoni Shoua <monis@mellanox.com>2016-01-14 17:50:38 +0200
committerDoug Ledford <dledford@redhat.com>2016-01-19 15:35:01 -0500
commit7ead4bcb1b788732516755ef84ef1272d3e152eb (patch)
tree90f3a6226932e1fa2a9879b4e5fda43d1ecb1661 /include/rdma
parent3f723f42d9d625bb9ecfe923d19d1d42da775797 (diff)
IB/core: Add definition for the standard RoCE V2 UDP port
This will be used in hardware device driver when building QP or AH contexts. Signed-off-by: Moni Shoua <monis@mellanox.com> Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/rdma')
-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 75fcc97886de..284b00c8fea4 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -81,6 +81,7 @@ enum ib_gid_type {
IB_GID_TYPE_SIZE
};
+#define ROCE_V2_UDP_DPORT 4791
struct ib_gid_attr {
enum ib_gid_type gid_type;
struct net_device *ndev;