From: Cong Wang <xiyou.wangcong@gmail.com>
To: netdev@vger.kernel.org
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Subject: [Patch net-next 0/4] net_sched: update backlog for hierarchical qdisc's
Date: Mon, 12 Oct 2015 11:37:59 -0700 [thread overview]
Message-ID: <1444675083-9825-1-git-send-email-xiyou.wangcong@gmail.com> (raw)
For hierarchical qdisc like HTB, we currently only update its qlen
but leave its backlog as zero, it is really odd to see:
qdisc htb 1: dev eth0 root refcnt 2 r2q 10 default 1 direct_packets_stat 0 ver 3.17
Sent 172680457356 bytes 222469449 pkt (dropped 0, overlimits 123575834 requeues 0)
backlog 0b 72p requeues 0
This patchset makes backlog as accurate as qlen.
Cong Wang (4):
net_sched: introduce qdisc_replace() helper
net_sched: update hierarchical backlog too
sch_htb: update backlog as well
sch_dsmark: update backlog as well
include/net/codel.h | 4 ++++
include/net/sch_generic.h | 20 +++++++++++++++++++-
net/sched/sch_api.c | 6 ++++--
net/sched/sch_cbq.c | 12 ++++--------
net/sched/sch_choke.c | 6 ++++--
net/sched/sch_codel.c | 10 ++++++----
net/sched/sch_drr.c | 9 +++------
net/sched/sch_dsmark.c | 11 ++++-------
net/sched/sch_fq.c | 4 +++-
net/sched/sch_fq_codel.c | 17 ++++++++++++-----
net/sched/sch_hfsc.c | 9 +++------
net/sched/sch_hhf.c | 10 +++++++---
net/sched/sch_htb.c | 24 +++++++++++-------------
net/sched/sch_multiq.c | 16 ++++++----------
net/sched/sch_netem.c | 13 +++----------
net/sched/sch_pie.c | 5 +++--
net/sched/sch_prio.c | 15 +++++----------
net/sched/sch_qfq.c | 9 +++------
net/sched/sch_red.c | 10 +++-------
net/sched/sch_sfb.c | 10 +++-------
net/sched/sch_sfq.c | 16 +++++++++-------
net/sched/sch_tbf.c | 15 ++++++---------
22 files changed, 125 insertions(+), 126 deletions(-)
--
1.8.3.1
next reply other threads:[~2015-10-12 18:38 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-12 18:37 Cong Wang [this message]
2015-10-12 18:38 ` [Patch net-next 1/4] net_sched: introduce qdisc_replace() helper Cong Wang
2015-10-14 1:54 ` David Miller
2015-10-15 4:13 ` Cong Wang
2015-10-14 11:56 ` Jamal Hadi Salim
2015-10-15 4:15 ` Cong Wang
2015-10-16 11:51 ` Jamal Hadi Salim
2015-10-12 18:38 ` [Patch net-next 2/4] net_sched: update hierarchical backlog too Cong Wang
2015-10-14 12:11 ` Jamal Hadi Salim
2015-10-15 4:32 ` Cong Wang
2015-10-16 12:22 ` Jamal Hadi Salim
2015-10-12 18:38 ` [Patch net-next 3/4] sch_htb: update backlog as well Cong Wang
2015-10-14 12:25 ` Jamal Hadi Salim
2015-10-15 4:21 ` Cong Wang
2015-10-16 12:19 ` Jamal Hadi Salim
2015-10-19 20:46 ` Cong Wang
2015-10-12 18:38 ` [Patch net-next 4/4] sch_dsmark: " Cong Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1444675083-9825-1-git-send-email-xiyou.wangcong@gmail.com \
--to=xiyou.wangcong@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).