net/mlx5e: Pass q_counter indentifier as parameter to rq_param builders
Pass q_counter idintifier, instead of reading it from mlx5e_priv parameter. This is a step towards removing the mlx5e_priv parameter from all params function and logic in the next patches of the series. Signed-off-by:Tariq Toukan <tariqt@nvidia.com> Reviewed-by:
Aya Levin <ayal@nvidia.com> Signed-off-by:
Saeed Mahameed <saeedm@nvidia.com>
Showing
- drivers/net/ethernet/mellanox/mlx5/core/en/params.h 1 addition, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/en/params.h
- drivers/net/ethernet/mellanox/mlx5/core/en/trap.c 1 addition, 1 deletiondrivers/net/ethernet/mellanox/mlx5/core/en/trap.c
- drivers/net/ethernet/mellanox/mlx5/core/en/xsk/setup.c 1 addition, 1 deletiondrivers/net/ethernet/mellanox/mlx5/core/en/xsk/setup.c
- drivers/net/ethernet/mellanox/mlx5/core/en_main.c 8 additions, 5 deletionsdrivers/net/ethernet/mellanox/mlx5/core/en_main.c
Loading
Please register or sign in to comment