Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: stmmac: Convert prefetch() to net_prefetch() for received frames
mainline inclusion from mainline-v6.14-rc1 category: performance The size of DMA descriptors is 32 bytes at most. net_prefetch() for received frames, and keep prefetch() for descriptors. This patch brings ~4.8% driver performance improvement in a TCP RX throughput test with iPerf tool on a single isolated Cortex-A65 CPU core, 2.92 Gbits/sec increased to 3.06 Gbits/sec. Suggested-by: Joe Damato <[email protected]> Signed-off-by: Furong Xu <[email protected]> Reviewed-by: Yanteng Si <[email protected]> Reviewed-by: Larysa Zaremba <[email protected]> Reviewed-by: Joe Damato <[email protected]> Signed-off-by: Paolo Abeni <[email protected]> (cherry picked from commit 204182edb3107f87a40f34affb3de8851e1c5d68) Signed-off-by: Wentao Guan <[email protected]>
- Loading branch information