diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2018-11-28 21:53:38 +0300 |
---|---|---|
committer | Leon Romanovsky <leonro@mellanox.com> | 2018-12-04 10:14:37 +0300 |
commit | c48d386b2bbb5b7546a409afb611346ba9520f73 (patch) | |
tree | fdde8d11c2612729c9037de5df1ad01e6fc78527 /drivers/infiniband/hw/mlx5/srq.c | |
parent | f02d0d6e53ac2c8a75b6cc87dc86675a9351d84d (diff) | |
download | linux-c48d386b2bbb5b7546a409afb611346ba9520f73.tar.xz |
RDMA/mlx5: Remove SRQ signature global flag
SRQ signature is not supported, hence no need for special static
global variable to announce it.
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/srq.c')
-rw-r--r-- | drivers/infiniband/hw/mlx5/srq.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/infiniband/hw/mlx5/srq.c b/drivers/infiniband/hw/mlx5/srq.c index a86d9f153805..154fd0d3718e 100644 --- a/drivers/infiniband/hw/mlx5/srq.c +++ b/drivers/infiniband/hw/mlx5/srq.c @@ -12,9 +12,6 @@ #include "mlx5_ib.h" #include "srq.h" -/* not supported currently */ -static int srq_signature; - static void *get_wqe(struct mlx5_ib_srq *srq, int n) { return mlx5_buf_offset(&srq->buf, n << srq->msrq.wqe_shift); @@ -175,7 +172,7 @@ static int create_srq_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_srq *srq, err = -ENOMEM; goto err_in; } - srq->wq_sig = !!srq_signature; + srq->wq_sig = 0; in->log_page_size = srq->buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT; if (MLX5_CAP_GEN(dev->mdev, cqe_version) == MLX5_CQE_VERSION_V1 && |