Skip to content

dma/ioat: fix issues with stopping and restarting device

Bruce Richardson dpdk-dev 3 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. v3 Latest6 patches 3 repliesApplied
  2. v26 patches 18 repliesSuperseded
  3. v15 patches 2 repliesSuperseded

Changes in v3 from the cover letter

* remove unnecessary mempool free on error (patch 4), as noted by Chengwen v2:
* extra patch to fix issues with error reporting, as noted by Conor W.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/6dma/ioat: fix device stop if no copies donedrivers/dma/ioat/ioat_dmadev.c+15 -40 replies
2/6dma/ioat: fix incorrectly set indexes after restartdrivers/dma/ioat/ioat_dmadev.c+7 -00 replies
3/6dma/ioat: fix incorrect error reporting on restartdrivers/dma/ioat/ioat_dmadev.c+3 -20 replies
4/6test/dmadev: check result for device stopapp/test/test_dmadev.c+4 -11 reply
5/6test/dmadev: create separate function for single copy testapp/test/test_dmadev.c+64 -560 replies
6/6test/dmadev: add tests for stopping and restarting devapp/test/test_dmadev.c+46 -01 reply

Reviews trailers per patch

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

PatchConor WalshKevin LaatzChengwen Feng
1/6R-b A-b
2/6R-b A-b
3/6R-b A-b
4/6R-b A-b A-b
5/6A-b A-b
6/6A-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 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/6] dma/ioat: fix issues with stopping and restarting device

This patchset fixes a couple of problems with stopping and restarting an ioat DMA device. Following the three fixes, a series of improvements are made to the dmadev unit tests to properly validate that dmadevs work correctly as they are started and stopped, and ensure that no other or future drivers will suffer from issues.

v3:
* remove unnecessary mempool free on error (patch 4), as noted by Chengwen v2:
* extra patch to fix issues with error reporting, as noted by Conor W.

Bruce Richardson (6):
dma/ioat: fix device stop if no copies done dma/ioat: fix incorrectly set indexes after restart dma/ioat: fix incorrect error reporting on restart test/dmadev: check result for device stop test/dmadev: create separate function for single copy test test/dmadev: add tests for stopping and restarting dev

 app/test/test_dmadev.c         | 171 ++++++++++++++++++++++-----------
 drivers/dma/ioat/ioat_dmadev.c |  31 ++++--
 2 files changed, 139 insertions(+), 63 deletions(-)

--
2.37.2