netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: almaop@poczta.fm
Cc: David Miller <davem@davemloft.net>,
	linux-net@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: New filter 'flow' bug?
Date: Wed, 29 Oct 2008 09:15:33 +0100	[thread overview]
Message-ID: <49081BA5.5070401@trash.net> (raw)
In-Reply-To: <20081029.003713.193704291.davem@davemloft.net>

> From: almaop@poczta.fm
> Date: 29 Oct 2008 08:27:05 +0100
>> My configuration: gentoo, kernel 2.6.26.7 + imq patch + l7 patch, glibc 2.7, iproute2 2.6.26. Shaping is done on ethernet (e1000 card) but as I see on the ifb nothing changes.
>> There are htb 3 classes with sfq as their qdiscs. It is simple, something like:
>>
>> tc qdisc add dev $DEV root handle 1: htb default 4 tc class add dev $DEV parent 1: classid 1:1 htb rate 78kbps ceil 78kbps overhead 0 linklayer atm
>>
>> tc class add dev $DEV parent 1:1 classid 1:2 htb rate 20kbps ceil 20kbps overhead 0 linklayer atm prio 3
>> tc class add dev $DEV parent 1:1 classid 1:3 ...
>> tc class add dev $DEV parent 1:1 classid 1:4 ...
>>  
>> tc qdisc add dev $DEV parent 1:2 handle 2: sfq quantum 64
>> tc qdisc add dev $DEV parent 1:3 handle 3: sfq
>> tc qdisc add dev $DEV parent 1:4 handle 4: sfq
>>
>> tc filter add dev $DEV parent 1: ....
>> ....
>>  
>> tc filter add dev $DEV parent 2: protocol ip handle 1 prio 12 flow \
>> hash keys dst,proto,proto-dst divisor 128
>>
>> tc filter add dev $DEV parent 3: protocol ip handle 1 prio 12 flow \
>> hash keys dst,proto,proto-dst divisor 128
>>
>> tc filter add dev $DEV parent 4: protocol ip handle 1 prio 12 flow \
>> hash keys nfct-src,nfct-dst,proto,nfct-proto-src,nfct-proto-dst divisor 128
>>
>> I'm not sure where is the bug - in the flow filter or in the sfq qdisc.

Which SFQ qdisc is stalling?

  reply	other threads:[~2008-10-29  8:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20081029072705.376AC1E3087@f03.poczta.interia.pl>
2008-10-29  7:37 ` New filter 'flow' bug? David Miller
2008-10-29  8:15   ` Patrick McHardy [this message]
2008-10-29 14:09 almaop
2008-10-29 16:46 ` Patrick McHardy
  -- strict thread matches above, loose matches on Subject: below --
2008-10-30  9:39 almaop
2008-11-03 12:02 ` Patrick McHardy
2008-11-05 13:29 almaop

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=49081BA5.5070401@trash.net \
    --to=kaber@trash.net \
    --cc=almaop@poczta.fm \
    --cc=davem@davemloft.net \
    --cc=linux-net@vger.kernel.org \
    --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).