net/mlx5e: HTB, remove priv from htb function calls
authorMoshe Tal <moshet@nvidia.com>
Tue, 5 Apr 2022 01:34:00 +0000 (04:34 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 19 Jul 2022 20:32:52 +0000 (13:32 -0700)
commit28df4a0117e2f54fb3d9307a8c725efd19e8a653
tree96fb34889f0984bd4e124676eda8c3b9a39bac64
parentaaffda6b36686a368d6569df3f92acfc7fc0fcd8
net/mlx5e: HTB, remove priv from htb function calls

As a step to make htb self-contained replace the passing of priv as a
parameter to htb function calls with members in the htb struct.

Full decoupling the htb from priv will require more work, so for now
leave the priv as one of the members in the htb struct, to be replaced
by channels in a future commit.

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/qos.c
drivers/net/ethernet/mellanox/mlx5/core/en/qos.h
drivers/net/ethernet/mellanox/mlx5/core/en/selq.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c