[Bug 272780] genet: General question of DMA alignment requirement for tx/rx_buf

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 31 Jul 2023 19:35:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272780

--- Comment #2 from Mike Karels <karels@freebsd.org> ---
At the time this driver was done, IP headers had to be 4-byte-aligned on arm64.
 The two-byte adjustment was to make the Ethernet header end on a 4-byte
alignment.  I'm not aware of anything that forces this through a bounce buffer.
 If there is such a thing, this should probably be reconsidered.  Apparently
now IP and TCP headers do not need to be 4-byte aligned, although I don't know
specifics.

-- 
You are receiving this mail because:
You are the assignee for the bug.