Thread (1 message) 1 message, 1 author, 2016-02-19

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

From: Doug Ledford <hidden>
Date: 2016-02-19 18:26:10

On 12/27/2015 01:58 AM, Leon Romanovsky wrote:
On Thu, Dec 24, 2015 at 11:17:47AM +0200, Kamal Heib wrote:
quoted
From: Amir Vadai <amirv-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>

Adding a macro for RoCEv2 UDP destination port.
You are adding define and not macro.
quoted
Signed-off-by: Amir Vadai <amirv-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Signed-off-by: Kamal Heib <kamalh-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
 include/rdma/ib_verbs.h | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index 368fc22..9904394 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -79,6 +79,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;
-- 
1.8.3.1
This patch was skipped anwyay.  It was already added via a different
patchset some time ago.


-- 
Doug Ledford [off-list ref]
              GPG KeyID: 0E572FDD

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help