]> git.karo-electronics.de Git - linux-beck.git/commitdiff
IB/core: Add definition for the standard RoCE V2 UDP port
authorMoni Shoua <monis@mellanox.com>
Thu, 14 Jan 2016 15:50:38 +0000 (17:50 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 19 Jan 2016 20:35:01 +0000 (15:35 -0500)
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>
include/rdma/ib_verbs.h

index 75fcc97886de026969e61f7c87a1df24b7337499..284b00c8fea4a4f67943aa7979d1b51728e5732e 100644 (file)
@@ -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;