aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2020-09-16 09:35:23 +0300
committerDavid S. Miller <[email protected]>2020-09-16 15:19:30 -0700
commit7ace2c36aa8e797a4e163fda1f46433a86799b37 (patch)
tree10e1ac3cc4cc46c757639b34d10ab90ad40d62db /tools/perf/scripts/python
parente9c97e0ece6b89cfe1cb33f171c62917522c4ce3 (diff)
mlxsw: spectrum: Move here the three-step headroom configuration from DCB
The ETS handler performs the headroom configuration in three steps: first it resizes the buffers and adds any new ones. Then it redirects priorities to the new buffers. And finally it sets the size of the now-unused buffers to zero. This way no packet drops are introduced. This sort of careful approach will also be useful for configuring port buffer sizes and priority map by hand, through dcbnl_setbuffer. Therefore move the code from the DCB handler to the generic headroom function. Signed-off-by: Petr Machata <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions