diff options
author | Stefan Theil <stefan.theil@mixed-mode.de> | 2018-12-17 09:12:30 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2019-01-24 10:03:42 +0100 |
commit | 10598580612cbaee2298bddd77e9a51df5a2943d (patch) | |
tree | 2d7a791fc89552ac221525a97c56fddbd09db0c9 /arch | |
parent | 0bf3f9cb2722e57a0afb37cb61af5ceaefcf70e0 (diff) | |
download | u-boot-10598580612cbaee2298bddd77e9a51df5a2943d.tar.gz |
zynq-gem: Use appropriate cache flush/invalidate for RX and TX
The cache was only flushed before *transmitting* packets, but not
when receiving them, leading to an issue where new packets were
handed to the receive handler with old contents in cache. This
only happens when a lot of packets are received without sending
packages every now and then. Also flushing the receive buffers
in the transmit function makes no sense and can be removed.
Signed-off-by: Stefan Theil <stefan.theil@mixed-mode.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions