]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
RDMA/mlx5: Fix query DCT via DEVX
authorMaor Gottlieb <maorg@nvidia.com>
Wed, 19 May 2021 08:41:32 +0000 (11:41 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 19 May 2021 16:27:54 +0000 (13:27 -0300)
commitcfa3b797118eda7d68f9ede9b1a0279192aca653
tree86c238086d8e820b639dc4521246b14afdc8e140
parent889d916b6f8a48b8c9489fffcad3b78eedd01a51
RDMA/mlx5: Fix query DCT via DEVX

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")
Link: https://lore.kernel.org/r/6eee15d63f09bb70787488e0cf96216e2957f5aa.1621413654.git.leonro@nvidia.com
Reviewed-by: Yishai Hadas <yishaih@nvidia.com>
Signed-off-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/mlx5/devx.c