diff options
author | Jim Liu | 2024-04-08 16:49:02 +0800 |
---|---|---|
committer | Tom Rini | 2024-04-12 13:59:12 -0600 |
commit | 3d98b8c504e158d708ca806b4aac9d40757e8c01 (patch) | |
tree | b8722c61ad9a4ab7feec11320350a9b922b31b1c /include/dwc3-uboot.h | |
parent | b4e9b524f785e21b6db45bd86eb580aebd02e1c2 (diff) |
net: designware: Invalidate RX buffer cache before freeing the DMA descriptor
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
Signed-off-by: Parvathi Bhogaraju <pbhogaraju@microsoft.com>
Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
Diffstat (limited to 'include/dwc3-uboot.h')
0 files changed, 0 insertions, 0 deletions