mbox series

[RFC,net-next,0/9] ionic: add XDP support

Message ID 20240118192500.58665-1-shannon.nelson@amd.com (mailing list archive)
Headers show
Series ionic: add XDP support | expand

Message

Nelson, Shannon Jan. 18, 2024, 7:24 p.m. UTC
This is an RFC patchset of new support in ionic for XDP processing,
including basic XDP on Rx packets, TX and REDIRECT, and frags for
jumbo frames.  We present this here for your comments and our
education, and are hoping to get it merged into net-next in
this current development cycle.

Since ionic has not yet been converted to use the page_pool APIs,
this uses the simple MEM_TYPE_PAGE_ORDER0 buffering.  There are plans
to convert the driver in the future, but not yet scheduled.

Shannon Nelson (9):
  ionic: set adminq irq affinity
  ionic: add helpers for accessing buffer info
  ionic: use dma range APIs
  ionic: add initial framework for XDP support
  ionic: Add XDP packet headroom
  ionic: Add XDP_TX support
  ionic: Add XDP_REDIRECT support
  ionic: add ndo_xdp_xmit
  ionic: implement xdp frags support

 .../net/ethernet/pensando/ionic/ionic_dev.h   |  11 +
 .../ethernet/pensando/ionic/ionic_ethtool.c   |   5 +
 .../net/ethernet/pensando/ionic/ionic_lif.c   | 190 +++++++-
 .../net/ethernet/pensando/ionic/ionic_lif.h   |  13 +
 .../net/ethernet/pensando/ionic/ionic_stats.c |  18 +
 .../net/ethernet/pensando/ionic/ionic_txrx.c  | 454 ++++++++++++++++--
 .../net/ethernet/pensando/ionic/ionic_txrx.h  |   1 +
 7 files changed, 654 insertions(+), 38 deletions(-)