]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Remove manually crafted QP context the query call
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 26 May 2020 11:54:37 +0000 (14:54 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 27 May 2020 19:07:49 +0000 (16:07 -0300)
commit9f7081b099aeb8a7e773ed5255de992f4b75e5b1
treea7105fd05cbe83cc9b9b3e5870366aff3dffd24d
parent8ff22a0edfd918b0275840beb3880cba28352a7c
RDMA/mlx5: Remove manually crafted QP context the query call

As a preparation to removal hand crafted mlx5_qp_context, convert
query_qp_attr() to use proper MLX5_GET() macros.

Link: https://lore.kernel.org/r/20200526115440.205922-6-leon@kernel.org
Reviewed-by: Mark Zhang <markz@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/qp.c