diff options
author | Moni Shoua <monis@mellanox.com> | 2016-01-14 16:50:39 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-01-19 21:35:01 +0100 |
commit | 3b5daf28ac4bb9354b7d2f10ce5942cad23e979a (patch) | |
tree | 8cee593c2b714c5930b00b265877317ac697cea4 /include | |
parent | IB/core: Add definition for the standard RoCE V2 UDP port (diff) | |
download | linux-3b5daf28ac4bb9354b7d2f10ce5942cad23e979a.tar.xz linux-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.h | 2 |
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; |