From mboxrd@z Thu Jan 1 00:00:00 1970 From: jamal Date: Fri, 12 Jul 2002 09:57:13 +0000 Subject: Re: [Linux Diffserv] Re: [LARTC] ingress qdisc on kernel 2.2.21 Message-Id: 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 On Fri, 12 Jul 2002, Andrei Boros wrote: > > Couldn't try the same thing under 2.4 because I have no machine with 2.4 > at my disposal. > fair enough. BTW, now that i am actually thinking, another very stupid question -- if you are trying to ingress police, do you have policing compiled in under QoS? double check this. Infact the more i think about the more i believe this may be your problem. > How do I turn on debugging in the ingress code? > If you edit net/sched/sch_ingress.c at the very top you should see: ---------- #undef DEBUG_INGRESS #ifdef DEBUG_INGRESS /* control */ #define DPRINTK(format,args...) printk(KERN_DEBUG format,##args) #else #define DPRINTK(format,args...) #endif #if 0 /* data */ #define D2PRINTK(format,args...) printk(KERN_DEBUG format,##args) #else #define D2PRINTK(format,args...) #endif ----------- convert to: --- #if 1 #define DPRINTK(format,args...) printk(KERN_DEBUG format,##args) #else #define DPRINTK(format,args...) #endif #if 1 /* data */ #define D2PRINTK(format,args...) printk(KERN_DEBUG format,##args) #else #define D2PRINTK(format,args...) #endif ----------- run your tests and look at dmesg. cheers, jamal _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/