diff options
author | Moni Shoua <monis@mellanox.com> | 2016-01-14 18:50:39 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-01-19 23:35:01 +0300 |
commit | 3b5daf28ac4bb9354b7d2f10ce5942cad23e979a (patch) | |
tree | 8cee593c2b714c5930b00b265877317ac697cea4 /include/linux/mlx4/qp.h | |
parent | 7ead4bcb1b788732516755ef84ef1272d3e152eb (diff) | |
download | linux-3b5daf28ac4bb9354b7d2f10ce5942cad23e979a.tar.xz |
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/linux/mlx4/qp.h')
-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; |