cvs commit: src/sys/dev/stge if_stge.c
Pyun YongHyeon
yongari at FreeBSD.org
Fri Apr 11 04:03:37 UTC 2008
yongari 2008-04-11 04:03:37 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/dev/stge if_stge.c
Log:
MFC if_stge.c rev 1.12 to RELENG_7.
Use m_collapse(9) to collapse mbuf chains instead of relying on
shortest possible chain of mbufs of m_defrag(9). What we want is
chains of mbufs that can be safely stored to a Tx descriptor which
can have up to STGE_MAXTXSEGS mbufs. The ethernet controller does
not need to align Tx buffers on 32bit boundary. So the use of
m_defrag(9) was waste of time.
Revision Changes Path
1.9.2.3 +1 -1 src/sys/dev/stge/if_stge.c
More information about the cvs-src
mailing list