RDMA/mlx5: Separate to user/kernel create QP flows
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 27 Apr 2020 15:46:28 +0000 (18:46 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 30 Apr 2020 21:45:44 +0000 (18:45 -0300)
commit98fc1126c4161450f215254409e5539314b54a04
tree952e70c529c7859624005021462317750f08ef27
parent04bcc1c2d0d7bfa0bffa5853d9a127fb4f4cd943
RDMA/mlx5: Separate to user/kernel create QP flows

The kernel and user create QP flows have very little common code,
separate them to simplify the future work of creating per-type
create_*_qp() functions.

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