cvs commit: src/sys/pci if_rlreg.h src/sys/dev/re if_re.c

Roman Divacky rdivacky at FreeBSD.org
Tue Jan 15 01:55:56 PST 2008


>     -  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).

would it make sense to introduce a new foo_defrag() to not duplicate
the ath|re_defrag() all over the place?


More information about the cvs-src mailing list