Date: Fri, 11 Apr 2008 04:03:37 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/stge if_stge.c Message-ID: <200804110403.m3B43bDh003302@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804110403.m3B43bDh003302>
