diff options
author | Eli Cohen | 2017-01-03 22:55:25 +0100 |
---|---|---|
committer | Saeed Mahameed | 2017-01-09 19:25:08 +0100 |
commit | 5fe9dec0d045437e48f112b8fa705197bd7bc3c0 (patch) | |
tree | 0c5c1332f6d6038e21165cd39317c41bb5b34657 /drivers/net/ethernet/mellanox/mlx5/core/en.h | |
parent | net/mlx5: Add interface to get reference to a UAR (diff) | |
download | kernel-qcow2-linux-5fe9dec0d045437e48f112b8fa705197bd7bc3c0.tar.gz kernel-qcow2-linux-5fe9dec0d045437e48f112b8fa705197bd7bc3c0.tar.xz kernel-qcow2-linux-5fe9dec0d045437e48f112b8fa705197bd7bc3c0.zip |
IB/mlx5: Use blue flame register allocator in mlx5_ib
Make use of the blue flame registers allocator at mlx5_ib. Since blue
flame was not really supported we remove all the code that is related to
blue flame and we let all consumers to use the same blue flame register.
Once blue flame is supported we will add the code. As part of this patch
we also move the definition of struct mlx5_bf to mlx5_ib.h as it is only
used by mlx5_ib.
Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/en.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en.h b/drivers/net/ethernet/mellanox/mlx5/core/en.h index 951dbd58594d..3037631570b1 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/en.h @@ -832,7 +832,7 @@ static inline void mlx5e_cq_arm(struct mlx5e_cq *cq) struct mlx5_core_cq *mcq; mcq = &cq->mcq; - mlx5_cq_arm(mcq, MLX5_CQ_DB_REQ_NOT, mcq->uar->map, NULL, cq->wq.cc); + mlx5_cq_arm(mcq, MLX5_CQ_DB_REQ_NOT, mcq->uar->map, cq->wq.cc); } static inline u32 mlx5e_get_wqe_mtt_offset(struct mlx5e_rq *rq, u16 wqe_ix) |