Re: [PATCH v1] net: designware: Invalidate RX buffer cache before freeing the DMA descriptor

2024-04-12 Thread Tom Rini
On Mon, 08 Apr 2024 16:49:02 +0800, Jim Liu wrote: > In IPv6 context, the ICMP and UDP checksum byte in the RX packet > is initially set to 0, recaclculated, and then re-inserted. > This process can result in a dirty cache line. To prevent issues, > it is essential to invalidate cache for the RX b

[PATCH v1] net: designware: Invalidate RX buffer cache before freeing the DMA descriptor

2024-04-08 Thread Jim Liu
In IPv6 context, the ICMP and UDP checksum byte in the RX packet is initially set to 0, recaclculated, and then re-inserted. This process can result in a dirty cache line. To prevent issues, it is essential to invalidate cache for the RX buffer before freeing the descriptor for next DMA transfer. T