Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH net-next v2 0/3] i40e driver performance tweaks for AF_XDP
@ 2020-08-25 11:35 Björn Töpel
  2020-08-25 11:35 ` [PATCH net-next v2 1/3] i40e, xsk: remove HW descriptor prefetch in AF_XDP path Björn Töpel
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Björn Töpel @ 2020-08-25 11:35 UTC (permalink / raw)
  To: intel-wired-lan; +Cc: Björn Töpel, magnus.karlsson, netdev, bpf, kuba

This series contains three patches worth of driver tweaks for the i40e
AF_XDP Rx path, that in total improves the Rx performance (rx_drop 64B
packets-per-second) with 9%.

Please refer to the individual commits for more details.

v1->v2: Removed the napi budget increase patch [1]. Instead, that will
        be sent out as a more generic series that addresses all AF_XDP
        zero-copy capable drivers, as suggested by Jakub. [2]

Cheers,
Björn

[1] https://lore.kernel.org/netdev/20200702153730.575738-4-bjorn.topel@gmail.com/
[2] https://lore.kernel.org/netdev/20200728131653.3b90336b@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com/


Björn Töpel (3):
  i40e, xsk: remove HW descriptor prefetch in AF_XDP path
  i40e: use 16B HW descriptors instead of 32B
  i40e, xsk: move buffer allocation out of the Rx processing loop

 drivers/net/ethernet/intel/i40e/i40e.h        |  2 +-
 .../net/ethernet/intel/i40e/i40e_debugfs.c    | 10 ++++----
 drivers/net/ethernet/intel/i40e/i40e_main.c   |  4 ++--
 drivers/net/ethernet/intel/i40e/i40e_trace.h  |  6 ++---
 drivers/net/ethernet/intel/i40e/i40e_txrx.c   | 19 ++++++++++++---
 drivers/net/ethernet/intel/i40e/i40e_txrx.h   |  2 +-
 .../ethernet/intel/i40e/i40e_txrx_common.h    | 13 ----------
 drivers/net/ethernet/intel/i40e/i40e_type.h   |  5 +++-
 drivers/net/ethernet/intel/i40e/i40e_xsk.c    | 24 ++++++++++++-------
 9 files changed, 47 insertions(+), 38 deletions(-)


base-commit: 079f921e9f4d3992968a2fc5dc3af0a3540853cc
-- 
2.25.1


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

end of thread, other threads:[~2020-09-05  3:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-25 11:35 [PATCH net-next v2 0/3] i40e driver performance tweaks for AF_XDP Björn Töpel
2020-08-25 11:35 ` [PATCH net-next v2 1/3] i40e, xsk: remove HW descriptor prefetch in AF_XDP path Björn Töpel
2020-09-05  2:58   ` [Intel-wired-lan] " Brown, Aaron F
2020-08-25 11:35 ` [PATCH net-next v2 2/3] i40e: use 16B HW descriptors instead of 32B Björn Töpel
2020-09-05  3:01   ` [Intel-wired-lan] " Brown, Aaron F
2020-08-25 11:35 ` [PATCH net-next v2 3/3] i40e, xsk: move buffer allocation out of the Rx processing loop Björn Töpel
2020-09-05  3:03   ` [Intel-wired-lan] " Brown, Aaron F

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).