aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMoni Shoua <monis@mellanox.com>2016-01-14 17:50:39 +0200
committerDoug Ledford <dledford@redhat.com>2016-01-19 15:35:01 -0500
commit3b5daf28ac4bb9354b7d2f10ce5942cad23e979a (patch)
tree8cee593c2b714c5930b00b265877317ac697cea4 /include
parentIB/core: Add definition for the standard RoCE V2 UDP port (diff)
downloadlinux-dev-3b5daf28ac4bb9354b7d2f10ce5942cad23e979a.tar.xz
linux-dev-3b5daf28ac4bb9354b7d2f10ce5942cad23e979a.zip
IB/mlx4: Support modify_qp for RoCE v2
In order to support modify_qp for RoCE v2, we need to set the gid_type in the QP context. 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')
-rw-r--r--include/linux/mlx4/qp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mlx4/qp.h b/include/linux/mlx4/qp.h
index cdf110d3f260..587cdf943b52 100644
--- a/include/linux/mlx4/qp.h
+++ b/include/linux/mlx4/qp.h
@@ -194,7 +194,7 @@ struct mlx4_qp_context {
u8 mtu_msgmax;
u8 rq_size_stride;
u8 sq_size_stride;
- u8 rlkey;
+ u8 rlkey_roce_mode;
__be32 usr_page;
__be32 local_qpn;
__be32 remote_qpn;