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
Paths
| Differential D43136 Authored by imp on Dec 20 2023, 8:47 PM.
Details
Summary Call madj(m, ETHER_ALIGN) to offset rx buffers when allocating them. PR: 271288
Diff Detail
Event Timelineimp created this revision. Harbormaster completed remote builds in B55051: Diff 131616.Dec 20 2023, 8:47 PM2023-12-20 20:47:55 (UTC+0) This revision was not accepted when it landed; it landed in state Needs Review.Dec 21 2023, 4:21 AM2023-12-21 04:21:52 (UTC+0) Closed by commit rG9e6d11ce9a51: vtnet: Adjust rx buffer so IP header 32-bit aligned (authored by imp). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 131635 sys/dev/virtio/network/if_vtnet.c
|
I'd add a const char *space = ""; here