Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jul 2023 15:34:37 +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-hkCJ47wewv@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

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |karels@freebsd.org,
                   |                            |markj@FreeBSD.org
             Status|New                         |Open

--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
CC'ing Mike Karels, who imported the driver.

I suspect that genet does this so that the IP header is 4-byte aligned, sin=
ce
that could make accesses to header fields more efficient.  But indeed, it's
rather strange that rx_buf_tag is defined with an alignment of 4.  I'd expe=
ct
that to result in extra copying.

--=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-hkCJ47wewv>