Re: [PATCH net-next 4/5] net: fec: remove rx_align from fec_enet_private
From: Andrew Lunn
Date: Wed Nov 12 2025 - 15:25:09 EST
On Tue, Nov 11, 2025 at 06:00:56PM +0800, Wei Fang wrote:
> The rx_align was introduced by the commit 41ef84ce4c72 ("net: fec: change
> FEC alignment according to i.mx6 sx requirement"). Because the i.MX6 SX
> requires RX buffer must be 64 bytes alignment.
>
> Since the commit 95698ff6177b ("net: fec: using page pool to manage RX
> buffers"), the address of the RX buffer is always the page address plus
> 128 bytes, so RX buffer is always 64-byte aligned.
It is not obvious to me where this 128 bytes is added.
Andrew