ionic: add XDP support
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest9 patches 10 repliesApplied 9/9
- v39 patches 6 repliesSuperseded
- v210 patches 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 9 patches | 2 replies | Superseded |
Changes in v4 from the cover letter
- removed "inline" from short utility functions
- changed to use "goto err_out" in ionic_xdp_register_rxq_info()
- added "continue" to reduce nesting in ionic_xdp_queues_config()
- used xdp_prog in ionic_rx_clean() to flag whether or not to sync the rx buffer after calling ionix_xdp_run()
- swapped order of XDP_TX and XDP_REDIRECT cases in ionic_xdp_run() to make patch 6 a little cleaner
Patches in v4 All 9 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | ionic: set adminq irq affinitydrivers/ | +4 | 1 reply | Applied |
| 2/9 | ionic: add helpers for accessing buffer infodrivers/ | +24 | 1 reply | Applied |
| 3/9 | ionic: use dma range APIsdrivers/ | +6 | 1 reply | Applied |
| 4/9 | ionic: add initial framework for XDP supportdrivers/ drivers/ drivers/ +3 more | +269 | 1 reply | Applied |
| 5/9 | ionic: Add XDP packet headroomdrivers/ | +45 | 1 reply | Applied |
| 6/9 | ionic: Add XDP_TX supportdrivers/ drivers/ drivers/ +2 more | +150 | 1 reply | Applied |
| 7/9 | ionic: Add XDP_REDIRECT supportdrivers/ drivers/ drivers/ +2 more | +32 | 1 reply | Applied |
| 8/9 | ionic: add ndo_xdp_xmitdrivers/ drivers/ drivers/ | +66 | 1 reply | Applied |
| 9/9 | ionic: implement xdp frags supportdrivers/ drivers/ | +98 | 2 replies | Applied |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by.
| Patch | Brett Creeley | Jacob Keller |
|---|---|---|
| 1/9 | R-b | R-b |
| 2/9 | R-b | R-b |
| 3/9 | R-b | R-b |
| 4/9 | R-b | |
| 5/9 | R-b | |
| 6/9 | R-b | |
| 7/9 | R-b | |
| 8/9 | R-b | |
| 9/9 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 net-next 0/9] ionic: add XDP support
This patchset is new support in ionic for XDP processing, including basic XDP on Rx packets, TX and REDIRECT, and frags for jumbo frames.
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 near future.
v4:
- removed "inline" from short utility functions
- changed to use "goto err_out" in ionic_xdp_register_rxq_info()
- added "continue" to reduce nesting in ionic_xdp_queues_config()
- used xdp_prog in ionic_rx_clean() to flag whether or not to sync the rx buffer after calling ionix_xdp_run()
- swapped order of XDP_TX and XDP_REDIRECT cases in ionic_xdp_run() to make patch 6 a little cleaner
v3:
https://lore.kernel.org/netdev/[email protected]/
- removed budget==0 patch, sent it separately to net
v2:
https://lore.kernel.org/netdev/[email protected]/
- added calls to txq_trans_cond_update()
- added a new patch to catch NAPI budget==0
v1:
https://lore.kernel.org/netdev/[email protected]/
RFC:
https://lore.kernel.org/netdev/[email protected]/
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 | 193 +++++++- .../net/ethernet/pensando/ionic/ionic_lif.h | 13 + .../net/ethernet/pensando/ionic/ionic_stats.c | 18 + .../net/ethernet/pensando/ionic/ionic_txrx.c | 460 ++++++++++++++++-- .../net/ethernet/pensando/ionic/ionic_txrx.h | 1 + 7 files changed, 663 insertions(+), 38 deletions(-)
Signature · 1 line
2.17.1