
12 Apr
2024
12 Apr
'24
11:59 p.m.
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 buffer before freeing the descriptor for next DMA transfer. This ensure that the dirty cache line doesn't inadvertently written back due to cache eviction, there by corrupting the RX buffer
[...]
Applied to u-boot/master, thanks!
--
Tom