diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2020-09-29 23:58:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-29 18:10:07 -0700 |
commit | 879456bedbe54f2d38b15c21dc5e3c30232b53e1 (patch) | |
tree | 1c39b06c8314cb7b6d89d00b0f33acaa22c3f861 /drivers/net/appletalk | |
parent | 2b2706aaaefee49ba0030bc679865db178e89e11 (diff) |
net: mvneta: avoid possible cache misses in mvneta_rx_swbm
Do not use rx_desc pointers if possible since rx descriptors are stored in
uncached memory and dereferencing rx_desc pointers generate extra loads.
This patch improves XDP_DROP performance of ~ 110Kpps (700Kpps vs 590Kpps)
on Marvell Espressobin
Analyzed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/appletalk')
0 files changed, 0 insertions, 0 deletions