diff options
author | Vladimir Oltean <[email protected]> | 2021-01-15 04:11:13 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-01-15 20:02:34 -0800 |
commit | 2a6ef763037238a5aa6a6505fc6693ee77c1a59b (patch) | |
tree | 8be66927ee9649d2136330eccbb507306ba069d3 /tools/perf/scripts/python/syscall-counts.py | |
parent | 703b762190e643bf46a048ebe99504b14d71449c (diff) |
net: dsa: add ops for devlink-sb
Switches that care about QoS might have hardware support for reserving
buffer pools for individual ports or traffic classes, and configuring
their sizes and thresholds. Through devlink-sb (shared buffers), this is
all configurable, as well as their occupancy being viewable.
Add the plumbing in DSA for these operations.
Individual drivers still need to call devlink_sb_register() with the
shared buffers they want to expose. A helper was not created in DSA for
this purpose (unlike, say, dsa_devlink_params_register), since in my
opinion it does not bring any benefit over plainly calling
devlink_sb_register() directly.
Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions