NXP DPAA2 driver updates and fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest47 patches 3 repliesIn review
- v145 patches 6 repliesSuperseded
Changes in v2 from the cover letter
- Dropped the header-only patches; every remaining patch now contains the implementation together with its declarations.
- Addressed all findings reported by checkpatch; the series is clean against the current checkpatch.
- Removed the per-device Tx scatter/gather pool member that was never assigned, and used the existing global pool instead.
- Widened the DQRR held-mask shift to 64-bit to avoid undefined behaviour when the DQRR index exceeds 31.
- Bounded the MAC xstats collection loop by the size of the statistics array.
- Treated the traffic class priority mask as a bitmask rather than an index.
- Added a per-entry DQRR consume fallback for portals whose DQRR ring does not fit the vectored consume encoding.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/47 | crypto/dpaa2_sec: fix buffer overflow in GCM decryptdrivers/ drivers/ drivers/ +1 more | +49 | 0 replies | |
| 2/47 | crypto/dpaa2_sec: fix FLE pool leak on sec FD build failuredrivers/ | +6 | 0 replies | |
| 3/47 | crypto/dpaa2_sec: support AES-GMACdoc/ drivers/ drivers/ +2 more | +54 | 1 reply | |
| 4/47 | crypto/dpaa2_sec: increase ivsize range for AES-CTRdrivers/ | +4 | 0 replies | |
| 5/47 | crypto/dpaa2_sec: add missing ECN capabilitydrivers/ | +2 | 0 replies | |
| 6/47 | crypto/dpaa2_sec: add support for env variablesdrivers/ | +36 | 1 reply | |
| 7/47 | net/dpaa2: fix integer overflow in CCSR region mappingdrivers/ | +15 | 0 replies | |
| 8/47 | dma/dpaa2: fix array-bounds warning in dequeue pathdrivers/ drivers/ | +9 | 0 replies | |
| 9/47 | bus/fslmc: defer bus initialization to probedrivers/ | +51 | 0 replies | |
| 10/47 | dma/dpaa2: validate IOVA in pre-populate helpersdrivers/ | +35 | 0 replies | |
| 11/47 | dma/dpaa2: optimize context index ring enqueuedrivers/ | +14 | 0 replies | |
| 12/47 | drivers: add dpaa2 DMA bypass memory translation optiondrivers/ drivers/ | +29 | 0 replies | |
| 13/47 | mempool/dpaa2: support ops index from primary in secondarydrivers/ | +85 | 0 replies | |
| 14/47 | net/dpaa2: set Tx confirmation on device initdrivers/ | +15 | 0 replies | |
| 15/47 | drivers: optimize dpaa2 Tx queue and channel mappingdrivers/ drivers/ drivers/ | +70 | 0 replies | |
| 16/47 | net/dpaa2: support larger burst sizedrivers/ drivers/ drivers/ +1 more | +28 | 0 replies | |
| 17/47 | net/dpaa2: support MPLS and PPPoE flow distributiondrivers/ | +196 | 0 replies | |
| 18/47 | net/dpaa2: support meter and policingdrivers/ drivers/ drivers/ +2 more | +638 | 0 replies | |
| 19/47 | net/dpaa2: support flow drop actiondrivers/ | +7 | 0 replies | |
| 20/47 | net/dpaa2: set default flow miss action per devicedrivers/ drivers/ drivers/ | +5 | 0 replies | |
| 21/47 | net/dpaa2: identify Rx mbuf hash information by FLCdrivers/ drivers/ drivers/ | +70 | 0 replies | |
| 22/47 | net/dpaa2: add minimum key size supportdrivers/ | +5 | 0 replies | |
| 23/47 | net/dpaa2: restructure dpaa2 parser processingdrivers/ drivers/ drivers/ +1 more | +1845 | 0 replies | |
| 24/47 | net/dpaa2: parse tunnel and fragmented packet typesdrivers/ drivers/ | +48 | 0 replies | |
| 25/47 | net/dpaa2: remove unused soft parser driverdrivers/ drivers/ drivers/ +2 more | +0 | 0 replies | |
| 26/47 | drivers: refresh dpaa2 MC and SoC version infodrivers/ drivers/ drivers/ +7 more | +225 | 0 replies | |
| 27/47 | drivers: identify dpaa2 soft parser protocoldrivers/ drivers/ drivers/ +1 more | +126 | 0 replies | |
| 28/47 | drivers: assign dpaa2 Rx CGID per traffic classdrivers/ drivers/ drivers/ | +126 | 0 replies | |
| 29/47 | drivers: inherit dpaa2 rxq config for event queuedrivers/ drivers/ | +3 | 0 replies | |
| 30/47 | net/dpaa2: rename Rx queue flagsdrivers/ drivers/ drivers/ | +9 | 0 replies | |
| 31/47 | drivers: rework dpaa2 Tx confirmationdrivers/ drivers/ drivers/ +4 more | +742 | 0 replies | |
| 32/47 | net/dpaa2: ptp enhancementsdrivers/ drivers/ drivers/ +1 more | +239 | 0 replies | |
| 33/47 | net/dpaa2: remove unused soft parser Tx codedrivers/ | +2 | 0 replies | |
| 34/47 | net/dpaa2: update MC dpni QoS and flow steering APIdrivers/ drivers/ drivers/ +1 more | +206 | 0 replies | |
| 35/47 | net/dpaa2: enhance xstat implementationdrivers/ drivers/ drivers/ | +738 | 0 replies | |
| 36/47 | net/dpaa2: rework flow enginedrivers/ drivers/ drivers/ +2 more | +4119 | 0 replies | |
| 37/47 | net/dpaa2: support GENEVE flow itemdrivers/ | +101 | 0 replies | |
| 38/47 | net/dpaa2: support flow meter and policer actionsdrivers/ | +316 | 0 replies | |
| 39/47 | net/dpaa2: support flow table miss actionsdrivers/ drivers/ | +295 | 0 replies | |
| 40/47 | net/dpaa2: support Rx mempool per traffic classdrivers/ drivers/ | +119 | 0 replies | |
| 41/47 | drivers: consume dpaa2 DQRR entries in batchesdrivers/ drivers/ drivers/ +3 more | +86 | 0 replies | |
| 42/47 | drivers: resolve dpaa2 endpoint in the net driverdrivers/ drivers/ drivers/ +1 more | +70 | 0 replies | |
| 43/47 | drivers: align dpaa2 event port depths with hardware ringsdrivers/ drivers/ drivers/ +1 more | +69 | 0 replies | |
| 44/47 | net/dpaa2: read MC version from device private datadrivers/ drivers/ | +19 | 0 replies | |
| 45/47 | net/dpaa2: do not overwrite mbuf hash with drop prioritydrivers/ | +0 | 0 replies | |
| 46/47 | bus/fslmc: reduce probe-time logging and MC trafficdrivers/ | +1 | 0 replies | |
| 47/47 | net/dpaa2: reject Rx queue deferred startdrivers/ | +7 | 273 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 00/47] NXP DPAA2 driver updates and fixes
This series brings the NXP DPAA2 drivers (net, crypto, dma, event, mempool and the fslmc bus) up to date with the current internal tree. It carries bug fixes, a reworked flow engine, an extended parser, meter and policer support, PTP enhancements, and a number of performance improvements in the Rx/Tx and DQRR handling paths.
The series is based on commit c1a46b9d9243 and is intended for 26.11.
Changes in v2:
- Dropped the header-only patches; every remaining patch now contains the implementation together with its declarations.
- Addressed all findings reported by checkpatch; the series is clean against the current checkpatch.
- Removed the per-device Tx scatter/gather pool member that was never assigned, and used the existing global pool instead.
- Widened the DQRR held-mask shift to 64-bit to avoid undefined behaviour when the DQRR index exceeds 31.
- Bounded the MAC xstats collection loop by the size of the statistics array.
- Treated the traffic class priority mask as a bitmask rather than an index.
- Added a per-entry DQRR consume fallback for portals whose DQRR ring does not fit the vectored consume encoding.
Each of the review fixes above has been folded into the patch that introduced the code in question, so the series remains bisectable.
Build tested with gcc, clang and the aarch64 DPAA cross toolchain (werror enabled, no compiler warnings).
Gagandeep Singh (18):
crypto/dpaa2_sec: fix buffer overflow in GCM decrypt crypto/dpaa2_sec: fix FLE pool leak on sec FD build failure crypto/dpaa2_sec: support AES-GMAC crypto/dpaa2_sec: increase ivsize range for AES-CTR crypto/dpaa2_sec: add missing ECN capability crypto/dpaa2_sec: add support for env variables dma/dpaa2: validate IOVA in pre-populate helpers dma/dpaa2: optimize context index ring enqueue
drivers: add dpaa2 DMA bypass memory translation option net/dpaa2: set Tx confirmation on device init
drivers: optimize dpaa2 Tx queue and channel mapping net/dpaa2: support larger burst size
net/dpaa2: support MPLS and PPPoE flow distribution net/dpaa2: support meter and policing
net/dpaa2: support flow drop action
net/dpaa2: set default flow miss action per device net/dpaa2: identify Rx mbuf hash information by FLC net/dpaa2: enhance xstat implementation
Hemant Agrawal (17):
net/dpaa2: fix integer overflow in CCSR region mapping net/dpaa2: add minimum key size support net/dpaa2: restructure dpaa2 parser processing net/dpaa2: parse tunnel and fragmented packet types net/dpaa2: remove unused soft parser Tx code net/dpaa2: update MC dpni QoS and flow steering API net/dpaa2: rework flow engine
net/dpaa2: support GENEVE flow item
net/dpaa2: support flow meter and policer actions net/dpaa2: support flow table miss actions
drivers: consume dpaa2 DQRR entries in batches
drivers: resolve dpaa2 endpoint in the net driver
drivers: align dpaa2 event port depths with hardware rings net/dpaa2: read MC version from device private data net/dpaa2: do not overwrite mbuf hash with drop priority bus/fslmc: reduce probe-time logging and MC traffic net/dpaa2: reject Rx queue deferred start
Jun Yang (11):
dma/dpaa2: fix array-bounds warning in dequeue path mempool/dpaa2: support ops index from primary in secondary net/dpaa2: remove unused soft parser driver
drivers: refresh dpaa2 MC and SoC version info
drivers: identify dpaa2 soft parser protocol
drivers: assign dpaa2 Rx CGID per traffic class
drivers: inherit dpaa2 rxq config for event queue net/dpaa2: rename Rx queue flags
drivers: rework dpaa2 Tx confirmation
net/dpaa2: ptp enhancements
net/dpaa2: support Rx mempool per traffic class
Prashant Gupta (1):
bus/fslmc: defer bus initialization to probe
doc/guides/rel_notes/release_26_11.rst | 6 + drivers/bus/fslmc/bus_fslmc_driver.h | 14 +- drivers/bus/fslmc/fslmc_bus.c | 177 +- drivers/bus/fslmc/fslmc_vfio.c | 196 +- drivers/bus/fslmc/fslmc_vfio.h | 30 +- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 83 +- drivers/bus/fslmc/portal/dpaa2_hw_dpio.h | 7 - drivers/bus/fslmc/portal/dpaa2_hw_dprc.c | 45 +- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 7 +- drivers/bus/fslmc/private.h | 3 + .../fslmc/qbman/include/fsl_qbman_portal.h | 12 +- drivers/bus/fslmc/qbman/qbman_portal.c | 83 +- drivers/bus/fslmc/qbman/qbman_portal.h | 11 +- drivers/common/dpaax/rte_pmd_dpaax_qdma.h | 4 +- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 98 +- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 45 +- drivers/dma/dpaa2/dpaa2_qdma.c | 155 +- drivers/dma/dpaa2/dpaa2_qdma.h | 1 + drivers/event/dpaa2/dpaa2_eventdev.c | 76 +- drivers/event/dpaa2/dpaa2_eventdev.h | 4 +- drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 88 +- drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 546 -- drivers/net/dpaa2/base/dpaa2_hw_dpni_annot.h | 6 +- drivers/net/dpaa2/dpaa2_ethdev.c | 2135 +++-- drivers/net/dpaa2/dpaa2_ethdev.h | 759 +- drivers/net/dpaa2/dpaa2_flow.c | 6966 ++++++++++------- drivers/net/dpaa2/dpaa2_meter.c | 588 ++ drivers/net/dpaa2/dpaa2_parse_dump.h | 374 - drivers/net/dpaa2/dpaa2_parser_decode.h | 1545 ++++ drivers/net/dpaa2/dpaa2_ptp.c | 161 +- drivers/net/dpaa2/dpaa2_recycle.c | 37 +- drivers/net/dpaa2/dpaa2_rxtx.c | 1902 ++--- drivers/net/dpaa2/dpaa2_sparser.c | 137 - drivers/net/dpaa2/dpaa2_sparser.h | 202 - drivers/net/dpaa2/dpaa2_tm.c | 16 +- drivers/net/dpaa2/mc/dpni.c | 138 +- drivers/net/dpaa2/mc/fsl_dpni.h | 390 +- drivers/net/dpaa2/mc/fsl_dpni_cmd.h | 33 +- drivers/net/dpaa2/meson.build | 5 +- lib/cryptodev/rte_crypto_sym.h | 2 + lib/cryptodev/rte_cryptodev.c | 1 + 41 files changed, 10532 insertions(+), 6556 deletions(-) delete mode 100644 drivers/net/dpaa2/base/dpaa2_hw_dpni.c create mode 100644 drivers/net/dpaa2/dpaa2_meter.c delete mode 100644 drivers/net/dpaa2/dpaa2_parse_dump.h 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