IB/mlx4: Support modify_qp for RoCE v2
authorMoni Shoua <monis@mellanox.com>
Thu, 14 Jan 2016 15:50:39 +0000 (17:50 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 19 Jan 2016 20:35:01 +0000 (15:35 -0500)
commit3b5daf28ac4bb9354b7d2f10ce5942cad23e979a
tree8cee593c2b714c5930b00b265877317ac697cea4
parent7ead4bcb1b788732516755ef84ef1272d3e152eb
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>
drivers/infiniband/hw/mlx4/qp.c
include/linux/mlx4/qp.h