Hi!

I've been playing with TC qdisc offloads.  I came to a little snag
with the momentary stats (qlen and backlog).  It seems there is a
little bit of legacy magic around the backlog while qlen needs
changes to be reported.

I would appreciate any comments and guidance.

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

 drivers/net/ethernet/mellanox/mlxsw/spectrum.h       | 1 +
 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c | 9 +++++++--
 include/net/sch_generic.h                            | 4 ++--
 net/sched/sch_red.c                                  | 1 -
 4 files changed, 10 insertions(+), 5 deletions(-)

-- 
2.15.1

Reply via email to