bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] xdp: introduce bulking for page_pool tx return path
@ 2020-10-27 19:04 Lorenzo Bianconi
  2020-10-27 19:04 ` [PATCH net-next 1/4] net: xdp: introduce bulking for xdp " Lorenzo Bianconi
                   ` (3 more replies)
  0 siblings, 4 replies; 23+ messages in thread
From: Lorenzo Bianconi @ 2020-10-27 19:04 UTC (permalink / raw)
  To: netdev; +Cc: bpf, lorenzo.bianconi, davem, kuba, brouer, ilias.apalodimas

xdp_return_frame and page_pool_put_page are usually run inside the driver
NAPI tx completion loop so it is possible batch them.
Introduce bulking capability in xdp tx return path (XDP_REDIRECT).
Convert mvneta, mvpp2 and mlx5 drivers to xdp_return_frame_bulk APIs.

Lorenzo Bianconi (4):
  net: xdp: introduce bulking for xdp tx return path
  net: page_pool: add bulk support for ptr_ring
  net: mvpp2: add xdp tx return bulking support
  net: mlx5: add xdp tx return bulking support

 drivers/net/ethernet/marvell/mvneta.c         |  5 +-
 .../net/ethernet/marvell/mvpp2/mvpp2_main.c   |  5 +-
 .../net/ethernet/mellanox/mlx5/core/en/xdp.c  |  5 +-
 include/net/page_pool.h                       | 26 +++++++++++
 include/net/xdp.h                             |  9 ++++
 net/core/page_pool.c                          | 33 +++++++++++++
 net/core/xdp.c                                | 46 +++++++++++++++++++
 7 files changed, 126 insertions(+), 3 deletions(-)

-- 
2.26.2


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

end of thread, other threads:[~2020-10-29 14:08 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-27 19:04 [PATCH net-next 0/4] xdp: introduce bulking for page_pool tx return path Lorenzo Bianconi
2020-10-27 19:04 ` [PATCH net-next 1/4] net: xdp: introduce bulking for xdp " Lorenzo Bianconi
2020-10-28  9:27   ` Ilias Apalodimas
2020-10-28 10:23     ` Lorenzo Bianconi
2020-10-28 10:59       ` Ilias Apalodimas
2020-10-28 11:28         ` Lorenzo Bianconi
2020-10-28 11:34   ` Jesper Dangaard Brouer
2020-10-28 11:43     ` Lorenzo Bianconi
2020-10-29 13:52   ` Jesper Dangaard Brouer
2020-10-29 14:02     ` Lorenzo Bianconi
2020-10-29 14:08       ` Ilias Apalodimas
2020-10-27 19:04 ` [PATCH net-next 2/4] net: page_pool: add bulk support for ptr_ring Lorenzo Bianconi
2020-10-29  7:08   ` Ilias Apalodimas
2020-10-29 10:36     ` Lorenzo Bianconi
2020-10-29  7:25   ` Ilias Apalodimas
2020-10-29 10:37     ` Lorenzo Bianconi
2020-10-29 10:13   ` Jesper Dangaard Brouer
2020-10-29 10:31     ` Lorenzo Bianconi
2020-10-29 13:40       ` Jesper Dangaard Brouer
2020-10-27 19:04 ` [PATCH net-next 3/4] net: mvpp2: add xdp tx return bulking support Lorenzo Bianconi
2020-10-27 19:04 ` [PATCH net-next 4/4] net: mlx5: " Lorenzo Bianconi
2020-10-29 11:42   ` Shay Agroskin
2020-10-29 13:15     ` Lorenzo Bianconi

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