netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Add AF_XDP zero-copy support for NFP
@ 2022-03-04 10:22 Simon Horman
  2022-03-04 10:22 ` [PATCH net-next 1/5] nfp: expose common functions to be used for AF_XDP Simon Horman
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Simon Horman @ 2022-03-04 10:22 UTC (permalink / raw)
  To: David Miller, Jakub Kicinski, Niklas Söderlund; +Cc: netdev, oss-drivers

Niklas Söderlund says:

This series adds AF_XDP zero-copy support for the NFP driver. The series
is based on previous work done by Jakub Kicinski.

Patch 1/5 and 2/5 prepares the driver for AF_XDP support by refactoring
functions that will act differently once AF_XDP is active or not making
the driver easier to read and by preparing some functions to be reused
outside the local file scope. Patch 3/5 and 4/5 prepares the driver for
dealing the UMEM while finally patch 5/5 adds AF_XDP support.

Based on work by Jakub Kicinski.

Jakub Kicinski (1):
  nfp: wrap napi add/del logic

Niklas Söderlund (4):
  nfp: expose common functions to be used for AF_XDP
  nfp: xsk: add an array of xsk buffer pools to each data path
  nfp: xsk: add configuration check for XSK socket chunk size
  nfp: xsk: add AF_XDP zero-copy Rx and Tx support

 drivers/net/ethernet/netronome/nfp/Makefile   |   1 +
 drivers/net/ethernet/netronome/nfp/nfp_net.h  |  47 +-
 .../ethernet/netronome/nfp/nfp_net_common.c   | 207 ++++--
 .../ethernet/netronome/nfp/nfp_net_debugfs.c  |  33 +-
 .../net/ethernet/netronome/nfp/nfp_net_xsk.c  | 592 ++++++++++++++++++
 .../net/ethernet/netronome/nfp/nfp_net_xsk.h  |  29 +
 6 files changed, 855 insertions(+), 54 deletions(-)
 create mode 100644 drivers/net/ethernet/netronome/nfp/nfp_net_xsk.c
 create mode 100644 drivers/net/ethernet/netronome/nfp/nfp_net_xsk.h

-- 
2.20.1


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

end of thread, other threads:[~2022-03-04 18:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-04 10:22 Add AF_XDP zero-copy support for NFP Simon Horman
2022-03-04 10:22 ` [PATCH net-next 1/5] nfp: expose common functions to be used for AF_XDP Simon Horman
2022-03-04 13:10   ` patchwork-bot+netdevbpf
2022-03-04 10:22 ` [PATCH net-next 2/5] nfp: wrap napi add/del logic Simon Horman
2022-03-04 10:22 ` [PATCH net-next 3/5] nfp: xsk: add an array of xsk buffer pools to each data path Simon Horman
2022-03-04 10:22 ` [PATCH net-next 4/5] nfp: xsk: add configuration check for XSK socket chunk size Simon Horman
2022-03-04 10:22 ` [PATCH net-next 5/5] nfp: xsk: add AF_XDP zero-copy Rx and Tx support Simon Horman
2022-03-04 13:53   ` Maciej Fijalkowski
2022-03-04 18:42     ` Niklas Söderlund

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