]> 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)
commit854420e1fa4670a2b35ab08da809e73b44f53cc7
tree13350325f550fb4ce93751790a1cf150248edcb0
parent9dab258d1f62a956396182f95f160e045d02cb9c
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