Commit 7ead4bcb authored by Moni Shoua's avatar Moni Shoua Committed by Doug Ledford

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: default avatarMoni Shoua <monis@mellanox.com>
Signed-off-by: default avatarMatan Barak <matanb@mellanox.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 3f723f42
...@@ -81,6 +81,7 @@ enum ib_gid_type { ...@@ -81,6 +81,7 @@ enum ib_gid_type {
IB_GID_TYPE_SIZE IB_GID_TYPE_SIZE
}; };
#define ROCE_V2_UDP_DPORT 4791
struct ib_gid_attr { struct ib_gid_attr {
enum ib_gid_type gid_type; enum ib_gid_type gid_type;
struct net_device *ndev; struct net_device *ndev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment