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)
Sun, May 17, 5:08 PM
Unknown Object (File)
Fri, May 15, 7:24 PM
Unknown Object (File)
Thu, May 14, 12:02 PM
Unknown Object (File)
Thu, May 7, 7:17 AM
Unknown Object (File)
Apr 19 2026, 11:21 AM
Unknown Object (File)
Apr 18 2026, 1:47 PM
Unknown Object (File)
Apr 10 2026, 3:10 PM
Unknown Object (File)
Apr 6 2026, 2:56 PM
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.