Received: from oss.sgi.com (localhost.localdomain [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g39Bhm8d013995 for ; Tue, 9 Apr 2002 04:43:48 -0700 Received: (from mail@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g39BhmYB013994 for netdev-outgoing; Tue, 9 Apr 2002 04:43:48 -0700 X-Authentication-Warning: oss.sgi.com: mail set sender to owner-netdev@oss.sgi.com using -f Received: from luxik.cdi.cz (root@inway106.cdi.cz [213.151.81.106]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g39Bhi8d013990 for ; Tue, 9 Apr 2002 04:43:45 -0700 Received: from localhost ([127.0.0.1] ident=devik) by luxik.cdi.cz with esmtp (Exim 3.34 #3) id 16uu2a-0004tu-00; Tue, 09 Apr 2002 13:44:00 +0200 Date: Tue, 9 Apr 2002 13:43:59 +0200 (CEST) From: Martin Devera To: jamal cc: netdev@oss.sgi.com Subject: QoS _put, _get and _delete class ops semantic In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-netdev@oss.sgi.com Precedence: bulk Content-Length: 755 Lines: 21 Hi Jamal, please can you help me with this ? During testing of speed improved HTB (as we talked about) I have problem to understand rationale behing Subj and can't find any docs. put and get seem to be simply reference counting on class object. I'd expect thet class creation will call get once to assure that it is locked in active state and "tc class del" would call last put to release this last reference (and class will destroy itself). Unfortunately there is delete class op which seems to do almost the same as put. Do you know rationale behind it ? Why we have both put and delete and what tc framework expect from qdisc ? I know there is some description tcio-current but it doesn't go into great depth on this topic. Thanks in advance, devik