Clean up and normalize usage of the recycle queue in order to
support upcoming TX from RX queue functionality.

Jonathan Lemon (6):
  Have xsk_umem_peek_addr_rq() return chunk-aligned handles.
  Clean up xsk reuseq API
  Always check the recycle stack when using the umem fq.
  Simplify AF_XDP umem allocation path for Intel drivers.
  Remove use of umem _rq variants from Mellanox driver.
  Remove the umem _rq variants now that the last consumer is gone.

 drivers/net/ethernet/intel/i40e/i40e_xsk.c    | 86 +++----------------
 .../ethernet/intel/ixgbe/ixgbe_txrx_common.h  |  2 +-
 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c  | 59 ++-----------
 .../ethernet/mellanox/mlx5/core/en/xsk/rx.c   |  8 +-
 .../ethernet/mellanox/mlx5/core/en/xsk/umem.c |  7 +-
 include/net/xdp_sock.h                        | 69 ++-------------
 net/xdp/xdp_umem.c                            |  2 +-
 net/xdp/xsk.c                                 | 22 ++++-
 net/xdp/xsk_queue.c                           | 56 +++++-------
 net/xdp/xsk_queue.h                           |  2 +-
 10 files changed, 68 insertions(+), 245 deletions(-)

-- 
2.17.1

Reply via email to