From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Thu, 06 Jan 2005 23:23:04 +0000 Subject: Re: [LARTC] [PATCH] mark in u32 Message-Id: <41DDC858.6010908@dsl.pipex.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Thomas Graf wrote: > You don't need bitkeeper, just download the .10 and the latest patch to > get to -bk8 then apply my patches. > > >>tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src >>0.0.0.0/0 police rate 100kbit burst 10k drop flowid :1 >> >>Works OK. >> >>tc filter add dev eth0 parent ffff: protocol 6 prio 1 u32 match ip src >>0.0.0.0/0 police rate 100kbit burst 10k drop flowid :1 > > > Use a different prio, one that is not yet occupied by a protocol/kind > tuple. OK will try. > > CONFIG_NET_CLS_ACT_POLICE? I can't find it! neither can grep .config This could be it. I just deleted everything to do with 2.6.10, booted into 2.6.9 to start again with fresh 2.6.10 source tree. When I do make menuconfig I notice it uses defaults from /boot/config-2.6.9 (I will remove and try again later). So maybe this is why I can't find CONFIG_NET_CLS_ACT_POLICE ? >>[andy@amd ~]$ grep NET_CLS /boot/config-2.6.10-3 >>CONFIG_NET_CLS=y >>CONFIG_NET_CLS_TCINDEX=m >>CONFIG_NET_CLS_ROUTE4=m >>CONFIG_NET_CLS_ROUTE=y >>CONFIG_NET_CLS_FW=m >>CONFIG_NET_CLS_U32=m >># CONFIG_NET_CLS_IND is not set >>CONFIG_NET_CLS_RSVP=m >>CONFIG_NET_CLS_RSVP6=m > > > Gonna look at this, do you preload the modules and if not, do you have > the correct modutils version etc? Sorry - don't waste your time - I goofed my bzImage / GRUB naming so I was loading the first one I did all along. Andy. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/