Hi!

This set attempts to improve the kernel API for TC qdisc offloads.
The cumulative stats are handled nicely today, but the momentary
stats like backlog and qlen are behaving a little less cleanly.

v1:
 - reset the stats on destroy (incl. replace with unsupported params).

Jakub Kicinski (2):
  net: sched: add qstats.qlen to qlen
  net: sched: red: don't reset the backlog on every stat dump

 .../net/ethernet/mellanox/mlxsw/spectrum_qdisc.c   | 35 ++++++++++++++--------
 include/net/pkt_cls.h                              |  5 +++-
 include/net/sch_generic.h                          |  4 +--
 net/sched/sch_red.c                                |  3 +-
 4 files changed, 31 insertions(+), 16 deletions(-)

-- 
2.15.1

Reply via email to