Intel-Wired-Lan Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] [PATCH net-next v2 0/3] i40e: improve AF_XDP performance
@ 2020-06-23  9:44 Magnus Karlsson
  2020-06-23  9:44 ` [Intel-wired-lan] [PATCH net-next v2 1/3] i40e: optimize AF_XDP Tx completion path Magnus Karlsson
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Magnus Karlsson @ 2020-06-23  9:44 UTC (permalink / raw)
  To: intel-wired-lan

This small series improves AF_XDP performance for the i40e NIC. The
first patch optimizes the Tx completion path for AF_XDP. The second
one removes a division in the data path for the normal SKB path, XDP
as well as AF_XDP. Finally, the third one moves the test of a full Tx
ring to outside the send loop. Overall, the throughput of the l2fwd
application in xpdsock improves with around 8% on my machine.

v1->v2:
* Removed unnecessary variables in i40e_clean_xdp_tx_irq [Sridhar]
* Added one further optimization to Tx path in a new patch [Sridhar]
* Fixed two API documentation warnings with make W=1

This patch has been applied against commit 8af7b4525acf ("Merge branch
'net-atlantic-additional-A2-features'")

Thanks: Magnus

Magnus Karlsson (3):
  i40e: optimize AF_XDP Tx completion path
  i40e: eliminate division in napi_poll data path
  i40e: move check of full Tx ring to outside of send loop

 drivers/net/ethernet/intel/i40e/i40e_txrx.c | 17 ++++++---
 drivers/net/ethernet/intel/i40e/i40e_txrx.h |  1 +
 drivers/net/ethernet/intel/i40e/i40e_xsk.c  | 57 +++++++++++++----------------
 drivers/net/ethernet/intel/i40e/i40e_xsk.h  |  3 +-
 4 files changed, 39 insertions(+), 39 deletions(-)

--
2.7.4

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

end of thread, other threads:[~2020-06-25 17:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-23  9:44 [Intel-wired-lan] [PATCH net-next v2 0/3] i40e: improve AF_XDP performance Magnus Karlsson
2020-06-23  9:44 ` [Intel-wired-lan] [PATCH net-next v2 1/3] i40e: optimize AF_XDP Tx completion path Magnus Karlsson
2020-06-24  1:08   ` Samudrala, Sridhar
2020-06-25 17:03   ` Bowers, AndrewX
2020-06-23  9:44 ` [Intel-wired-lan] [PATCH net-next v2 2/3] i40e: eliminate division in napi_poll data path Magnus Karlsson
2020-06-25 17:03   ` Bowers, AndrewX
2020-06-23  9:44 ` [Intel-wired-lan] [PATCH net-next v2 3/3] i40e: move check of full Tx ring to outside of send loop Magnus Karlsson
2020-06-25 17:04   ` Bowers, AndrewX

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox