Date: Tue, 15 Jan 2008 14:31:52 +0100 From: Andre Oppermann <andre@freebsd.org> To: Pyun YongHyeon <yongari@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/pci if_rlreg.h src/sys/dev/re if_re.c Message-ID: <478CB5C8.80308@freebsd.org> In-Reply-To: <200801150110.m0F1AVlA001255@repoman.freebsd.org> References: <200801150110.m0F1AVlA001255@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Pyun YongHyeon wrote: > yongari 2008-01-15 01:10:31 UTC > > FreeBSD src repository > > Modified files: > sys/pci if_rlreg.h > sys/dev/re if_re.c > Log: > Overhaul re(4). > - The number of allowable Tx DMA segments for a mbuf chains are > now 32 instead of magic nseg value. If the number of available > Tx descriptors are short enough to send highly fragmented mbuf > chains an optimized re_defrag() is called to collapse mbuf > chains which is supposed to be much faster than m_defrag(9). > re_defrag() was borrowed from ath(4). If this function is used more often we should make it a public function within the mbuf framework. Copying this stuff around is evil(TM). -- Andre
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?478CB5C8.80308>