diff mbox

[rdma-next,01/32] IB/core: Macro for RoCEv2 UDP port

Message ID 1442410986-28232-2-git-send-email-kamalh@mellanox.com (mailing list archive)
State Superseded
Headers show

Commit Message

Kamal Heib Sept. 16, 2015, 1:42 p.m. UTC
From: Amir Vadai <amirv@mellanox.com>

Adding a macro for RoCEv2 UDP destination port.

Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: Kamal Heib <kamalh@mellanox.com>
---
 include/rdma/ib_verbs.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index e6b6a86..4de9dfa 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -77,6 +77,8 @@  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;