Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jul 2023 19:35:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 272780] genet: General question of DMA alignment requirement for tx/rx_buf
Message-ID:  <bug-272780-227-62dRmFcG7i@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272780-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272780-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272780

--- Comment #2 from Mike Karels <karels@freebsd.org> ---
At the time this driver was done, IP headers had to be 4-byte-aligned on ar=
m64.
 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 buf=
fer.
 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 k=
now
specifics.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272780-227-62dRmFcG7i>