netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: kyeong.yoo@alliedtelesis.co.nz
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net-next v3] net_sched: dsmark: use qdisc_dequeue_peeked()
Date: Tue, 08 Mar 2016 14:36:12 -0500 (EST)	[thread overview]
Message-ID: <20160308.143612.780302416140653742.davem@davemloft.net> (raw)
In-Reply-To: <20160307040735.17574.71568.stgit@kyeongy-dl>

From: Kyeong Yoo <kyeong.yoo@alliedtelesis.co.nz>
Date: Mon, 07 Mar 2016 17:07:57 +1300

> This fix is for dsmark similar to commit 3557619f0f6f7496ed453d4825e249
> ("net_sched: prio: use qdisc_dequeue_peeked")
> and makes use of qdisc_dequeue_peeked() instead of direct dequeue() call.
> 
> First time, wrr peeks dsmark, which will then peek into sfq.
> sfq dequeues an skb and it's stored in sch->gso_skb.
> Next time, wrr tries to dequeue from dsmark, which will call sfq dequeue
> directly. This results skipping the previously peeked skb.
> 
> So changed dsmark dequeue to call qdisc_dequeue_peeked() instead to use
> peeked skb if exists.
> 
> Signed-off-by: Kyeong Yoo <kyeong.yoo@alliedtelesis.co.nz>

Applied, thank you.

      reply	other threads:[~2016-03-08 19:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-07  4:07 [PATCH net-next v3] net_sched: dsmark: use qdisc_dequeue_peeked() Kyeong Yoo
2016-03-08 19:36 ` David Miller [this message]

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=20160308.143612.780302416140653742.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=kyeong.yoo@alliedtelesis.co.nz \
    --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).