diff options
author | Colin Ian King <[email protected]> | 2020-05-14 19:33:02 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-05-14 18:02:02 -0700 |
commit | b014d0430bcfae581d07d2e90a939b0af783d3a9 (patch) | |
tree | d16a4680d0641773760eda46f96625de793284e9 /tools/perf/scripts/python | |
parent | 140ad6c8c6c7a89546cdcbc46da6cd56011cfee1 (diff) |
net: dsa: felix: fix incorrect clamp calculation for burst
Currently burst is clamping on rate and not burst, the assignment
of burst from the clamping discards the previous assignment of burst.
This looks like a cut-n-paste error from the previous clamping
calculation on ramp. Fix this by replacing ramp with burst.
Addresses-Coverity: ("Unused value")
Fixes: 0fbabf875d18 ("net: dsa: felix: add support Credit Based Shaper(CBS) for hardware offload")
Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Vladimir Oltean <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions