diff options
author | Petr Machata <petrm@mellanox.com> | 2020-01-24 15:23:09 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-25 10:56:31 +0100 |
commit | be1d5a8a7728cc734fc31b837796e7addc4ba832 (patch) | |
tree | 51431676f7d2f1e616f63dcc5f1bcb652ccddb42 /net/ceph | |
parent | 3d0d592193dce954bf5ccac5128080830dd8e982 (diff) | |
download | linux-be1d5a8a7728cc734fc31b837796e7addc4ba832.tar.bz2 |
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 <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ceph')
0 files changed, 0 insertions, 0 deletions