cvs commit: src/sys/pci if_rlreg.h src/sys/dev/re if_re.c
Andre Oppermann
andre at freebsd.org
Tue Jan 15 05:58:32 PST 2008
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
More information about the cvs-src
mailing list