Re: adding filter to non-root qdisc does not work

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Di 07.08.2012, 19:41:21 schrieb Andy Furniss:

> In your examples -
> 
> tc filter show dev eth1
> 
> needs parent XXXX on the end to show filters below root (use tc -s ....
> to see counters to confirm it gets traffic).

That's it, thanks. Thus I think the documentation is in error. The man page 
(openSUSE 12.1) gives

tc [ FORMAT ] qdisc show [ dev DEV ]
tc [ FORMAT ] class show dev DEV
tc filter show dev DEV

as the only synopsis. So there are at least two errors: The -s option is 
missing, too.


> IIRC the filter for prio needs adding to 1:11.

No, according to my test it works in the qdisc only. It seems to me that 
filters cannot move a packet to a different qdisc but to classes within the 
current qdisc only.


Hauke
-- 
PGP: D44C 6A5B 71B0 427C CED3 025C BD7D 6D27 ECCB 5814
--
To unsubscribe from this list: send the line "unsubscribe lartc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux