summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx4/en_rx.c
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@mellanox.com>2020-08-26 15:54:17 +0300
committerDavid S. Miller <davem@davemloft.net>2020-08-26 15:55:53 -0700
commite20f0dbf204fe2a518ad289f2b39644c69dff531 (patch)
tree5486d3138e77ed16d1d0c037e67630797beea52e /drivers/net/ethernet/mellanox/mlx4/en_rx.c
parentf468f21b7af0fa472ff8ff70f10b9b4995ef7eb3 (diff)
downloadlinux-e20f0dbf204fe2a518ad289f2b39644c69dff531.tar.bz2
net/mlx5e: RX, Add a prefetch command for small L1_CACHE_BYTES
A single cacheline might not contain the packet header for small L1_CACHE_BYTES values. Use net_prefetch() as it issues an additional prefetch in this case. Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Reviewed-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/en_rx.c')
0 files changed, 0 insertions, 0 deletions