Re: [PATCH rdma-rc] RDMA/mlx5: Fix query DCT via DEVX

From: Jason Gunthorpe
Date: Wed May 19 2021 - 14:22:29 EST


On Wed, May 19, 2021 at 11:41:32AM +0300, Leon Romanovsky wrote:
> From: Maor Gottlieb <maorg@xxxxxxxxxx>
>
> When executing DEVX command to query QP object, we need to take
> the QP type from the mlx5_ib_qp struct which hold the driver specific
> QP types as well, such as DC.
>
> Fixes: 34613eb1d2ad ("IB/mlx5: Enable modify and query verbs objects via DEVX")
> Reviewed-by: Yishai Hadas <yishaih@xxxxxxxxxx>
> Signed-off-by: Maor Gottlieb <maorg@xxxxxxxxxx>
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx>
> ---
> drivers/infiniband/hw/mlx5/devx.c | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)

Applied to for-rc, thanks

Jason