OSDN Git Service

RDMA/mlx5: Perform check if QP creation flow is valid
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 27 Apr 2020 15:46:03 +0000 (18:46 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 28 Apr 2020 23:42:20 +0000 (20:42 -0300)
commit2242cc25ce82058986ff7721e3d2464d775032df
tree349b378a059d85c49c83f3e2cd5d5ad35206bb81
parent1265d9f7a522423ef5234457a6d2a2f2a3ccad13
RDMA/mlx5: Perform check if QP creation flow is valid

Fast check that kernel and user flows provides enough
data to create QP.

Link: https://lore.kernel.org/r/20200427154636.381474-4-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