netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] net_prefetch API
@ 2020-08-26 12:54 Tariq Toukan
  2020-08-26 12:54 ` [PATCH net-next 1/3] net: Take common prefetch code structure into a function Tariq Toukan
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Tariq Toukan @ 2020-08-26 12:54 UTC (permalink / raw)
  To: David S. Miller
  Cc: netdev, Moshe Shemesh, Saeed Mahameed, Jakub Kicinski, Tariq Toukan

Hi,

This patchset adds a common net API for L1 cacheline size-aware prefetch.

Patch 1 introduces the common API in net and aligns the drivers to use it.
Patches 2 and 3 add usage in mlx4 and mlx5 Eth drivers.

Series generated against net-next commit:
079f921e9f4d Merge tag 'batadv-next-for-davem-20200824' of git://git.open-mesh.org/linux-merge

Thanks,
Tariq.


Tariq Toukan (3):
  net: Take common prefetch code structure into a function
  net/mlx5e: RX, Add a prefetch command for small L1_CACHE_BYTES
  net/mlx4_en: RX, Add a prefetch command for small L1_CACHE_BYTES

 drivers/net/ethernet/chelsio/cxgb3/sge.c         |  5 +----
 drivers/net/ethernet/hisilicon/hns/hns_enet.c    |  5 +----
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c  |  5 +----
 drivers/net/ethernet/intel/fm10k/fm10k_main.c    |  5 +----
 drivers/net/ethernet/intel/i40e/i40e_txrx.c      | 12 ++++--------
 drivers/net/ethernet/intel/iavf/iavf_txrx.c      | 11 +++--------
 drivers/net/ethernet/intel/ice/ice_txrx.c        | 10 ++--------
 drivers/net/ethernet/intel/igb/igb_main.c        | 10 ++--------
 drivers/net/ethernet/intel/igc/igc_main.c        | 10 ++--------
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c    | 11 +++--------
 .../net/ethernet/intel/ixgbevf/ixgbevf_main.c    | 11 +++--------
 drivers/net/ethernet/mellanox/mlx4/en_rx.c       |  2 +-
 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c |  4 ++--
 .../net/ethernet/mellanox/mlx5/core/en/xsk/rx.c  |  4 ++--
 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c  | 13 ++++++-------
 .../ethernet/mellanox/mlx5/core/en_selftest.c    |  3 +--
 include/linux/netdevice.h                        | 16 ++++++++++++++++
 17 files changed, 51 insertions(+), 86 deletions(-)

-- 
2.21.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-08-26 22:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-26 12:54 [PATCH net-next 0/3] net_prefetch API Tariq Toukan
2020-08-26 12:54 ` [PATCH net-next 1/3] net: Take common prefetch code structure into a function Tariq Toukan
2020-08-26 12:54 ` [PATCH net-next 2/3] net/mlx5e: RX, Add a prefetch command for small L1_CACHE_BYTES Tariq Toukan
2020-08-26 12:54 ` [PATCH net-next 3/3] net/mlx4_en: " Tariq Toukan
2020-08-26 14:55   ` Eric Dumazet
2020-08-26 17:09     ` Saeed Mahameed
2020-08-26 22:56 ` [PATCH net-next 0/3] net_prefetch API David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).