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)
commitdb83f24d89e614d224eb346e0cfdcc209993dea3
tree14a481c53ab8cd1550ac2375d55ab7ca17b4b300
parent66d95936488ca1716ef55f8837616e4ff7b7de99
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