diff options
author | Petr Machata <petrm@mellanox.com> | 2020-01-24 15:23:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-25 10:56:31 +0100 |
commit | 3d0d592193dce954bf5ccac5128080830dd8e982 (patch) | |
tree | cfdd19112dae3e73f2e8031982f3b46cb44a4cd8 /COPYING | |
parent | cf9af379cd672d6873ae97ec416148708c6575e9 (diff) | |
download | linux-3d0d592193dce954bf5ccac5128080830dd8e982.tar.bz2 |
mlxsw: spectrum_qdisc: Add mlxsw_sp_qdisc_get_class_stats()
Add a wrapper around mlxsw_sp_qdisc_collect_tc_stats() and
mlxsw_sp_qdisc_update_stats() for the simple case of doing both in one go:
mlxsw_sp_qdisc_get_class_stats(). Dispatch to that function from
mlxsw_sp_qdisc_get_red_stats(). This new function will be useful for other
leaf Qdiscs as well.
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 'COPYING')
0 files changed, 0 insertions, 0 deletions