Page MenuHomeFreeBSD

Use m_collapse(9) instead of m_defrag(9) in e1000 drivers
ClosedPublic

Authored by marius on Dec 28 2015, 12:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 23 2017, 5:21 PM
Unknown Object (File)
Apr 8 2017, 1:01 AM
Unknown Object (File)
Feb 7 2017, 2:45 PM
Unknown Object (File)
Oct 4 2016, 6:40 AM
Unknown Object (File)
Jul 21 2016, 8:51 AM
Unknown Object (File)
Jul 18 2016, 5:25 PM
Unknown Object (File)
Jul 16 2016, 7:19 AM
Unknown Object (File)
Jun 22 2016, 5:33 PM
Subscribers

Details

Summary

Given that em(4), lem(4) and igb(4) hardware doesn't require the
alignment guarantees provided by m_defrag(9), use m_collapse(9)
instead for performance reasons.
While at it, sanitize the statistics softc members, i. e. retire
unused ones and add SYSCTL nodes missing for actually used ones.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

marius retitled this revision from to Use m_collapse(9) instead of m_defrag(9) in e1000 drivers.
marius updated this object.
marius edited the test plan for this revision. (Show Details)
marius added a reviewer: erj.
marius set the repository for this revision to rS FreeBSD src repository - subversion.
sbruno added a reviewer: sbruno.
sbruno added a subscriber: sbruno.

This looks fine and an improvement.

This revision is now accepted and ready to land.Jan 5 2016, 5:41 PM
This revision was automatically updated to reflect the committed changes.