summaryrefslogtreecommitdiffstats
path: root/include/rdma/ib_verbs.h
diff options
context:
space:
mode:
authorMoni Shoua <monis@mellanox.com>2016-01-14 16:50:38 +0100
committerDoug Ledford <dledford@redhat.com>2016-01-19 21:35:01 +0100
commit7ead4bcb1b788732516755ef84ef1272d3e152eb (patch)
tree90f3a6226932e1fa2a9879b4e5fda43d1ecb1661 /include/rdma/ib_verbs.h
parentnet/mlx4_core: Add support for RoCE v2 entropy (diff)
downloadlinux-7ead4bcb1b788732516755ef84ef1272d3e152eb.tar.xz
linux-7ead4bcb1b788732516755ef84ef1272d3e152eb.zip
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/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 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;