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)
Thu, Dec 26, 4:14 AM
Unknown Object (File)
Fri, Dec 13, 7:18 PM
Unknown Object (File)
Nov 22 2024, 5:23 PM
Unknown Object (File)
Oct 27 2024, 9:20 PM
Unknown Object (File)
Oct 26 2024, 8:44 PM
Unknown Object (File)
Oct 26 2024, 5:54 PM
Unknown Object (File)
Oct 21 2024, 2:32 PM
Unknown Object (File)
Oct 21 2024, 2:32 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.