Skip to content

dma: add dmadev driver for ioat devices

Conor Walsh dpdk-dev 8 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest12 patches 4 repliesApplied
  2. v712 patches 1 replySuperseded
  3. v612 patches 0 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v512 patches3 repliesSuperseded
v411 patches18 repliesSuperseded
v311 patches0 repliesSuperseded
v210 patches10 repliesSuperseded
v18 patches0 repliesSuperseded

Changes in v8 from the cover letter

- Fixed compliation issue for individual patches.
- Rebased on main and v8 of IDXD.

Patches in v8 Applied

#Subject and filesSizeRepliesApplied
1/12dma/ioat: add device probe and removal functionsMAINTAINERS doc/guides/dmadevs/index.rst doc/guides/dmadevs/ioat.rst +7 more+218 -00 replies
2/12dma/ioat: create dmadev instances on PCI probedrivers/dma/ioat/ioat_dmadev.c drivers/dma/ioat/ioat_hw_defs.h drivers/dma/ioat/ioat_internal.h+175 -20 replies
3/12dma/ioat: add datapath structuresdrivers/dma/ioat/ioat_dmadev.c drivers/dma/ioat/ioat_hw_defs.h+284 -10 replies
4/12dma/ioat: add configuration functionsdoc/guides/dmadevs/ioat.rst drivers/dma/ioat/ioat_dmadev.c+122 -00 replies
5/12dma/ioat: add start and stop functionsdoc/guides/dmadevs/ioat.rst drivers/dma/ioat/ioat_dmadev.c+95 -00 replies
6/12dma/ioat: add data path job submission functionsdoc/guides/dmadevs/ioat.rst drivers/dma/ioat/ioat_dmadev.c+101 -00 replies
7/12dma/ioat: add data path completion functionsdoc/guides/dmadevs/ioat.rst drivers/dma/ioat/ioat_dmadev.c+173 -10 replies
8/12dma/ioat: add statisticsdrivers/dma/ioat/ioat_dmadev.c+43 -00 replies
9/12dma/ioat: add support for vchan status functiondrivers/dma/ioat/ioat_dmadev.c+21 -00 replies
10/12dma/ioat: add burst capacity functiondrivers/dma/ioat/ioat_dmadev.c+14 -00 replies
11/12devbind: move ioat device IDs to dmadev categoryusertools/dpdk-devbind.py+3 -40 replies
12/12raw/ioat: deprecate ioat rawdev driverMAINTAINERS doc/guides/rawdevs/ioat.rst doc/guides/rel_notes/deprecation.rst+12 -10 replies

Reviews trailers per patch

All 12 patches have a Reviewed-by or Acked-by.

PatchKevin LaatzChengwen FengBruce RichardsonThomas Monjalon
1/12R-b R-b
2/12R-b
3/12R-b
4/12R-b
5/12R-b
6/12R-b R-b
7/12A-b
8/12R-b A-b
9/12R-b A-b
10/12A-b
11/12R-b R-b
12/12A-b A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v8 thread

Cover letter [dpdk-dev] [PATCH v8 00/12] dma: add dmadev driver for ioat devices

This patchset adds a dmadev driver and associated documentation to support Intel QuickData Technology devices, part of the Intel I/O Acceleration Technology (Intel I/OAT). This driver is intended to ultimately replace the current IOAT part of the IOAT rawdev driver.
This patchset passes all the driver tests added in the dmadev test suite.

Depends-on: series-19737 ("add dmadev driver for idxd devices")

---

v8:
- Fixed compliation issue for individual patches.
- Rebased on main and v8 of IDXD.

v7:
- Minor rework to update from v23 to v26 of the dmadev lib.

v6:
- Added rawdev IOAT deprecation notice to deprecation.rst.

v5:
- Updated to v23 of the dmadev lib.
- Removed experimental tag for driver from MAINTAINERS.
- Seperated IOAT and IDXD announcements in release notes.
- Added missing check for rte_dma_get_dev_id in destroy.
- Fixed memleak in destroy caused by NULL pointer.
- Rewrote part of the docs to reduce duplication with DMA and IDXD.
- Added patch to deprecate the rawdev IOAT driver.
- Reworked destroy and close functions.
- Added RTE_DMA_CAPA_HANDLES_ERRORS flag for IOAT versions >=3.4.
- Other minor changes to IOAT driver.

v4:
- Changes needed to update from dmadev v21 to v22.
- Fixed 32-bit build.
- Made stats reset logic easier to understand.

v3:
- Added burst capacity function.
- Stop function now waits for suspend rather than just using a sleep.
- Changed from vchan idle to vchan status function.
- Other minor changes to update from dmadev v19 to v21.

v2:
- Rebased on the above patchsets.

Conor Walsh (12):
dma/ioat: add device probe and removal functions dma/ioat: create dmadev instances on PCI probe dma/ioat: add datapath structures dma/ioat: add configuration functions dma/ioat: add start and stop functions dma/ioat: add data path job submission functions dma/ioat: add data path completion functions dma/ioat: add statistics
dma/ioat: add support for vchan status function dma/ioat: add burst capacity function
devbind: move ioat device IDs to dmadev category raw/ioat: deprecate ioat rawdev driver

 MAINTAINERS                            |   8 +-
 doc/guides/dmadevs/index.rst           |   2 +
 doc/guides/dmadevs/ioat.rst            | 127 +++++
 doc/guides/rawdevs/ioat.rst            |   4 +
 doc/guides/rel_notes/deprecation.rst   |   7 +
 doc/guides/rel_notes/release_21_11.rst |   6 +
 drivers/dma/ioat/ioat_dmadev.c         | 748 +++++++++++++++++++++++++
 drivers/dma/ioat/ioat_hw_defs.h        | 295 ++++++++++
 drivers/dma/ioat/ioat_internal.h       |  47 ++
 drivers/dma/ioat/meson.build           |   7 +
 drivers/dma/ioat/version.map           |   3 +
 drivers/dma/meson.build                |   1 +
 usertools/dpdk-devbind.py              |   7 +-
 13 files changed, 1257 insertions(+), 5 deletions(-)
 create mode 100644 doc/guides/dmadevs/ioat.rst
 create mode 100644 drivers/dma/ioat/ioat_dmadev.c
 create mode 100644 drivers/dma/ioat/ioat_hw_defs.h
 create mode 100644 drivers/dma/ioat/ioat_internal.h
 create mode 100644 drivers/dma/ioat/meson.build
 create mode 100644 drivers/dma/ioat/version.map
Signature · 1 line
2.25.1