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
F106273830: D4717.diff
Sat, Dec 28, 8:39 AM
F106273741: D4717.diff
Sat, Dec 28, 8:36 AM
Unknown Object (File)
Nov 11 2024, 8:11 AM
Unknown Object (File)
Sep 22 2024, 3:44 AM
Unknown Object (File)
Sep 21 2024, 4:51 PM
Unknown Object (File)
Sep 17 2024, 1:56 PM
Unknown Object (File)
Sep 17 2024, 2:59 AM
Unknown Object (File)
Sep 16 2024, 11:53 AM
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.