]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit654c5208f8083e617417f012eb379c1df0829d66
tree13350325f550fb4ce93751790a1cf150248edcb0
parent2e8b8673ed9d9463628d87965a108ad87cc07517
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