summaryrefslogtreecommitdiff
path: root/include/linux/brcmphy.h
diff options
context:
space:
mode:
authorSven Van Asbroeck <thesven73@gmail.com>2021-02-16 04:08:03 +0300
committerDavid S. Miller <davem@davemloft.net>2021-02-17 02:15:21 +0300
commit966df6ded24d537834402a421d46ef31b3647a78 (patch)
tree8d6c6e8c966f88e0e892eb394b47e6e0ba33e062 /include/linux/brcmphy.h
parenta8db76d40e4d568a9e9cc9fb8d81352b5ff530ee (diff)
downloadlinux-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