cvs commit: src/sys/dev/dc if_dc.c
Marius Strobl
marius at FreeBSD.org
Sat Aug 23 20:57:55 UTC 2008
marius 2008-08-23 20:57:48 UTC
FreeBSD src repository
Modified files:
sys/dev/dc if_dc.c
Log:
SVN rev 182079 on 2008-08-23 20:57:48Z by marius
- Use m_collapse(9) instead of m_defrag(9) if possible. This results
in a noticeable reduction in system time spent.
- If bus_dmamap_load_mbuf_sg(9) fails with EFBIG and we already have
defragmented the mbuf chain, don't bother to defragment and load it
a second time just yet as it's likely to fail again anyway.
MFC after: 3 days
Revision Changes Path
1.196 +27 -18 src/sys/dev/dc/if_dc.c
More information about the cvs-src
mailing list