summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorCosmin Ratiu <cratiu@nvidia.com>2024-10-08 21:32:15 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-10-10 14:11:59 +0300
commite9fa32f110867655eb396cef1f35b66278e53051 (patch)
treee1cc971d89c1a91e7e6a617406cd7782c8c421fe /tools/perf/scripts/python
parenta87a561b802a45d37bc34e5a8e4f57a213ea713f (diff)
downloadlinux-e9fa32f110867655eb396cef1f35b66278e53051.tar.xz
net/mlx5: qos: Drop 'esw' param from vport qos functions
The vport has a pointer to its own eswitch in vport->dev->priv.eswitch, so passing the same eswitch as a parameter to the various functions manipulating vport qos is superfluous at best and prone to errors at worst. More importantly, with the upcoming cross-esw scheduling changes, the eswitch that should receive the various scheduling element commands is NOT the same as the vport's eswitch, so the current code's assumptions will break. To avoid confusion and bugs, this commit drops the 'esw' parameter from all vport qos functions and uses the vport's own eswitch pointer instead. Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com> Reviewed-by: Carolina Jubran <cjubran@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions