aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2020-01-24 15:23:09 +0200
committerDavid S. Miller <[email protected]>2020-01-25 10:56:31 +0100
commitbe1d5a8a7728cc734fc31b837796e7addc4ba832 (patch)
tree51431676f7d2f1e616f63dcc5f1bcb652ccddb42 /scripts/bpf_helpers_doc.py
parent3d0d592193dce954bf5ccac5128080830dd8e982 (diff)
mlxsw: spectrum_qdisc: Extract a common leaf unoffload function
When the RED Qdisc is unoffloaded, it needs to reduce the reported backlog by the amount that is in the HW, so that only the SW backlog is contained in the counter. The same thing will need to be done by TBF, and likely any other leaf Qdisc as well. Extract a helper mlxsw_sp_qdisc_leaf_unoffload() and call it from mlxsw_sp_qdisc_red_unoffload(). Signed-off-by: Petr Machata <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Acked-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions