Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Sep 2000 16:10:09 +0900
From:      Kenjiro Cho <kjc@csl.sony.co.jp>
To:        itojun@iijlab.net
Cc:        freebsd-net@freebsd.org
Subject:   Re: ALTQ integration?
Message-ID:  <20000901161009J.kjc@csl.sony.co.jp>
In-Reply-To: <19021.967768827@coconut.itojun.org>
References:  <Pine.BSF.4.21.0008311649110.31535-100000@freefall.freebsd.org> <19021.967768827@coconut.itojun.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> 	one question - does ALTQ work sufficiently friendly with
> 	dummynet/netgraph/whatever layer 2/3 tricks in freebsd?
> 
> itojun

ALTQ currently works with dummynet but not with netgraph.

The problem with layer 2 tricks is that the classifier needs to parse
multiple link headers (e.g., PPPoE) to look at the IP header.

In the new ALTQ design, the classifier hook and the scheduler hook are 
separated so that the classifier can be called before prepending link
headers.  But it might need another trick to pass the classifier
result to the enqueue operation if the classifier hook and the enqueue 
operation can't be placed in the same function.
(one possible solution is to tag the result to mbuf itself but this is
going to be a seperate project.)

-Kenjiro


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000901161009J.kjc>