On Wed, May 25, 2005 at 01:51:41AM +0000, Alexey Toptygin wrote:
> On Wed, 25 May 2005, Robert Siemer wrote:
> 
> >Second a "tc filter add" can get translated to a bunch of "low level"
> >filter rules. E.g. a human readable u32 filter ends up as 3 rules
> >forming a little hash table network.
> 
> Where is this documented?

Nowhere.

> How should one interpret the multiple "low level" entries correctly?

You need to know the u32 filter syntax for "advanced" filtering rules.
Than you'll recognise some keywords which show up on "tc filter ls".

It should be possible to add directly the hardcore versions of the u32
filters...

I don't know about other filters.

> Any idea why I was having a problem recreating 
> the filter after deleting it, until I deleted and recreated the parent 
> qdisc?

Probably a kernel bug.

> >>Finally, when using netem `tc qdisc ls` always shows a duplicate value of
> >>around %75, even when I don't set it, and setting the duplicate value 
> >>seems
> >>to have no effect. Is this a header mismatch between the kernel and
> >>userland?
> >
> >Don't understand that question. Show us the "tc qdisc ls" output...
> 
> # tc qdisc add dev eth0 root handle 1: netem
> # tc qdisc ls
> qdisc netem 1: dev eth0 limit 1000 duplicate 76.388%
> # tc qdisc del dev eth0 root
> # tc qdisc add dev eth0 root handle 1: netem duplicate 10%
> # tc qdisc ls
> qdisc netem 1: dev eth0 limit 1000 duplicate 76.6335%


Old software?

panorama:/home/siemer# tc qdisc add dev eth0 root handle 1: netem
panorama:/home/siemer# tc qdisc show dev eth0
qdisc netem 1: limit 1000
panorama:/home/siemer# tc qdisc change dev eth0 handle 1: netem
duplicate 1%
panorama:/home/siemer# tc qdisc show dev eth0
qdisc netem 1: limit 1000 duplicate 1%
panorama:/home/siemer# 


Bye,
        Robert
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Reply via email to