From: David Miller <davem@davemloft.net>
To: krkumar2@in.ibm.com
Cc: jarkao2@gmail.com, netdev@vger.kernel.org,
herbert@gondor.apana.org.au, kaber@trash.net
Subject: Re: [PATCH ver2] Avoid enqueuing skb for default qdiscs
Date: Thu, 06 Aug 2009 13:41:26 -0700 (PDT) [thread overview]
Message-ID: <20090806.134126.58668200.davem@davemloft.net> (raw)
In-Reply-To: <20090806114421.19208.39374.sendpatchset@localhost.localdomain>
From: Krishna Kumar <krkumar2@in.ibm.com>
Date: Thu, 06 Aug 2009 17:14:21 +0530
> -
> static inline int dev_requeue_skb(struct sk_buff *skb, struct Qdisc *q)
> {
> q->gso_skb = skb;
> q->qstats.requeues++;
> + q->q.qlen++; /* it's still part of the queue */
> __netif_schedule(q);
>
> return 0;
I'm dubious about this new qlen accounting scheme, does it handle
the non-bypass case properly? Can you explain how it works
exactly?
next prev parent reply other threads:[~2009-08-06 20:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-06 11:44 [PATCH ver2] Avoid enqueuing skb for default qdiscs Krishna Kumar
2009-08-06 20:41 ` David Miller [this message]
2009-08-07 2:56 ` Krishna Kumar2
2009-08-07 3:08 ` David Miller
2009-08-06 20:49 ` Stephen Hemminger
2009-08-07 3:01 ` Krishna Kumar2
2010-02-01 9:52 ` Maxime Bizon
2010-02-01 13:42 ` Krishna Kumar2
2010-02-01 14:16 ` Maxime Bizon
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=20090806.134126.58668200.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=jarkao2@gmail.com \
--cc=kaber@trash.net \
--cc=krkumar2@in.ibm.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).