From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mihai RUSU Date: Mon, 08 Apr 2002 14:55:33 +0000 Subject: [LARTC] prio/pref weirdness Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hi I am playing with filters and cbq/htb and I have found this strange thing. Add some filters using the prio/pref (they seem an alias to me) parameter like: tc filter add dev eth0 protocol ip parent 1: pref 5 u32 match ip dst 1.2.3.4 tc filter add dev eth0 protocol ip parent 1: pref 10 u32 match ip dst 2.3.4.5 And try tc filter show dev eth0, you will see that every filter you have is multiplied by the number of different prio/pref values you have used. Thus it looks like you would do this: tc filter add dev eth0 protocol ip parent 1: pref 5 u32 match ip dst 1.2.3.4 tc filter add dev eth0 protocol ip parent 1: pref 5 u32 match ip dst 2.3.4.5 tc filter add dev eth0 protocol ip parent 1: pref 10 u32 match ip dst 1.2.3.4 tc filter add dev eth0 protocol ip parent 1: pref 10 u32 match ip dst 2.3.4.5 Why is that? Is it a tc bug? Or is it normal? What it happens if I use filters of different pref/prio ? In which order are they checked ? Thanks ---------------------------- Mihai RUSU Disclaimer: Any views or opinions presented within this e-mail are solely those of the author and do not necessarily represent those of any company, unless otherwise specifically stated. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/