]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx5: qos: Rename vport 'tsar' into 'sched_elem'.
authorCosmin Ratiu <cratiu@nvidia.com>
Tue, 8 Oct 2024 18:32:10 +0000 (21:32 +0300)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 10 Oct 2024 11:11:59 +0000 (13:11 +0200)
commit158205ca4bafa98deeee977bb5de20de7d573285
tree1d63653065c7648f042bf17ba5894e9d26b17eb5
parent016f426a14f09faa8bdb68b063c2947edf3108a1
net/mlx5: qos: Rename vport 'tsar' into 'sched_elem'.

Vports do not use TSARs (Transmit Scheduling ARbiters), which are used
for grouping multiple entities together. Use the correct name in
variables and functions for clarity.
Also move the scheduling context to a local variable in the
esw_qos_sched_elem_config function instead of an empty parameter that
needs to be provided by all callers.
There is no functional change here.

Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h
drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h