RE: TC show filter command shows all u32 filters defined with different priority iin all priority.

Linux Advanced Routing and Traffic Control

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

 



Hi Andy,
Thanks for the reply.
I am currently using Linux kernel 2.4.29.

-bash-2.05b# tc filter ls
-bash-2.05b# tc -V
tc utility, iproute2-ss041019
-bash-2.05b# uname -r
2.4.29

I am seeing this problem in this kernel.
Should I change the kernel or else should I change the iproute2 to a
newer version.
Thanks
Swami

-----Original Message-----
From: Andy Furniss [mailto:andy.furniss@xxxxxxxxxxxxx] 
Sent: Monday, October 17, 2005 3:31 PM
To: Vasudevan, Swaminathan (PNB Roseville)
Cc: lartc@xxxxxxxxxxxxxxx
Subject: Re:  TC show filter command shows all u32 filters
defined with different priority iin all priority.


Vasudevan, Swaminathan (PNB Roseville) wrote:

> When I try to include u32 filters with different priority or pref, I 
> could see the filters being set on all the priority's irrespective of 
> the priority number.

Your script is OK for me. I always put "tc qdisc del dev ethX root" at 
the  beginning of scripts  - maybe you reran yours without cleaning up 
first.

[root@amd /home/andy/Qos]# uname -r
2.6.12-rc1
[root@amd /home/andy/Qos]# tc -V
tc utility, iproute2-ss050330
[root@amd /home/andy/Qos]# tc filter show dev eth0 parent 13E: filter
protocol ip pref 1 u32 filter protocol ip pref 1 u32 fh 800: ht divisor
1 filter protocol ip pref 1 u32 fh 800::800 order 2048 key ht 800 bkt 0 
flowid 13e:2
   match 00010000/00ff0000 at 8
filter protocol ip pref 1 u32 fh 800::801 order 2049 key ht 800 bkt 0 
flowid 13e:1
   match 00060000/00ff0000 at 8
filter protocol ip pref 2 u32
filter protocol ip pref 2 u32 fh 801: ht divisor 1
filter protocol ip pref 2 u32 fh 801::800 order 2048 key ht 801 bkt 0 
flowid 13e:2
   match 00020000/00ff0000 at 8

Andy.

_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


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