Skip to content

RFC ionic: add XDP support

Shannon Nelson netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9ionic: set adminq irq affinitydrivers/net/ethernet/pensando/ionic/ionic_lif.c+4 -10 replies
2/9ionic: add helpers for accessing buffer infodrivers/net/ethernet/pensando/ionic/ionic_txrx.c+24 -130 replies
3/9ionic: use dma range APIsdrivers/net/ethernet/pensando/ionic/ionic_txrx.c+6 -70 replies
4/9ionic: add initial framework for XDP supportdrivers/net/ethernet/pensando/ionic/ionic_dev.h drivers/net/ethernet/pensando/ionic/ionic_ethtool.c drivers/net/ethernet/pensando/ionic/ionic_lif.c +3 more+255 -60 replies
5/9ionic: Add XDP packet headroomdrivers/net/ethernet/pensando/ionic/ionic_txrx.c+44 -230 replies
6/9ionic: Add XDP_TX supportdrivers/net/ethernet/pensando/ionic/ionic_dev.h drivers/net/ethernet/pensando/ionic/ionic_lif.c drivers/net/ethernet/pensando/ionic/ionic_lif.h +2 more+151 -30 replies
7/9ionic: Add XDP_REDIRECT supportdrivers/net/ethernet/pensando/ionic/ionic_dev.h drivers/net/ethernet/pensando/ionic/ionic_lif.c drivers/net/ethernet/pensando/ionic/ionic_lif.h +2 more+31 -20 replies
8/9ionic: add ndo_xdp_xmitdrivers/net/ethernet/pensando/ionic/ionic_lif.c drivers/net/ethernet/pensando/ionic/ionic_txrx.c drivers/net/ethernet/pensando/ionic/ionic_txrx.h+65 -20 replies
9/9ionic: implement xdp frags supportdrivers/net/ethernet/pensando/ionic/ionic_lif.c drivers/net/ethernet/pensando/ionic/ionic_txrx.c+98 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH RFC net-next 0/9] ionic: add XDP support

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(-)
Signature · 1 line
2.17.1