diff options
| author | Furong Xu <[email protected]> | 2025-01-15 03:27:05 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-01-16 11:14:23 +0000 |
| commit | 204182edb3107f87a40f34affb3de8851e1c5d68 (patch) | |
| tree | df4a0627bb37eba3caa1e709dd1103946117edc4 /drivers/platform/x86/amd/pmc/pmc.c | |
| parent | net: stmmac: Optimize cache prefetch in RX path (diff) | |
| download | kernel-204182edb3107f87a40f34affb3de8851e1c5d68.tar.gz kernel-204182edb3107f87a40f34affb3de8851e1c5d68.zip | |
net: stmmac: Convert prefetch() to net_prefetch() for received frames
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]>
Diffstat (limited to 'drivers/platform/x86/amd/pmc/pmc.c')
0 files changed, 0 insertions, 0 deletions
