RDMA/mlx5: Update all DRIVER QP places to use QP subtype
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 27 Apr 2020 15:46:09 +0000 (18:46 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 28 Apr 2020 23:42:22 +0000 (20:42 -0300)
commit8bde2c509e4035fb4a200a60f82f85eec914145b
tree13350325f550fb4ce93751790a1cf150248edcb0
parentfd9dab7edc590a52ed141265fa7c88cf938e9be0
RDMA/mlx5: Update all DRIVER QP places to use QP subtype

Instead of overwriting QP init attributes with driver QP subtype,
use that subtype directly. This change will allow us to remove
logic which cached QP init attributes.

Link: https://lore.kernel.org/r/20200427154636.381474-10-leon@kernel.org
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/qp.c