]> Git Repo - u-boot.git/commit
zynq-gem: Use appropriate cache flush/invalidate for RX and TX
authorStefan Theil <[email protected]>
Mon, 17 Dec 2018 08:12:30 +0000 (09:12 +0100)
committerMichal Simek <[email protected]>
Thu, 24 Jan 2019 09:03:42 +0000 (10:03 +0100)
commit10598580612cbaee2298bddd77e9a51df5a2943d
tree2d7a791fc89552ac221525a97c56fddbd09db0c9
parent0bf3f9cb2722e57a0afb37cb61af5ceaefcf70e0
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 <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
drivers/net/zynq_gem.c
This page took 0.027968 seconds and 4 git commands to generate.