net/dpaa2, event/dpaa2 and fslmc rework
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest65 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/65 | net/dpaa2: refactor and optimize Rx parser result decodedoc/ drivers/ drivers/ +5 more | +1826 | 0 replies | |
| 2/65 | net/dpaa2: generate devargs table and string from one listdrivers/ drivers/ | +106 | 0 replies | |
| 3/65 | crypto/dpaa2_sec: use table-driven devargs parsingdrivers/ drivers/ | +61 | 0 replies | |
| 4/65 | dma/dpaa2: use table-driven devargs parsingdrivers/ drivers/ | +33 | 0 replies | |
| 5/65 | net/dpaa2: unify debug dump via log based helpersdrivers/ drivers/ drivers/ | +41 | 0 replies | |
| 6/65 | net/dpaa2: expose Rx L3/L4/L5 offsets via mbuf dynfielddrivers/ drivers/ drivers/ +1 more | +133 | 0 replies | |
| 7/65 | net/dpaa2: optimize dpaa2 Tx queue and channel mappingdrivers/ drivers/ drivers/ | +78 | 0 replies | |
| 8/65 | bus/fslmc: split bus-level device walk from VFIO primitivesdrivers/ drivers/ drivers/ +2 more | +326 | 1 reply | |
| 9/65 | bus/fslmc: centralize MC version and SoC detection in the bus layerdrivers/ drivers/ drivers/ +7 more | +198 | 0 replies | |
| 10/65 | net/dpaa2: remove unused soft parser loaderdrivers/ drivers/ drivers/ +6 more | +107 | 0 replies | |
| 11/65 | net/dpaa2: cache per-rxq DPNI queue cfg and share CGID per TCdrivers/ drivers/ drivers/ | +134 | 0 replies | |
| 12/65 | The dpaa2 PMD so far supported only two Tx buffer release schemes: direct release by hardware, and an absolute Tx confirmation mode (drv_tx_conf=1) where every transmitted buffer is returned on a Tx confirmation queue that software must poll to free the buffers. Absolute confirmation adds a confirmation descriptor and a poll cost for all packets, even those the hardware could free on its own.doc/ drivers/ drivers/ +4 more | +683 | 0 replies | |
| 13/65 | net/dpaa2: support runtime IEEE1588 timestampingdoc/ drivers/ drivers/ +4 more | +335 | 0 replies | |
| 14/65 | bus/fslmc: consume dpaa2 DQRR entries in batchesdrivers/ drivers/ drivers/ +3 more | +81 | 0 replies | |
| 15/65 | bus/fslmc: align dpaa2 event port depths with hardware ringsdrivers/ drivers/ drivers/ +1 more | +69 | 0 replies | |
| 16/65 | net/dpaa2: support multi-DPNI FS redirect and QoS table v3drivers/ drivers/ drivers/ +2 more | +189 | 0 replies | |
| 17/65 | net/dpaa2: rework xstats with page table and MAC supportdrivers/ drivers/ drivers/ | +708 | 0 replies | |
| 18/65 | net/dpaa2: unify xstats layout and add DPMAC counter structdrivers/ drivers/ drivers/ | +378 | 0 replies | |
| 19/65 | net/dpaa2: reimplement xstats_get() on top of xstats_get_by_id()drivers/ | +42 | 0 replies | |
| 20/65 | net/dpaa2: fetch only requested MAC xstats in one MC calldrivers/ | +44 | 0 replies | |
| 21/65 | net/dpaa2: rework flow with per-table profile and group typesdoc/ drivers/ drivers/ +3 more | +4209 | 0 replies | |
| 22/65 | net/dpaa2: reimplement RSS distribution via rte_flowdoc/ drivers/ drivers/ +3 more | +311 | 0 replies | |
| 23/65 | net/dpaa2: expand IP address extracts for RSS hashingdrivers/ drivers/ | +55 | 0 replies | |
| 24/65 | net/dpaa2: add policer v2 MC command and L2/L3 byte unitsdrivers/ drivers/ | +53 | 0 replies | |
| 25/65 | net/dpaa2: support rte_mtr and METER rte_flow actiondrivers/ drivers/ drivers/ +2 more | +948 | 0 replies | |
| 26/65 | net/dpaa2: program flow table miss actions via rte_flowdrivers/ | +243 | 0 replies | |
| 27/65 | net/dpaa2: support DCB Rx mode via rte_flowdrivers/ drivers/ drivers/ | +105 | 0 replies | |
| 28/65 | net/dpaa2: reject Rx queue deferred startdrivers/ | +7 | 0 replies | |
| 29/65 | bus/fslmc: support DPCI peer and dynamic queuesdrivers/ drivers/ drivers/ +3 more | +282 | 0 replies | |
| 30/65 | bus/fslmc: add alloc/free DPIO API for non-affine portalsdrivers/ drivers/ | +48 | 0 replies | |
| 31/65 | event/dpaa2: rework event port model and DPCI handlingdrivers/ drivers/ drivers/ +8 more | +464 | 0 replies | |
| 32/65 | event/dpaa2: fix Tx adapter enqueue for mixed destinationsdrivers/ | +12 | 0 replies | |
| 33/65 | event/dpaa2: rework self test for dynamic link and balance checkdrivers/ | +197 | 0 replies | |
| 34/65 | event/dpaa2: add DPCON based standalone Rx schedulerdrivers/ drivers/ drivers/ +6 more | +579 | 0 replies | |
| 35/65 | event/dpaa2: add push mode to DPCON Rx schedulerdrivers/ drivers/ | +167 | 0 replies | |
| 36/65 | event/dpaa2: drain Rx scheduler queues on destroydrivers/ | +117 | 0 replies | |
| 37/65 | event/dpaa2: track and detach attached Rx queuesdrivers/ drivers/ drivers/ +3 more | +293 | 0 replies | |
| 38/65 | net/dpaa2: add multi-port Tx APIdrivers/ drivers/ drivers/ +1 more | +66 | 0 replies | |
| 39/65 | event/dpaa2: limit attached Rx flows per event queuedrivers/ drivers/ | +6 | 0 replies | |
| 40/65 | eventdev: fix port link/unlink callback return documentationlib/ | +5 | 0 replies | |
| 41/65 | event/dpaa2: allow event queue link to multiple portsdrivers/ drivers/ drivers/ +1 more | +140 | 0 replies | |
| 42/65 | event/dpaa2: report available DPIO count and fix create cleanupdrivers/ drivers/ drivers/ +1 more | +73 | 0 replies | |
| 43/65 | event/dpaa2: use event port DPIO for dequeue waitdrivers/ | +5 | 0 replies | |
| 44/65 | bus/fslmc: consolidate DPIO interrupt setup and bound coalescingdrivers/ drivers/ drivers/ +3 more | +79 | 0 replies | |
| 45/65 | event/dpaa2: honor configured dequeue timeoutdrivers/ drivers/ | +22 | 0 replies | |
| 46/65 | bus/fslmc: use EAL API for DPIO interruptdrivers/ drivers/ drivers/ | +43 | 0 replies | |
| 47/65 | bus/fslmc: defer DPIO interrupt setup and bind portal to worker coredrivers/ drivers/ drivers/ +4 more | +266 | 0 replies | |
| 48/65 | bus/fslmc: move Tx SG mempool to fslmc busdrivers/ drivers/ drivers/ +2 more | +22 | 0 replies | |
| 49/65 | net/dpaa2: move DPNI endpoint lookup out of the fslmc busdrivers/ drivers/ drivers/ +1 more | +71 | 0 replies | |
| 50/65 | net/dpaa2: add APIs to query device info and set default actiondrivers/ drivers/ | +140 | 0 replies | |
| 51/65 | net/dpaa2: consolidate dequeue paths and optimize fast pathdrivers/ drivers/ drivers/ +2 more | +357 | 0 replies | |
| 52/65 | net/dpaa2: bind per-queue DPIO for rx-queue interruptsdrivers/ drivers/ drivers/ +3 more | +234 | 2 replies | |
| 53/65 | net/dpaa2: add API to clean Tx confirmation queuedrivers/ drivers/ drivers/ +2 more | +38 | 0 replies | |
| 54/65 | event/dpaa2: fix DQRR held buffer accounting on enqueuedrivers/ | +10 | 0 replies | |
| 55/65 | bus/fslmc: store dequeue dpio in mbuf seq dynfielddrivers/ drivers/ | +23 | 0 replies | |
| 56/65 | bus/fslmc: use explicit flags for mbuf seqn encodingdrivers/ drivers/ drivers/ | +14 | 0 replies | |
| 57/65 | net/dpaa2: unify tx burst path for ordered and atomic enqueuedrivers/ drivers/ drivers/ | +84 | 0 replies | |
| 58/65 | crypto/dpaa2_sec: unify enqueue burst path for ordered enqueuedrivers/ | +175 | 0 replies | |
| 59/65 | bus/fslmc: track atomic DCA context per dequeue dpiodrivers/ drivers/ drivers/ +1 more | +141 | 0 replies | |
| 60/65 | bus/fslmc: move enqueue response descriptors to per-queuedrivers/ drivers/ drivers/ +4 more | +195 | 0 replies | |
| 61/65 | event/dpaa2: add ordered schedule type supportdrivers/ | +65 | 0 replies | |
| 62/65 | bus/fslmc: make DPAA2 ORP/ODP ordering per-queue instead of per-devicedoc/ drivers/ drivers/ +7 more | +158 | 0 replies | |
| 63/65 | event/dpaa2: support multi-port enqueue in selftest random event generatordrivers/ | +29 | 0 replies | |
| 64/65 | event/dpaa2: do not fail device creation on DPCI errorsdrivers/ | +31 | 0 replies | |
| 65/65 | net/dpaa2: add Tx fast path for no-confirmation casedrivers/ | +122 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v4-S3 00/65] net/dpaa2, event/dpaa2 and fslmc rework
This is the final DPAA2 upstreaming sub-series, applied on top of v7-S1 ("dpaa2: bus, DMA and mempool base fixes") and v14-S2 ("net/dpaa2 updates").
The series reworks the DPAA2 datapath, flow steering, metering, eventdev integration and fslmc infrastructure. It consolidates device configuration handling, improves queue and portal management, and adds support for additional DPNI, eventdev and datapath capabilities.
Highlights:
- add DMA bypass translation support and table-driven devargs parsing;
- optimize Tx queue, channel and dequeue processing paths;
- centralize MC version, SoC detection and endpoint handling;
- rework RSS, flow steering, QoS and default action programming;
- add rte_mtr support and meter rte_flow actions;
- improve eventdev scheduling, DPCI support and multi-port operation;
- support runtime IEEE1588 timestamping;
- rework xstats collection and MAC statistics handling;
- unify enqueue/dequeue datapaths across net, crypto and eventdev;
- add Tx fast paths and reduce confirmation overhead.
Every commit builds cleanly with arm64 and -Werror and the series remains bisectable.
Breeson Francis (1):
net/dpaa2: rework xstats with page table and MAC support
Hemant Agrawal (1):
net/dpaa2: reject Rx queue deferred start
Jun Yang (63):
net/dpaa2: refactor and optimize Rx parser result decode net/dpaa2: generate devargs table and string from one list crypto/dpaa2_sec: use table-driven devargs parsing dma/dpaa2: use table-driven devargs parsing
net/dpaa2: unify debug dump via log based helpers net/dpaa2: expose Rx L3/L4/L5 offsets via mbuf dynfield net/dpaa2: optimize dpaa2 Tx queue and channel mapping bus/fslmc: split bus-level device walk from VFIO primitives bus/fslmc: centralize MC version and SoC detection in the bus layer net/dpaa2: remove unused soft parser loader
net/dpaa2: cache per-rxq DPNI queue cfg and share CGID per TC The dpaa2 PMD so far supported only two Tx buffer release schemes:
direct release by hardware, and an absolute Tx confirmation mode (drv_tx_conf=1) where every transmitted buffer is returned on a Tx confirmation queue that software must poll to free the buffers. Absolute confirmation adds a confirmation descriptor and a poll cost for all packets, even those the hardware could free on its own.
net/dpaa2: support runtime IEEE1588 timestamping bus/fslmc: consume dpaa2 DQRR entries in batches bus/fslmc: align dpaa2 event port depths with hardware rings net/dpaa2: support multi-DPNI FS redirect and QoS table v3 net/dpaa2: unify xstats layout and add DPMAC counter struct net/dpaa2: reimplement xstats_get() on top of xstats_get_by_id() net/dpaa2: fetch only requested MAC xstats in one MC call net/dpaa2: rework flow with per-table profile and group types net/dpaa2: reimplement RSS distribution via rte_flow net/dpaa2: expand IP address extracts for RSS hashing net/dpaa2: add policer v2 MC command and L2/L3 byte units net/dpaa2: support rte_mtr and METER rte_flow action net/dpaa2: program flow table miss actions via rte_flow net/dpaa2: support DCB Rx mode via rte_flow
bus/fslmc: support DPCI peer and dynamic queues
bus/fslmc: add alloc/free DPIO API for non-affine portals event/dpaa2: rework event port model and DPCI handling event/dpaa2: fix Tx adapter enqueue for mixed destinations event/dpaa2: rework self test for dynamic link and balance check event/dpaa2: add DPCON based standalone Rx scheduler event/dpaa2: add push mode to DPCON Rx scheduler event/dpaa2: drain Rx scheduler queues on destroy event/dpaa2: track and detach attached Rx queues net/dpaa2: add multi-port Tx API
event/dpaa2: limit attached Rx flows per event queue
eventdev: fix port link/unlink callback return documentation event/dpaa2: allow event queue link to multiple ports event/dpaa2: report available DPIO count and fix create cleanup event/dpaa2: use event port DPIO for dequeue wait bus/fslmc: consolidate DPIO interrupt setup and bound coalescing event/dpaa2: honor configured dequeue timeout
bus/fslmc: use EAL API for DPIO interrupt
bus/fslmc: defer DPIO interrupt setup and bind portal to worker core bus/fslmc: move Tx SG mempool to fslmc bus
net/dpaa2: move DPNI endpoint lookup out of the fslmc bus net/dpaa2: add APIs to query device info and set default action net/dpaa2: consolidate dequeue paths and optimize fast path net/dpaa2: bind per-queue DPIO for rx-queue interrupts net/dpaa2: add API to clean Tx confirmation queue event/dpaa2: fix DQRR held buffer accounting on enqueue bus/fslmc: store dequeue dpio in mbuf seq dynfield bus/fslmc: use explicit flags for mbuf seqn encoding net/dpaa2: unify tx burst path for ordered and atomic enqueue crypto/dpaa2_sec: unify enqueue burst path for ordered enqueue bus/fslmc: track atomic DCA context per dequeue dpio bus/fslmc: move enqueue response descriptors to per-queue event/dpaa2: add ordered schedule type support
bus/fslmc: make DPAA2 ORP/ODP ordering per-queue instead of per-device event/dpaa2: support multi-port enqueue in selftest random event
generator
event/dpaa2: do not fail device creation on DPCI errors net/dpaa2: add Tx fast path for no-confirmation case
doc/guides/nics/dpaa2.rst | 29 +- doc/guides/rel_notes/release_26_11.rst | 10 + drivers/bus/fslmc/bus_fslmc_driver.h | 46 +- drivers/bus/fslmc/fslmc_bus.c | 321 +- drivers/bus/fslmc/fslmc_logs.h | 2 + drivers/bus/fslmc/fslmc_vfio.c | 562 +- drivers/bus/fslmc/fslmc_vfio.h | 72 +- drivers/bus/fslmc/mc/dpci.c | 37 +- drivers/bus/fslmc/mc/fsl_dpci.h | 12 +- drivers/bus/fslmc/portal/dpaa2_hw_dpci.c | 304 +- drivers/bus/fslmc/portal/dpaa2_hw_dpcon.c | 25 +- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 668 +- drivers/bus/fslmc/portal/dpaa2_hw_dpio.h | 37 +- drivers/bus/fslmc/portal/dpaa2_hw_dprc.c | 52 +- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 305 +- drivers/bus/fslmc/private.h | 15 +- .../fslmc/qbman/include/fsl_qbman_portal.h | 24 +- drivers/bus/fslmc/qbman/qbman_portal.c | 100 +- drivers/bus/fslmc/qbman/qbman_portal.h | 11 +- drivers/bus/fslmc/qbman/qbman_sys.h | 4 +- drivers/common/dpaax/dpaax_devarg.h | 69 + drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 559 +- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 11 +- drivers/dma/dpaa2/dpaa2_qdma.c | 92 +- drivers/dma/dpaa2/dpaa2_qdma.h | 15 +- drivers/event/dpaa2/dpaa2_eventdev.c | 1266 ++- drivers/event/dpaa2/dpaa2_eventdev.h | 61 +- drivers/event/dpaa2/dpaa2_eventdev_selftest.c | 370 +- drivers/event/dpaa2/dpaa2_scheduler.c | 673 ++ drivers/event/dpaa2/meson.build | 3 +- drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 544 -- drivers/net/dpaa2/base/dpaa2_hw_dpni_annot.h | 6 +- drivers/net/dpaa2/dpaa2_ethdev.c | 3201 ++++--- drivers/net/dpaa2/dpaa2_ethdev.h | 997 +- drivers/net/dpaa2/dpaa2_flow.c | 8426 ++++++++--------- drivers/net/dpaa2/dpaa2_meter.c | 584 ++ drivers/net/dpaa2/dpaa2_parse_dump.h | 707 +- drivers/net/dpaa2/dpaa2_parser_decode.h | 1148 +++ drivers/net/dpaa2/dpaa2_pmd_logs.h | 34 +- drivers/net/dpaa2/dpaa2_ptp.c | 177 +- drivers/net/dpaa2/dpaa2_recycle.c | 18 +- drivers/net/dpaa2/dpaa2_rxtx.c | 2818 +++--- drivers/net/dpaa2/dpaa2_sparser.c | 137 - drivers/net/dpaa2/dpaa2_sparser.h | 202 - drivers/net/dpaa2/mc/dpni.c | 127 +- drivers/net/dpaa2/mc/fsl_dpni.h | 378 +- drivers/net/dpaa2/mc/fsl_dpni_cmd.h | 30 +- drivers/net/dpaa2/mc/fsl_net.h | 4 +- drivers/net/dpaa2/meson.build | 3 +- drivers/net/dpaa2/rte_pmd_dpaa2.h | 238 +- lib/eventdev/eventdev_pmd.h | 9 +- 51 files changed, 14514 insertions(+), 11029 deletions(-) create mode 100644 drivers/common/dpaax/dpaax_devarg.h create mode 100644 drivers/event/dpaa2/dpaa2_scheduler.c delete mode 100644 drivers/net/dpaa2/base/dpaa2_hw_dpni.c create mode 100644 drivers/net/dpaa2/dpaa2_meter.c create mode 100644 drivers/net/dpaa2/dpaa2_parser_decode.h delete mode 100644 drivers/net/dpaa2/dpaa2_sparser.c delete mode 100644 drivers/net/dpaa2/dpaa2_sparser.h
Signature · 1 line
2.43.0