This patch set contains nine patch for new add dmadev. Chengwen Feng (9): dmadev: introduce DMA device library public APIs dmadev: introduce DMA device library internal header dmadev: introduce DMA device library PMD header dmadev: introduce DMA device library implementation doc: add DMA device library guide dma/skeleton: introduce skeleton dmadev driver dma/skeleton: add test cases test: enable dmadev skeleton test maintainers: add for dmadev
--- v16: * redefine struct rte_dmadev_stats with fields: submitted, completed, errors. * add dma skeleton. * add dmadev ut. v15: * fix typo and readability of prog_guide. * fix some public APIs return value comment inconsistent with the impl. * add return -ENOSPC comment if enqueue fail due to no space. v14: * rte_dmadev_vchan_setup add vchan parameter. * rename max_vchans to nb_vchans of struct rte_dmadev_conf. * fix dmadev programming guide doxygen warning. v13: * add dmadev_i1.svg. * delete one unnecessary comment line of rte_dmadev_info_get. v12: * add max_sges filed for struct rte_dmadev_info. * add more descriptor of dmadev.rst. * replace scatter with scatter gather in code comment. * split to six patch. * fix typo. v11: * rename RTE_DMA_STATUS_UNKNOWN to RTE_DMA_STATUS_ERROR_UNKNOWN. * add RTE_DMA_STATUS_INVALID_ADDR marco. * update release-note. * add acked-by for 1/2 patch. * add dmadev programming guide which is 2/2 patch. MAINTAINERS | 7 + app/test/meson.build | 3 + app/test/test_dmadev.c | 53 ++ config/rte_config.h | 3 + doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf.in | 1 + doc/guides/prog_guide/dmadev.rst | 125 ++++ doc/guides/prog_guide/img/dmadev.svg | 283 +++++++ doc/guides/prog_guide/index.rst | 1 + doc/guides/rel_notes/release_21_11.rst | 6 + drivers/dma/meson.build | 11 + drivers/dma/skeleton/meson.build | 8 + drivers/dma/skeleton/skeleton_dmadev.c | 621 ++++++++++++++++ drivers/dma/skeleton/skeleton_dmadev.h | 76 ++ drivers/dma/skeleton/skeleton_dmadev_test.c | 521 +++++++++++++ drivers/dma/skeleton/version.map | 3 + drivers/meson.build | 1 + lib/dmadev/meson.build | 7 + lib/dmadev/rte_dmadev.c | 567 +++++++++++++++ lib/dmadev/rte_dmadev.h | 1053 +++++++++++++++++++++++++++ lib/dmadev/rte_dmadev_core.h | 182 +++++ lib/dmadev/rte_dmadev_pmd.h | 72 ++ lib/dmadev/version.map | 36 + lib/meson.build | 1 + 24 files changed, 3642 insertions(+) create mode 100644 app/test/test_dmadev.c create mode 100644 doc/guides/prog_guide/dmadev.rst create mode 100644 doc/guides/prog_guide/img/dmadev.svg create mode 100644 drivers/dma/meson.build create mode 100644 drivers/dma/skeleton/meson.build create mode 100644 drivers/dma/skeleton/skeleton_dmadev.c create mode 100644 drivers/dma/skeleton/skeleton_dmadev.h create mode 100644 drivers/dma/skeleton/skeleton_dmadev_test.c create mode 100644 drivers/dma/skeleton/version.map create mode 100644 lib/dmadev/meson.build create mode 100644 lib/dmadev/rte_dmadev.c create mode 100644 lib/dmadev/rte_dmadev.h create mode 100644 lib/dmadev/rte_dmadev_core.h create mode 100644 lib/dmadev/rte_dmadev_pmd.h create mode 100644 lib/dmadev/version.map -- 2.8.1