Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Nov 2000 13:07:53 +0900
From:      Jun-ichiro itojun Hagino <itojun@iijlab.net>
To:        Luigi Rizzo <rizzo@aciri.org>
Cc:        websoft@yahoo.com, freebsd-questions@FreeBSD.ORG, freebsd-net@FreeBSD.ORG
Subject:   Re: mbuf and MINCLSIZE 
Message-ID:  <20001102040753.A91127E56@starfruit.itojun.org>
In-Reply-To: rizzo's message of Wed, 01 Nov 2000 18:44:26 PST. <200011020244.SAA03643@iguana.aciri.org> 

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

>> 	101 meaning MHLEN + 1, right?  on KAME IPv6 merge, we happened to
>> 	do that.
>didn't we move to 256-byte clusters some time ago, hence
>MHLEN is larger than that ?

	that is not the point.  traditionally MINCLSIZE was MHLEN + MLEN + 1,
	and it made drivers to emit:
		MHLEN mbuf (len <= MHLEN)
		MHLEN mbuf + MLEN mbuf (len <= MHLEN + MLEN)
		MCLBYTES cluster mbuf (len > MHLEN + MLEN)
	Richard proposes to move MINCLSIZE to MHLEN + 1, and will effectively 
	make drivers to emit:
		MHLEN mbuf (len <= MHLEN)
		MCLBYTES cluster mbuf (len > MHLEN)
	the latter stragegy will save us from m_pullup.

itojun


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




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