RDMA/mlx5: Separate XRC_TGT QP creation from common flow
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 27 Apr 2020 15:46:27 +0000 (18:46 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 30 Apr 2020 21:45:44 +0000 (18:45 -0300)
commit04bcc1c2d0d7bfa0bffa5853d9a127fb4f4cd943
treecb2bb8120b32be627db35b039ca87fa8f7863927
parent21aad80b17e6d17adf99bf17482a5314bcb0aebb
RDMA/mlx5: Separate XRC_TGT QP creation from common flow

XRC_TGT QP doesn't fail into kernel or user flow separation. It is
initiated by the user, but is created through in-kernel verbs flow
and doesn't have PD and udata in similar way to kernel QPs.

So let's separate creation of that QP type from the common flow.

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