Date: Fri, 18 Jan 2008 08:32:09 +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: <200801180832.m0I8W9sf077964@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2008-01-18 08:32:09 UTC
FreeBSD src repository
Modified files:
sys/dev/stge if_stge.c
Log:
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.12 +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?200801180832.m0I8W9sf077964>
