Skip to content

DPAA driver changes

Gagandeep Singh dpdk-dev 5 versions – Applied

Status from this message: Applied to next-net for 27.03

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 1 replyApplied
  2. v44 patches 1 replySuperseded
  3. v34 patches 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches3 repliesSuperseded
v13 patches2 repliesSuperseded

V1 from the cover letter

- Adding OH port support.
- Updates in shared ethernet code.
- Congestion related code cleanup.

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/4bus/dpaa: fix out-of-bounds read of mac_idx arraydrivers/bus/dpaa/base/fman/fman.c drivers/bus/dpaa/include/fman.h drivers/net/dpaa/dpaa_flow.c+28 -20 replies
2/4drivers: add offline (O/H) port device supportdoc/api/doxy-api-index.md doc/guides/nics/dpaa.rst doc/guides/rel_notes/release_26_11.rst +8 more+1281 -160 replies
3/4net/dpaa: support non fmX-macY type of shared Ethernet namedoc/guides/nics/dpaa.rst drivers/net/dpaa/dpaa_ethdev.c+72 -20 replies
4/4drivers: add DPAA cgrid cleanup supportdrivers/bus/dpaa/base/qbman/qman.c drivers/bus/dpaa/dpaa_bus_base_symbols.c drivers/bus/dpaa/include/fsl_qman.h +1 more+243 -120 replies

Reviews trailers per patch

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

Read the v5 thread

Cover letter [PATCH v5 0/4] DPAA driver changes

V5-Changes:
- Added a reset FQ helper as per the AI suggestion
- Fixed the portid issue.
- Added explicit padding, uint8_t, size checks. The version ioctl is not avilable in CDX module as of now, so mismatch module will fails at probe only through existing ioctl errors.
- Fixed stale FQs run at close issue.
- Added a AI suggested warning.
- The scan moved to probe, close no longer scans. A single combined pass would need the Tx CGRIDs before the Rx CGRs are created and a scan that takes two ranges, which is too big for this series and saves only one scan per port at startup.

V4-Changes:
- Fixed ol_fd leak issue.
- Fixed the FQID hold be kernel issue.
- removed the not required locks.
- fixed unwanted line and memcpy issue.
- We want to have rte_pmd_dpaa_ol_* functions, the reason we sent over the email.

V3-Changes:
- Updated rte_pmd_dpaa_oldev.h APIs as per DPDK compliance.
- Added missing release not for OH port support.
- Fixed dump_netcfg issue.
- Added an API to release FQID.
- moved the fman.h changes to first patch.

V2-changes:
- Fixed most of the AI comments.
- added new patch:
fix out-of-bounds read of mac_idx
- removed drv_oldev, updated comments and notes.
- fixes FQ shutdown
- removed unwanted checks, updated open, updated snprintf.
- updated commit messages.

V1:
- Adding OH port support.
- Updates in shared ethernet code.
- Congestion related code cleanup.

Gagandeep Singh (2):
bus/dpaa: fix out-of-bounds read of mac_idx array
drivers: add offline (O/H) port device support

Hemant Agrawal (1):
net/dpaa: support non fmX-macY type of shared Ethernet name

Jun Yang (1):
drivers: add DPAA cgrid cleanup support

 doc/api/doxy-api-index.md                |   1 +
 doc/guides/nics/dpaa.rst                 |  36 +
 doc/guides/rel_notes/release_26_11.rst   |  10 +
 drivers/bus/dpaa/base/fman/fman.c        |  19 +
 drivers/bus/dpaa/base/qbman/qman.c       |  61 ++
 drivers/bus/dpaa/bus_dpaa_driver.h       |   4 +-
 drivers/bus/dpaa/dpaa_bus.c              |  68 +-
 drivers/bus/dpaa/dpaa_bus_base_symbols.c |   2 +
 drivers/bus/dpaa/include/fman.h          |   6 +-
 drivers/bus/dpaa/include/fsl_qman.h      |  28 +
 drivers/net/dpaa/dpaa_ethdev.c           | 234 +++++-
 drivers/net/dpaa/dpaa_ethdev.h           |  12 +
 drivers/net/dpaa/dpaa_flow.c             |   5 +-
 drivers/net/dpaa/dpaa_oldev.c            | 959 +++++++++++++++++++++++
 drivers/net/dpaa/meson.build             |  11 +-
 drivers/net/dpaa/rte_pmd_dpaa_oldev.h    | 198 +++++
 16 files changed, 1623 insertions(+), 31 deletions(-)
 create mode 100644 drivers/net/dpaa/dpaa_oldev.c
 create mode 100644 drivers/net/dpaa/rte_pmd_dpaa_oldev.h
Signature · 1 line
2.25.1