diff options
author | Sven Van Asbroeck | 2021-02-15 20:08:03 -0500 |
---|---|---|
committer | David S. Miller | 2021-02-16 15:15:21 -0800 |
commit | 966df6ded24d537834402a421d46ef31b3647a78 (patch) | |
tree | 8d6c6e8c966f88e0e892eb394b47e6e0ba33e062 /drivers/amba | |
parent | a8db76d40e4d568a9e9cc9fb8d81352b5ff530ee (diff) |
lan743x: sync only the received area of an rx ring buffer
On cpu architectures w/o dma cache snooping, dma_unmap() is a
is a very expensive operation, because its resulting sync
needs to invalidate cpu caches.
Increase efficiency/performance by syncing only those sections
of the lan743x's rx ring buffers that are actually in use.
Signed-off-by: Sven Van Asbroeck <thesven73@gmail.com>
Reviewed-by: Bryan Whitehead <Bryan.Whitehead@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/amba')
0 files changed, 0 insertions, 0 deletions