[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180104201851.6455-1-jakub.kicinski@netronome.com>
Date: Thu, 4 Jan 2018 12:18:49 -0800
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: john.fastabend@...il.com, jiri@...nulli.us,
xiyou.wangcong@...il.com, Nogah Frankel <nogahf@...lanox.com>,
Yuval Mintz <yuvalm@...lanox.com>
Cc: netdev@...r.kernel.org, oss-drivers@...ronome.com,
edumazet@...gle.com, Jakub Kicinski <jakub.kicinski@...ronome.com>
Subject: [RFC -next 0/2] sched: red offload and TC stats
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
Powered by blists - more mailing lists