diff options
author | Erez Shitrit <erezsh@mellanox.com> | 2017-04-13 05:37:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-17 17:08:32 +0200 |
commit | 93d576af3cc8a20f94c96448ef6cf4c21d552fa0 (patch) | |
tree | 52738af556bd2c0e507f44b8827131a55a6c759e | |
parent | net/mlx5e: E-switch vport manager is valid for ethernet only (diff) | |
download | linux-93d576af3cc8a20f94c96448ef6cf4c21d552fa0.tar.xz linux-93d576af3cc8a20f94c96448ef6cf4c21d552fa0.zip |
hw/mlx5: Add New bit to check over QP creation
Add check for bit IB_QP_CREATE_NETIF_QP while creating QP.
Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/infiniband/hw/mlx5/qp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mlx5/qp.c b/drivers/infiniband/hw/mlx5/qp.c index ad8a2638e339..ed6320186f89 100644 --- a/drivers/infiniband/hw/mlx5/qp.c +++ b/drivers/infiniband/hw/mlx5/qp.c @@ -897,6 +897,7 @@ static int create_kernel_qp(struct mlx5_ib_dev *dev, if (init_attr->create_flags & ~(IB_QP_CREATE_SIGNATURE_EN | IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK | IB_QP_CREATE_IPOIB_UD_LSO | + IB_QP_CREATE_NETIF_QP | mlx5_ib_create_qp_sqpn_qp1())) return -EINVAL; |