diff options
author | Michael Guralnik <michaelgur@mellanox.com> | 2019-10-20 09:43:59 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-10-22 16:39:49 -0300 |
commit | 3f89b01f4bbab2dcd1a6e7e31e64faacb448e3be (patch) | |
tree | f1e720b54e6fd497e3815e40ce40c566ee639120 /drivers/infiniband/hw/mlx5/gsi.c | |
parent | 68abaa765e410dc1583de1fa285ec7b0c58c6252 (diff) | |
download | linux-stable-3f89b01f4bbab2dcd1a6e7e31e64faacb448e3be.tar.gz linux-stable-3f89b01f4bbab2dcd1a6e7e31e64faacb448e3be.tar.bz2 linux-stable-3f89b01f4bbab2dcd1a6e7e31e64faacb448e3be.zip |
IB/mlx5: Align usage of QP1 create flags with rest of mlx5 defines
There is little value in keeping separate function for one flag, provide
it directly like any other mlx5 define.
Link: https://lore.kernel.org/r/20191020064400.8344-2-leon@kernel.org
Signed-off-by: Michael Guralnik <michaelgur@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/gsi.c')
-rw-r--r-- | drivers/infiniband/hw/mlx5/gsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx5/gsi.c b/drivers/infiniband/hw/mlx5/gsi.c index 4950df3f71b6..ac4d8d1b9a07 100644 --- a/drivers/infiniband/hw/mlx5/gsi.c +++ b/drivers/infiniband/hw/mlx5/gsi.c @@ -263,7 +263,7 @@ static struct ib_qp *create_gsi_ud_qp(struct mlx5_ib_gsi_qp *gsi) }, .sq_sig_type = gsi->sq_sig_type, .qp_type = IB_QPT_UD, - .create_flags = mlx5_ib_create_qp_sqpn_qp1(), + .create_flags = MLX5_IB_QP_CREATE_SQPN_QP1, }; return ib_create_qp(pd, &init_attr); |