Received: with ECARTIS (v1.0.0; list netdev); Sat, 09 Oct 2004 09:42:13 -0700 (PDT) Received: from mx02.cybersurf.com (mx02.cybersurf.com [209.197.145.105]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id i99Gg8g5029254 for ; Sat, 9 Oct 2004 09:42:08 -0700 Received: from mail.cyberus.ca ([209.197.145.21]) by mx02.cybersurf.com with esmtp (Exim 4.30) id 1CGKI5-000829-DR for netdev@oss.sgi.com; Sat, 09 Oct 2004 12:41:53 -0400 Received: from cpe0030ab124d2f-cm014500000962.cpe.net.cable.rogers.com ([24.103.99.32] helo=[10.0.0.9]) by mail.cyberus.ca with esmtp (Exim 4.20) id 1CGKI2-0002gn-Hf; Sat, 09 Oct 2004 12:41:50 -0400 Subject: Re: [PATCH 5/5] PKT_SCHED: Qdisc are not supposed to dump TCA_STATS themselves From: jamal Reply-To: hadi@cyberus.ca To: Thomas Graf Cc: "David S. Miller" , netdev@oss.sgi.com In-Reply-To: <20041009162602.GA21977@postel.suug.ch> References: <20041007010146.GA18621@postel.suug.ch> <20041007010819.GF18621@postel.suug.ch> <1097336911.1051.149.camel@jzny.localdomain> <20041009162602.GA21977@postel.suug.ch> Content-Type: text/plain Organization: jamalopolous Message-Id: <1097340107.1051.178.camel@jzny.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 09 Oct 2004 12:41:47 -0400 Content-Transfer-Encoding: 7bit X-archive-position: 10095 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: hadi@cyberus.ca Precedence: bulk X-list: netdev Content-Length: 1643 Lines: 44 On Sat, 2004-10-09 at 12:26, Thomas Graf wrote: > > 1-4 look good. > > > > Caveat to note Dave: both old TC_STAT as well as new TC_STAT2 will be > > generated. Newer software can ignore TC_STAT and older s/ware can ignore > > TC_STAT2. > > Correct, I tested all these cases and it works perfectly fine. > > I also completed porting TCA_XSTATS to the new gnet_stats by > introducing dump_stats to Qdisc_ops. I ported your requeues patch > and added a missing update in SFQ qdisc. I will send those changes > once these have been approved. Much appreciated. > I will do the same for classes > and classifiers, although we will have to talk about it a little > as soon as you feel better again. I guess the classifier part will > involve changing the action code. The action code change is trivial since the dump_stats exists. Located in cls_api.c in call to copy_stats. My recomendation is to to not even bother using old API since this is new code. Go ahead and rip it out and just send TC_STAT2 _only_ Sorry, dont have the energy to do it right now. > > > patch 5 is a fix thats independent to 1-4 and should be applied > > regardless of the status of 1-4 > > Right, same for the cbq fix I sent a bit later which I have no clue how it is > possible that such a major bug can live for so long, I've been triggering > this bug for over 3 years and didn't notice anything until now :-> Youve heard of the TheLinuxWAY(tm) I hope ;-> Otherwise know as cutnpaste. One has bug others follow ;-> BTW, you would be submitting the iproute2 patches as well, correct ? i.e you are not just using your tool to do the testing? cheers, jamal