Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Björn Töpel" <bjorn.topel@gmail.com>
To: intel-wired-lan@lists.osuosl.org
Cc: "Björn Töpel" <bjorn.topel@gmail.com>,
	magnus.karlsson@intel.com, netdev@vger.kernel.org,
	bpf@vger.kernel.org, kuba@kernel.org
Subject: [PATCH net-next v2 0/3] i40e driver performance tweaks for AF_XDP
Date: Tue, 25 Aug 2020 13:35:53 +0200	[thread overview]
Message-ID: <20200825113556.18342-1-bjorn.topel@gmail.com> (raw)

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


             reply	other threads:[~2020-08-25 11:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-25 11:35 Björn Töpel [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200825113556.18342-1-bjorn.topel@gmail.com \
    --to=bjorn.topel@gmail.com \
    --cc=bpf@vger.kernel.org \
    --cc=intel-wired-lan@lists.osuosl.org \
    --cc=kuba@kernel.org \
    --cc=magnus.karlsson@intel.com \
    --cc=netdev@vger.kernel.org \
    --subject='Re: [PATCH net-next v2 0/3] i40e driver performance tweaks for AF_XDP' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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