diff options
author | Dmytro Linkin <[email protected]> | 2021-09-21 18:45:42 +0300 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2021-11-16 20:31:52 -0800 |
commit | d7df09f5e7b46af0eb927c065113faa57411d100 (patch) | |
tree | b146edd0e1dd123307ea33c26d157e37f7e26172 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | e9d491a64755d11812b532fcf10b93b2f9535e45 (diff) |
net/mlx5: E-switch, Enable vport QoS on demand
Vports' QoS is not commonly used but consume SW/HW resources, which
becomes an issue on BlueField SoC systems.
Don't enable QoS on vports by default on eswitch mode change and enable
when it's going to be used by one of the top level users:
- configuring TC matchall filter with police action;
- setting rate with legacy NDO API;
- calling devlink ops->rate_leaf_*() callbacks.
Disable vport QoS on vport cleanup.
Signed-off-by: Dmytro Linkin <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Reviewed-by: Mark Bloch <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions