From: Moni Shoua Date: Thu, 14 Jan 2016 15:50:38 +0000 (+0200) Subject: IB/core: Add definition for the standard RoCE V2 UDP port X-Git-Tag: v4.14-rc1~3927^2~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7ead4bcb1b788732516755ef84ef1272d3e152eb;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Matan Barak Signed-off-by: Doug Ledford --- 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;