Skip to content

net/dpaa2: bus, DMA, eventdev and datapath rework

Prashant Gupta dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10drivers: add dpaa2 DMA bypass memory translation optiondrivers/common/dpaax/rte_pmd_dpaax_qdma.h drivers/dma/dpaa2/dpaa2_qdma.c+50 -410 replies
2/10drivers: optimize dpaa2 Tx queue and channel mappingdrivers/bus/fslmc/portal/dpaa2_hw_pvt.h drivers/net/dpaa2/dpaa2_ethdev.c drivers/net/dpaa2/dpaa2_ethdev.h+84 -470 replies
3/10drivers: refresh dpaa2 MC and SoC version infodrivers/bus/fslmc/bus_fslmc_driver.h drivers/bus/fslmc/fslmc_bus.c drivers/bus/fslmc/fslmc_vfio.c +7 more+219 -1361 reply
4/10drivers: identify dpaa2 soft parser protocoldrivers/bus/fslmc/fslmc_bus.c drivers/net/dpaa2/dpaa2_ethdev.c drivers/net/dpaa2/dpaa2_flow.c +1 more+134 -980 replies
5/10drivers: assign dpaa2 Rx CGID per traffic classdrivers/bus/fslmc/portal/dpaa2_hw_pvt.h drivers/net/dpaa2/dpaa2_ethdev.c drivers/net/dpaa2/dpaa2_ethdev.h+126 -1320 replies
6/10drivers: inherit dpaa2 rxq config for event queuedrivers/bus/fslmc/portal/dpaa2_hw_pvt.h drivers/net/dpaa2/dpaa2_ethdev.c+3 -21 reply
7/10drivers: rework dpaa2 Tx confirmationdoc/guides/nics/dpaa2.rst drivers/bus/fslmc/portal/dpaa2_hw_pvt.h drivers/net/dpaa2/base/dpaa2_hw_dpni.c +5 more+748 -8720 replies
8/10drivers: consume dpaa2 DQRR entries in batchesdrivers/bus/fslmc/portal/dpaa2_hw_dpio.c drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h drivers/bus/fslmc/qbman/qbman_portal.c +3 more+81 -80 replies
9/10drivers: resolve dpaa2 endpoint in the net driverdrivers/bus/fslmc/bus_fslmc_driver.h drivers/bus/fslmc/portal/dpaa2_hw_dprc.c drivers/net/dpaa2/dpaa2_ethdev.c +1 more+71 -510 replies
10/10drivers: align dpaa2 event port depths with hardware ringsdrivers/bus/fslmc/qbman/include/fsl_qbman_portal.h drivers/bus/fslmc/qbman/qbman_portal.c drivers/event/dpaa2/dpaa2_eventdev.c +1 more+69 -290 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH v3-S3 00/10] net/dpaa2: bus, DMA, eventdev and datapath rework

This is the third of four dpaa2 upstreaming sub-series, applied on top of v3-S1 and v3-S2. It reworks the fslmc bus, DMA, eventdev and the net datapath.

Highlights:
- add a DMA bypass memory translation option and optimize the Tx queue

    and channel mapping;
  - refresh the MC and SoC version information and identify the soft
    parser protocol;
  - assign the Rx CGID per traffic class and inherit the rxq config for
    the event queue;

- rework Tx confirmation and consume DQRR entries in batches;
- resolve the dpaa2 endpoint in the net driver and align the event port depths with the hardware rings.

Every commit builds cleanly (arm64, -Werror) and the series is bisectable.

Depends-on: series-39291 ("net/dpaa2: flow, meter and parser features")

Gagandeep Singh (2):
drivers: add dpaa2 DMA bypass memory translation option
drivers: optimize dpaa2 Tx queue and channel mapping

Jun Yang (8):
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
drivers: rework dpaa2 Tx confirmation
drivers: consume dpaa2 DQRR entries in batches
drivers: resolve dpaa2 endpoint in the net driver
drivers: align dpaa2 event port depths with hardware rings

 doc/guides/nics/dpaa2.rst                     |   16 +-
 drivers/bus/fslmc/bus_fslmc_driver.h          |   15 +-
 drivers/bus/fslmc/fslmc_bus.c                 |   93 +-
 drivers/bus/fslmc/fslmc_vfio.c                |  193 ++-
 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        |   78 +-
 drivers/bus/fslmc/qbman/qbman_portal.h        |   11 +-
 drivers/common/dpaax/rte_pmd_dpaax_qdma.h     |    4 +-
 drivers/dma/dpaa2/dpaa2_qdma.c                |   87 +-
 drivers/event/dpaa2/dpaa2_eventdev.c          |   76 +-
 drivers/event/dpaa2/dpaa2_eventdev.h          |    4 +-
 drivers/net/dpaa2/base/dpaa2_hw_dpni.c        |    2 +-
 drivers/net/dpaa2/base/dpaa2_hw_dpni_annot.h  |    6 +-
 drivers/net/dpaa2/dpaa2_ethdev.c              |  516 +++---
 drivers/net/dpaa2/dpaa2_ethdev.h              |   38 +-
 drivers/net/dpaa2/dpaa2_flow.c                |  129 +-
 drivers/net/dpaa2/dpaa2_ptp.c                 |    4 +-
 drivers/net/dpaa2/dpaa2_recycle.c             |   15 +-
 drivers/net/dpaa2/dpaa2_rxtx.c                | 1515 ++++++++---------
 25 files changed, 1579 insertions(+), 1410 deletions(-)
Signature · 1 line
2.43.0