netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC -next 0/2] sched: red offload and TC stats
@ 2018-01-04 20:18 Jakub Kicinski
  2018-01-04 20:18 ` [RFC -next 1/2] net: sched: add qstats.qlen to qlen Jakub Kicinski
  2018-01-04 20:18 ` [RFC -next 2/2] net: sched: red: don't reset the backlog on every stat dump Jakub Kicinski
  0 siblings, 2 replies; 5+ messages in thread
From: Jakub Kicinski @ 2018-01-04 20:18 UTC (permalink / raw)
  To: john.fastabend, jiri, xiyou.wangcong, Nogah Frankel, Yuval Mintz
  Cc: netdev, oss-drivers, edumazet, Jakub Kicinski

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-01-08 18:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-04 20:18 [RFC -next 0/2] sched: red offload and TC stats Jakub Kicinski
2018-01-04 20:18 ` [RFC -next 1/2] net: sched: add qstats.qlen to qlen Jakub Kicinski
2018-01-04 20:18 ` [RFC -next 2/2] net: sched: red: don't reset the backlog on every stat dump Jakub Kicinski
2018-01-08  9:18   ` Nogah Frankel
2018-01-08 18:23     ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).