net/mlx5e: Specify SQ stats struct for mlx5e_open_txqsq()
Let the caller of mlx5e_open_txqsq() directly pass the SQ stats structure pointer. This replaces logic involving the qos_queue_group_id parameter, and helps generalizing its role in the next patch. Signed-off-by:Tariq Toukan <tariqt@nvidia.com> Reviewed-by:
Maxim Mikityanskiy <maximmi@nvidia.com> Signed-off-by:
Saeed Mahameed <saeedm@nvidia.com>
Showing
- drivers/net/ethernet/mellanox/mlx5/core/en.h 2 additions, 1 deletiondrivers/net/ethernet/mellanox/mlx5/core/en.h
- drivers/net/ethernet/mellanox/mlx5/core/en/qos.c 2 additions, 1 deletiondrivers/net/ethernet/mellanox/mlx5/core/en/qos.c
- drivers/net/ethernet/mellanox/mlx5/core/en_main.c 5 additions, 6 deletionsdrivers/net/ethernet/mellanox/mlx5/core/en_main.c
Loading
Please register or sign in to comment