Skip to content

RFC dmadev rfc suggested updates

Bruce Richardson dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest9 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9dmadev: add missing exportsdrivers/meson.build lib/dmadev/rte_dmadev.c lib/dmadev/version.map+6 -03 replies
2/9dmadev: change virtual addresses to IOVAlib/dmadev/rte_dmadev.h lib/dmadev/rte_dmadev_core.h+6 -60 replies
3/9dmadev: add dump functionlib/dmadev/rte_dmadev.c lib/dmadev/rte_dmadev.h lib/dmadev/rte_dmadev_pmd.h +1 more+42 -00 replies
4/9dmadev: remove xstats functionslib/dmadev/rte_dmadev.c lib/dmadev/rte_dmadev.h lib/dmadev/rte_dmadev_pmd.h +1 more+0 -1740 replies
5/9dmadev: drop cookie typedeflib/dmadev/rte_dmadev.h lib/dmadev/rte_dmadev_core.h+26 -450 replies
6/9dmadev: allow NULL parameters to completed ops calllib/dmadev/rte_dmadev.h+17 -20 replies
7/9dmadev: stats structure updateslib/dmadev/rte_dmadev.h+4 -80 replies
8/9drivers: add dma driver categorydrivers/dma/meson.build+11 -00 replies
9/9app/test: add basic dmadev unit testapp/test/meson.build app/test/test_dmadev.c+322 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [dpdk-dev] [RFC UPDATE PATCH 0/9] dmadev rfc suggested updates

This patchset contains a series of changes to dmadev based on work being done to port over our drivers to test this new infrastructure. Some of these are bug fixes to enable compilation e.g. missing exports or meson.build files, while others are suggested changes to enhance the API. All these patches are to be applied on top of [1] as they are mostly suggested changes to that RFC i.e. patches to the patch!

The final patch includes some basic sanity tests for copy operations that we have ported over from the ioat self-tests to use the dmadev APIs. The basic dataplane part of those tests is probably ok for now, but the initialization of queues in that test code may need some enhancement. Feedback welcome.

A tree with all these patches applied can be got at [2] if anyone wants to use that as a basis for working on drivers, or for other discussion.

[1] http://patches.dpdk.org/project/dpdk/patch/[email protected]/
[2] https://github.com/bruce-richardson/dpdk/tree/dmadev-rfcs

Bruce Richardson (9):
dmadev: add missing exports
dmadev: change virtual addresses to IOVA
dmadev: add dump function
dmadev: remove xstats functions
dmadev: drop cookie typedef
dmadev: allow NULL parameters to completed ops call
dmadev: stats structure updates
drivers: add dma driver category
app/test: add basic dmadev unit test

 app/test/meson.build         |   2 +
 app/test/test_dmadev.c       | 320 +++++++++++++++++++++++++++++++++++
 drivers/dma/meson.build      |  11 ++
 drivers/meson.build          |   1 +
 lib/dmadev/rte_dmadev.c      |  66 ++------
 lib/dmadev/rte_dmadev.h      | 204 +++++++---------------
 lib/dmadev/rte_dmadev_core.h |  16 +-
 lib/dmadev/rte_dmadev_pmd.h  |  24 +--
 lib/dmadev/version.map       |   7 +-
 9 files changed, 425 insertions(+), 226 deletions(-)
 create mode 100644 app/test/test_dmadev.c
 create mode 100644 drivers/dma/meson.build

--
2.30.2