]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Specify SQ stats struct for mlx5e_open_txqsq()
authorTariq Toukan <tariqt@nvidia.com>
Wed, 18 Aug 2021 11:17:33 +0000 (14:17 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 5 Oct 2021 01:10:51 +0000 (18:10 -0700)
commita9e210c59c1080f83d574d1552d50954f2212b07
treedad3e195aa2c033a5967e3d1f0ada3cc81156458
parent9e61dad3e4402681c800b4f043889fe02fa5a2e5
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>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en/qos.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c