Re: [PATCH v4 0/3] net: macb: fix dma usage

2023-12-05 Thread Sascha Hauer
On Fri, Dec 01, 2023 at 02:51:26PM +0100, Steffen Trumtrar wrote: > The rx_buffer is only dma_alloc'ed but never properly flushed. > Fix that. > > While at it, also use proper volatile access instead of sw barriers. > > Also, redefine PKTSIZE to a sensible multiple of 64 bytes. > >

[PATCH v4 0/3] net: macb: fix dma usage

2023-12-01 Thread Steffen Trumtrar
The rx_buffer is only dma_alloc'ed but never properly flushed. Fix that. While at it, also use proper volatile access instead of sw barriers. Also, redefine PKTSIZE to a sensible multiple of 64 bytes. Signed-off-by: Steffen Trumtrar --- Changes in v4: - align PKTSIZE with cacheline size -