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)
commit70bd7fb8762528ac0e69a8ae0f485298dff57043
treea7105fd05cbe83cc9b9b3e5870366aff3dffd24d
parent64bae2d455f6058572ac4d23a8ea9e47c9d10f03
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