]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Refactor QP type check to be as early as possible
authorLeon Romanovsky <leonro@mellanox.com>
Sun, 25 Feb 2018 11:39:52 +0000 (13:39 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 28 Feb 2018 20:16:36 +0000 (13:16 -0700)
commit0717f4e3262dd89262d398880b9c45d73d1e4b86
tree2285b755ed7a02832fa0dc329bd2d36eb3f2b901
parent0f8fea1125ecbcdcbe9e21a9dcb2f1af2909b41e
RDMA/mlx5: Refactor QP type check to be as early as possible

Perform QP type check in one place and fail as early as possible.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/qp.c