diff options
author | Petr Machata <[email protected]> | 2020-01-24 15:23:07 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-01-25 10:56:31 +0100 |
commit | cf9af379cd672d6873ae97ec416148708c6575e9 (patch) | |
tree | 5ab1e2012b44c72fbd258d577ca3a9da48d93617 /drivers/usb/cdns3/cdns3-debug.h | |
parent | ef6aadcc76c97e25f62adc4e9d19684d3e5d0b87 (diff) |
mlxsw: spectrum_qdisc: Extract a per-TC stat function
Extract from mlxsw_sp_qdisc_get_prio_stats() two new functions:
mlxsw_sp_qdisc_collect_tc_stats() to accumulate stats for that one TC only,
and mlxsw_sp_qdisc_update_stats() that makes the stats relative to base
values stored earlier. Use them from mlxsw_sp_qdisc_get_red_stats().
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 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions