netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] i40e, ice, ixgbe: optimize for XDP_REDIRECT in xsk path
@ 2020-12-02 15:07 Magnus Karlsson
  2020-12-02 15:07 ` [PATCH net-next 1/3] i40: " Magnus Karlsson
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Magnus Karlsson @ 2020-12-02 15:07 UTC (permalink / raw)
  To: magnus.karlsson, bjorn.topel, intel-wired-lan, anthony.l.nguyen
  Cc: Magnus Karlsson, netdev, maciej.fijalkowski,
	maciejromanfijalkowski

Optimize run_xdp_zc() for the XDP program verdict being XDP_REDIRECT
in the zsk zero-copy path. This path is only used when having AF_XDP
zero-copy on and in that case most packets will be directed to user
space. This provides around 100k extra packets in throughput on my
server when running l2fwd in xdpsock.

Thanks: Magnus

Magnus Karlsson (3):
  i40: optimize for XDP_REDIRECT in xsk path
  ixgbe: optimize for XDP_REDIRECT in xsk path
  ice: optimize for XDP_REDIRECT in xsk path

 drivers/net/ethernet/intel/i40e/i40e_xsk.c   | 11 +++++++----
 drivers/net/ethernet/intel/ice/ice_xsk.c     | 12 ++++++++----
 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c | 11 +++++++----
 3 files changed, 22 insertions(+), 12 deletions(-)


base-commit: 6b4f503186b73e3da24c6716c8c7ea903e6b74d4
--
2.29.0

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH net-next 0/3][pull request] 40GbE Intel Wired LAN Driver Updates 2021-03-16
@ 2021-03-16 16:42 Tony Nguyen
  2021-03-16 16:42 ` [PATCH net-next 3/3] ice: optimize for XDP_REDIRECT in xsk path Tony Nguyen
  0 siblings, 1 reply; 11+ messages in thread
From: Tony Nguyen @ 2021-03-16 16:42 UTC (permalink / raw)
  To: davem, kuba
  Cc: Tony Nguyen, netdev, sassmann, bjorn.topel, maciej.fijalkowski,
	magnus.karlsson

This series contains updates to i40e, ixgbe, and ice drivers.

Magnus Karlsson says:

Optimize run_xdp_zc() for the XDP program verdict being XDP_REDIRECT
in the xsk zero-copy path. This path is only used when having AF_XDP
zero-copy on and in that case most packets will be directed to user
space. This provides around 100k extra packets in throughput on my
server when running l2fwd in xdpsock.

The following are changes since commit 2117fce81f6b862aac0673abe8df0c60dca64bfa:
  Merge branch 'psample-Add-additional-metadata-attributes'
and are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 40GbE

Magnus Karlsson (3):
  i40e: optimize for XDP_REDIRECT in xsk path
  ixgbe: optimize for XDP_REDIRECT in xsk path
  ice: optimize for XDP_REDIRECT in xsk path

 drivers/net/ethernet/intel/i40e/i40e_xsk.c   | 11 +++++++----
 drivers/net/ethernet/intel/ice/ice_xsk.c     | 12 ++++++++----
 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c | 11 +++++++----
 3 files changed, 22 insertions(+), 12 deletions(-)

-- 
2.26.2


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

end of thread, other threads:[~2021-03-16 16:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-02 15:07 [PATCH net-next 0/3] i40e, ice, ixgbe: optimize for XDP_REDIRECT in xsk path Magnus Karlsson
2020-12-02 15:07 ` [PATCH net-next 1/3] i40: " Magnus Karlsson
2021-02-05 16:08   ` [Intel-wired-lan] " Kuruvinakunnel, George
2020-12-02 15:07 ` [PATCH net-next 2/3] ixgbe: " Magnus Karlsson
2021-03-10  4:19   ` [Intel-wired-lan] " Jambekar, Vishakha
2020-12-02 15:07 ` [PATCH net-next 3/3] ice: " Magnus Karlsson
2021-02-05 16:09   ` [Intel-wired-lan] " Kuruvinakunnel, George
2020-12-02 20:40 ` [PATCH net-next 0/3] i40e, ice, ixgbe: " Maciej Fijalkowski
2020-12-03  6:58   ` Magnus Karlsson
2020-12-03 17:21     ` Nguyen, Anthony L
  -- strict thread matches above, loose matches on Subject: below --
2021-03-16 16:42 [PATCH net-next 0/3][pull request] 40GbE Intel Wired LAN Driver Updates 2021-03-16 Tony Nguyen
2021-03-16 16:42 ` [PATCH net-next 3/3] ice: optimize for XDP_REDIRECT in xsk path Tony Nguyen

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