diff options
author | Tariq Toukan <tariqt@mellanox.com> | 2020-08-26 15:54:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-26 15:55:53 -0700 |
commit | f468f21b7af0fa472ff8ff70f10b9b4995ef7eb3 (patch) | |
tree | 28a881ee0878c42efa3e4eb0aa55b75000c2f6d2 /drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.h | |
parent | Merge branch 'Add-Ethernet-support-for-Intel-Keem-Bay-SoC' (diff) | |
download | linux-dev-f468f21b7af0fa472ff8ff70f10b9b4995ef7eb3.tar.xz linux-dev-f468f21b7af0fa472ff8ff70f10b9b4995ef7eb3.zip |
net: Take common prefetch code structure into a function
Many device drivers use the same prefetch code structure to
deal with small L1 cacheline size.
Take this code into a function and call it from the drivers.
Suggested-by: Jakub Kicinski <jakub.kicinski@netronome.com>
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/hisilicon/hns/hns_dsaf_ppe.h')
0 files changed, 0 insertions, 0 deletions