All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Furniss <adf.lists@gmail.com>
To: lartc@vger.kernel.org
Subject: Re: tc filter show dev xxx doesn't output anything
Date: Tue, 27 May 2014 14:39:53 +0000	[thread overview]
Message-ID: <5384A3B9.6050002@gmail.com> (raw)
In-Reply-To: <CAFPNf5_zesjVjWepE2xE1d1vs2gExixyN7-A_SDXqWyO_Hvh+w@mail.gmail.com>

Lee Brown wrote:
> Hi,
>
> I've only played around with filters before, but I seem to remember
> that 'tc filter show dev eth0' used to display all the filters.  Now
> there is no output at all.  I moved from Centos5 (2.6.18) to 6
> (2.6.32) so I've no clue where this was introduced.  Same happens on
> slackware 14.1 (3.10.17) there's no output.
>
> Is the new behaviour intentional?

I doubt it - of course you don't say what the filters are or what qdisc 
they are attached to.

On a box which is not used for tc stuff - current kernel + probably year 
old tc.

tc qdisc add dev eth0 root handle 1:0 prio
tc filter add dev eth0 parent 1:0 u32 match u32 0 0 flowid 1:1
tc filter show dev eth0
filter parent 1: protocol all pref 49152 u32
filter parent 1: protocol all pref 49152 u32 fh 800: ht divisor 1
filter parent 1: protocol all pref 49152 u32 fh 800::800 order 2048 key 
ht 800 bkt 0 flowid 1:1
   match 00000000/00000000 at 0


      parent reply	other threads:[~2014-05-27 14:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-23 22:56 tc filter show dev xxx doesn't output anything Lee Brown
2014-05-27 13:32 ` Benjamin Kiessling
2014-05-27 14:39 ` Andy Furniss [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=5384A3B9.6050002@gmail.com \
    --to=adf.lists@gmail.com \
    --cc=lartc@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.