netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@linux-foundation.org>
To: "Петухов Дмитрий" <d.petuhov@electro-com.ru>
Cc: netdev@vger.kernel.org
Subject: Re: Iproute2 tc pfifo_fast not work
Date: Thu, 4 Mar 2010 08:40:16 -0800	[thread overview]
Message-ID: <20100304084016.052a7044@nehalam> (raw)
In-Reply-To: <4B8F7537.7090008@electro-com.ru>

On Thu, 04 Mar 2010 11:54:15 +0300
Петухов Дмитрий <d.petuhov@electro-com.ru> wrote:

> Hi Stephen.
> 
> I've found that I can't add pfifo_fast qdisc to my tc class tree. It 
> just says:
> -----------
> # /sbin/tc qdisc add dev eth3 parent 2:299B handle 299B: pfifo_fast
> qdisc 'pfifo_fast' does not support option parsing
> -----------
> And nothing else happends.
> strace /sbin/tc qdisc add dev eth3 parent 2:299B handle 299B: pfifo_fast 
> &> tc_pfifo_strace.txt
> attached.
> 
> Kernel version 2.6.31, .config attached.
> tc version 2.6.31.
> 
> I do something wrong or this is a bug?
no

> For now I've switched to PRIO QDISC which seems to work fine, but it 
> would be great to use lithweigth pfifo_fast instead of prio...

pfifo_fast is very limited to being just a root qdisc, and with no
children.  If you want to do the same thing but in other context
just use pfifo.



      reply	other threads:[~2010-03-04 16:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-04  8:54 Iproute2 tc pfifo_fast not work Петухов Дмитрий
2010-03-04 16:40 ` Stephen Hemminger [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=20100304084016.052a7044@nehalam \
    --to=shemminger@linux-foundation.org \
    --cc=d.petuhov@electro-com.ru \
    --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).