RDMA/mlx5: Fix legacy IPoIB QP initialization
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 30 Jun 2020 12:21:47 +0000 (15:21 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 2 Jul 2020 14:17:10 +0000 (11:17 -0300)
commitf81b4565c1108fb954f344e6b4a153c8189e57fe
treea23b45efa5fef30fcdee4d60c205357f5d499e4b
parente18321acfb9f14d01c03578e1c498e3f815d20a3
RDMA/mlx5: Fix legacy IPoIB QP initialization

Legacy IPoIB sets IB_QP_CREATE_NETIF_QP QP create flag and because mlx5
doesn't use this flag, the process_create_flags() failed to create IPoIB
QPs.

Fixes: 2978975ce7f1 ("RDMA/mlx5: Process create QP flags in one place")
Link: https://lore.kernel.org/r/20200630122147.445847-1-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/mlx5/qp.c