[PATCH net-next v3] net_sched: dsmark: use qdisc_dequeue_peeked()

2016-03-06 Thread Kyeong Yoo
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 --- net/sched/s

Re: [net-next PATCH v2] net_sched: dsmark: use qdisc_dequeue_peeked()

2016-03-06 Thread Kyeong Yoo
I will upload new patch soon. Kyeong On Sun, 2016-03-06 at 22:49 -0500, David Miller wrote: > From: Kyeong Yoo > Date: Thu, 3 Mar 2016 10:25:19 + ... > Your patch is corrupted by your email client, it has MS-DOS style > newlines, etc.

[net-next PATCH v2] net_sched: dsmark: use qdisc_dequeue_peeked()

2016-03-03 Thread Kyeong Yoo
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 diff --git a/net/

Re: net_sched: dsmark: use qdisc_dequeue_peeked()

2016-03-02 Thread Kyeong Yoo
Author: Kyeong Yoo net_sched: dsmark: use qdisc_dequeue_peeked() 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 dsm

net_sched: dsmark: use qdisc_dequeue_peeked()

2016-03-01 Thread Kyeong Yoo
eked skb still exists. Signed-off-by: Kyeong Yoo diff --git a/net/sched/sch_dsmark.c b/net/sched/sch_dsmark.c index f357f34..8fa3a4f 100644 --- a/net/sched/sch_dsmark.c +++ b/net/sched/sch_dsmark.c @@ -281,7 +281,7 @@ static struct sk_buff *dsmark_dequeue(struct Qdisc *sch) pr_debug(&q