diff options
author | Moni Shoua <monis@mellanox.com> | 2016-01-14 17:50:38 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-01-19 15:35:01 -0500 |
commit | 7ead4bcb1b788732516755ef84ef1272d3e152eb (patch) | |
tree | 90f3a6226932e1fa2a9879b4e5fda43d1ecb1661 /include/rdma/ib_verbs.h | |
parent | 3f723f42d9d625bb9ecfe923d19d1d42da775797 (diff) | |
download | op-kernel-dev-7ead4bcb1b788732516755ef84ef1272d3e152eb.zip op-kernel-dev-7ead4bcb1b788732516755ef84ef1272d3e152eb.tar.gz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index 75fcc97..284b00c 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; |