Re: [PATCH net 2/3] dpaa_eth: reduce data alignment requirements for the A050385 erratum

2021-02-04 Thread Maciej Fijalkowski
On Tue, Feb 02, 2021 at 07:34:43PM +0200, Camelia Groza wrote: > The 256 byte data alignment is required for preventing DMA transaction > splits when crossing 4K page boundaries. Since XDP deals only with page > sized buffers or less, this restriction isn't needed. Instead, the data > only needs to

[PATCH net 2/3] dpaa_eth: reduce data alignment requirements for the A050385 erratum

2021-02-02 Thread Camelia Groza
The 256 byte data alignment is required for preventing DMA transaction splits when crossing 4K page boundaries. Since XDP deals only with page sized buffers or less, this restriction isn't needed. Instead, the data only needs to be aligned to 64 bytes to prevent DMA transaction splits. These lesse