]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: HTB, move stats and max_sqs to priv
authorMoshe Tal <moshet@nvidia.com>
Wed, 16 Mar 2022 09:40:09 +0000 (11:40 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 19 Jul 2022 20:32:51 +0000 (13:32 -0700)
commit06df3538124ff2c59f203c43aca994dc0c4c4b79
tree14a481c53ab8cd1550ac2375d55ab7ca17b4b300
parent220cfc69644e806d84f1086bed4766dee391e2f3
net/mlx5e: HTB, move stats and max_sqs to priv

Preparation for dynamic allocation of the HTB struct.
The statistics should be preserved even when the struct is de-allocated.

Signed-off-by: Moshe Tal <moshet@nvidia.com>
Reviewed-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
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c