Page MenuHomeFreeBSD

vtnet: Adjust rx buffer so IP header 32-bit aligned
ClosedPublic

Authored by imp on Dec 20 2023, 8:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 17, 6:10 PM
Unknown Object (File)
Sun, Mar 15, 10:06 PM
Unknown Object (File)
Feb 27 2026, 8:17 AM
Unknown Object (File)
Feb 10 2026, 12:56 AM
Unknown Object (File)
Feb 8 2026, 3:45 PM
Unknown Object (File)
Feb 7 2026, 9:45 PM
Unknown Object (File)
Jan 31 2026, 8:35 AM
Unknown Object (File)
Nov 27 2025, 1:35 AM
Subscribers
None

Details

Summary

Call madj(m, ETHER_ALIGN) to offset rx buffers when allocating them.
This improves performance everywhere, and allows armv7 to work at all.

PR: 271288
Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested review of this revision.Dec 20 2023, 8:47 PM
imp created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.Dec 21 2023, 4:21 AM
This revision was automatically updated to reflect the committed changes.