[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180111053849.14250-1-jakub.kicinski@netronome.com>
Date: Wed, 10 Jan 2018 21:38:47 -0800
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: davem@...emloft.net, jiri@...nulli.us,
Nogah Frankel <nogahf@...lanox.com>
Cc: netdev@...r.kernel.org, oss-drivers@...ronome.com,
john.fastabend@...il.com, xiyou.wangcong@...il.com,
edumazet@...gle.com, Yuval Mintz <yuvalm@...lanox.com>,
Jakub Kicinski <jakub.kicinski@...ronome.com>
Subject: [PATCH net-next 0/2] sched: improve behaviour of offloaded RED stats
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
Powered by blists - more mailing lists