mbox series

[net-next,0/2] dpaa2-eth: add bulking to XDP_TX

Message ID 20200506174718.20916-1-ioana.ciornei@nxp.com
Headers show
Series dpaa2-eth: add bulking to XDP_TX | expand

Message

Ioana Ciornei May 6, 2020, 5:47 p.m. UTC
This patch set adds support for bulk enqueue in terms of XDP_TX packets.
XDP_TX packets are qeueued no longer than the end of the NAPI cycle or
until the array of frame descriptors stored per frame queue is full.

The first patch just cleans up the bulk enqueue and creates a new routine
to enqueue all frames for a FQ while the second patch actually adds the
bulk enqueue for XDP_TX packets.

Ioana Ciornei (2):
  dpaa2-eth: create a function to flush the XDP fds
  dpaa2-eth: add bulking to XDP_TX

 .../net/ethernet/freescale/dpaa2/dpaa2-eth.c  | 129 ++++++++++++------
 .../net/ethernet/freescale/dpaa2/dpaa2-eth.h  |   8 +-
 2 files changed, 92 insertions(+), 45 deletions(-)