diff options
author | Sven Van Asbroeck <thesven73@gmail.com> | 2021-02-16 04:08:03 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-02-17 02:15:21 +0300 |
commit | 966df6ded24d537834402a421d46ef31b3647a78 (patch) | |
tree | 8d6c6e8c966f88e0e892eb394b47e6e0ba33e062 /include/linux/brcmphy.h | |
parent | a8db76d40e4d568a9e9cc9fb8d81352b5ff530ee (diff) | |
download | linux-966df6ded24d537834402a421d46ef31b3647a78.tar.xz |
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 'include/linux/brcmphy.h')
0 files changed, 0 insertions, 0 deletions