mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 14:58:10 +07:00
net/mlx5e: RX, Use existing WQ local variable
Local variable 'wq' already points to &sq->wq, use it. Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
This commit is contained in:
parent
ca11b79899
commit
c400028371
@ -487,7 +487,7 @@ static int mlx5e_alloc_rx_mpwqe(struct mlx5e_rq *rq, u16 ix)
|
|||||||
|
|
||||||
sq->db.ico_wqe[pi].opcode = MLX5_OPCODE_UMR;
|
sq->db.ico_wqe[pi].opcode = MLX5_OPCODE_UMR;
|
||||||
sq->pc += MLX5E_UMR_WQEBBS;
|
sq->pc += MLX5E_UMR_WQEBBS;
|
||||||
mlx5e_notify_hw(&sq->wq, sq->pc, sq->uar_map, &umr_wqe->ctrl);
|
mlx5e_notify_hw(wq, sq->pc, sq->uar_map, &umr_wqe->ctrl);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user