raw/ioat: remove deprecated driver
PATCH 1/1 raw/ioat: remove deprecated driver
The ioat rawdev driver has been superceded by the ioat and idxd dmadev drivers, and has been deprecated for some time, so remove it.
--- doc/guides/rawdevs/index.rst | 1 - doc/guides/rawdevs/ioat.rst | 333 ----------- doc/guides/rel_notes/deprecation.rst | 7 - drivers/raw/ioat/dpdk_idxd_cfg.py | 1 - drivers/raw/ioat/idxd_bus.c | 365 ------------ drivers/raw/ioat/idxd_pci.c | 380 ------------- drivers/raw/ioat/ioat_common.c | 273 --------- drivers/raw/ioat/ioat_private.h | 84 --- drivers/raw/ioat/ioat_rawdev.c | 332 ----------- drivers/raw/ioat/ioat_rawdev_test.c | 734 ------------------------- drivers/raw/ioat/ioat_spec.h | 336 ----------- drivers/raw/ioat/meson.build | 36 -- drivers/raw/ioat/rte_idxd_rawdev_fns.h | 394 ------------- drivers/raw/ioat/rte_ioat_rawdev.h | 214 ------- drivers/raw/ioat/rte_ioat_rawdev_fns.h | 379 ------------- drivers/raw/ioat/version.map | 3 - drivers/raw/meson.build | 1 - 17 files changed, 3873 deletions(-) delete mode 100644 doc/guides/rawdevs/ioat.rst delete mode 120000 drivers/raw/ioat/dpdk_idxd_cfg.py delete mode 100644 drivers/raw/ioat/idxd_bus.c delete mode 100644 drivers/raw/ioat/idxd_pci.c delete mode 100644 drivers/raw/ioat/ioat_common.c delete mode 100644 drivers/raw/ioat/ioat_private.h delete mode 100644 drivers/raw/ioat/ioat_rawdev.c delete mode 100644 drivers/raw/ioat/ioat_rawdev_test.c delete mode 100644 drivers/raw/ioat/ioat_spec.h delete mode 100644 drivers/raw/ioat/meson.build delete mode 100644 drivers/raw/ioat/rte_idxd_rawdev_fns.h delete mode 100644 drivers/raw/ioat/rte_ioat_rawdev.h delete mode 100644 drivers/raw/ioat/rte_ioat_rawdev_fns.h delete mode 100644 drivers/raw/ioat/version.map
doc/guides/rawdevs/index.rst +0 -1
@@ -15,5 +15,4 @@ application through rawdev API. cnxk_gpio dpaa2_cmdif ifpga - ioat ntb
doc/guides/rawdevs/ioat.rst deleted +0 -333
333 lines not on this page · raw message
doc/guides/rel_notes/deprecation.rst +0 -7
@@ -230,10 +230,3 @@ Deprecation Notices * raw/ifgpa: The function ``rte_pmd_ifpga_get_pci_bus`` will be removed in DPDK 22.11. - -* raw/ioat: The ``ioat`` rawdev driver has been deprecated, since it's - functionality is provided through the new ``dmadev`` infrastructure. - To continue to use hardware previously supported by the ``ioat`` rawdev driver, - applications should be updated to use the ``dmadev`` library instead, - with the underlying HW-functionality being provided by the ``ioat`` or - ``idxd`` dma drivers
drivers/raw/ioat/dpdk_idxd_cfg.py deleted +0 -1
@@ -1 +0,0 @@ -../../dma/idxd/dpdk_idxd_cfg.py
drivers/raw/ioat/idxd_bus.c deleted +0 -365
365 lines not on this page · raw message
drivers/raw/ioat/idxd_pci.c deleted +0 -380
380 lines not on this page · raw message
drivers/raw/ioat/ioat_common.c deleted +0 -273
273 lines not on this page · raw message
drivers/raw/ioat/ioat_private.h deleted +0 -84
84 lines not on this page · raw message
drivers/raw/ioat/ioat_rawdev.c deleted +0 -332
332 lines not on this page · raw message
drivers/raw/ioat/ioat_rawdev_test.c deleted +0 -734
734 lines not on this page · raw message
drivers/raw/ioat/ioat_spec.h deleted +0 -336
336 lines not on this page · raw message
drivers/raw/ioat/meson.build deleted +0 -36
@@ -1,36 +0,0 @@ -# SPDX-License-Identifier: BSD-3-Clause -# Copyright 2019 Intel Corporation - -build = dpdk_conf.has('RTE_ARCH_X86') -# only use ioat rawdev driver if we don't have the equivalent dmadev ones -if dpdk_conf.has('RTE_DMA_IDXD') and dpdk_conf.has('RTE_DMA_IOAT') - build = false - reason = 'replaced by dmadev drivers' - subdir_done() -endif - -reason = 'only supported on x86' -sources = files( - 'ioat_common.c', - 'ioat_rawdev_test.c', -) - -if not dpdk_conf.has('RTE_DMA_IDXD') - sources += files( - 'idxd_bus.c', - 'idxd_pci.c', - ) -endif - -if not dpdk_conf.has('RTE_DMA_IOAT') - sources += files ( - 'ioat_rawdev.c', - ) -endif - -deps += ['bus_pci', 'mbuf', 'rawdev'] -headers = files( - 'rte_ioat_rawdev.h', - 'rte_idxd_rawdev_fns.h', - 'rte_ioat_rawdev_fns.h', -)
drivers/raw/ioat/rte_idxd_rawdev_fns.h deleted +0 -394
110 lines not on this page · raw message
drivers/raw/ioat/rte_ioat_rawdev.h deleted +0 -214
214 lines not on this page · raw message
drivers/raw/ioat/rte_ioat_rawdev_fns.h deleted +0 -379
379 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
--
2.34.1
Part of the diff is not shown here. View the raw message.
PATCH v2 1/1 raw/ioat: remove deprecated driver
The ioat driver has been superseded by the ioat and idxd dmadev drivers, and has been deprecated for some time, so remove it.
---
V2: remove references to ioat rawdev from API guide
--- doc/api/doxy-api-index.md | 1 - doc/api/doxy-api.conf.in | 1 - doc/guides/rawdevs/index.rst | 1 - doc/guides/rawdevs/ioat.rst | 333 ----------- doc/guides/rel_notes/deprecation.rst | 7 - drivers/raw/ioat/dpdk_idxd_cfg.py | 1 - drivers/raw/ioat/idxd_bus.c | 365 ------------ drivers/raw/ioat/idxd_pci.c | 380 ------------- drivers/raw/ioat/ioat_common.c | 273 --------- drivers/raw/ioat/ioat_private.h | 84 --- drivers/raw/ioat/ioat_rawdev.c | 332 ----------- drivers/raw/ioat/ioat_rawdev_test.c | 734 ------------------------- drivers/raw/ioat/ioat_spec.h | 336 ----------- drivers/raw/ioat/meson.build | 36 -- drivers/raw/ioat/rte_idxd_rawdev_fns.h | 394 ------------- drivers/raw/ioat/rte_ioat_rawdev.h | 214 ------- drivers/raw/ioat/rte_ioat_rawdev_fns.h | 379 ------------- drivers/raw/ioat/version.map | 3 - drivers/raw/meson.build | 1 - 19 files changed, 3875 deletions(-) delete mode 100644 doc/guides/rawdevs/ioat.rst delete mode 120000 drivers/raw/ioat/dpdk_idxd_cfg.py delete mode 100644 drivers/raw/ioat/idxd_bus.c delete mode 100644 drivers/raw/ioat/idxd_pci.c delete mode 100644 drivers/raw/ioat/ioat_common.c delete mode 100644 drivers/raw/ioat/ioat_private.h delete mode 100644 drivers/raw/ioat/ioat_rawdev.c delete mode 100644 drivers/raw/ioat/ioat_rawdev_test.c delete mode 100644 drivers/raw/ioat/ioat_spec.h delete mode 100644 drivers/raw/ioat/meson.build delete mode 100644 drivers/raw/ioat/rte_idxd_rawdev_fns.h delete mode 100644 drivers/raw/ioat/rte_ioat_rawdev.h delete mode 100644 drivers/raw/ioat/rte_ioat_rawdev_fns.h delete mode 100644 drivers/raw/ioat/version.map
doc/api/doxy-api-index.md +0 -1
@@ -46,7 +46,6 @@ The public API headers are grouped by topics: [i40e](@ref rte_pmd_i40e.h), [ice](@ref rte_pmd_ice.h), [iavf](@ref rte_pmd_iavf.h), - [ioat](@ref rte_ioat_rawdev.h), [bnxt](@ref rte_pmd_bnxt.h), [cnxk](@ref rte_pmd_cnxk.h), [dpaa](@ref rte_pmd_dpaa.h),
doc/api/doxy-api.conf.in +0 -1
@@ -24,7 +24,6 @@ INPUT = @TOPDIR@/doc/api/doxy-api-index.md \ @TOPDIR@/drivers/net/softnic \ @TOPDIR@/drivers/raw/dpaa2_cmdif \ @TOPDIR@/drivers/raw/ifpga \ - @TOPDIR@/drivers/raw/ioat \ @TOPDIR@/lib/eal/include \ @TOPDIR@/lib/eal/include/generic \ @TOPDIR@/lib/acl \
doc/guides/rawdevs/index.rst +0 -1
@@ -15,5 +15,4 @@ application through rawdev API. cnxk_gpio dpaa2_cmdif ifpga - ioat ntb
doc/guides/rawdevs/ioat.rst deleted +0 -333
333 lines not on this page · raw message
doc/guides/rel_notes/deprecation.rst +0 -7
@@ -230,10 +230,3 @@ Deprecation Notices * raw/ifgpa: The function ``rte_pmd_ifpga_get_pci_bus`` will be removed in DPDK 22.11. - -* raw/ioat: The ``ioat`` rawdev driver has been deprecated, since it's - functionality is provided through the new ``dmadev`` infrastructure. - To continue to use hardware previously supported by the ``ioat`` rawdev driver, - applications should be updated to use the ``dmadev`` library instead, - with the underlying HW-functionality being provided by the ``ioat`` or - ``idxd`` dma drivers
drivers/raw/ioat/dpdk_idxd_cfg.py deleted +0 -1
@@ -1 +0,0 @@ -../../dma/idxd/dpdk_idxd_cfg.py
drivers/raw/ioat/idxd_bus.c deleted +0 -365
365 lines not on this page · raw message
drivers/raw/ioat/idxd_pci.c deleted +0 -380
380 lines not on this page · raw message
drivers/raw/ioat/ioat_common.c deleted +0 -273
273 lines not on this page · raw message
drivers/raw/ioat/ioat_private.h deleted +0 -84
84 lines not on this page · raw message
drivers/raw/ioat/ioat_rawdev.c deleted +0 -332
332 lines not on this page · raw message
drivers/raw/ioat/ioat_rawdev_test.c deleted +0 -734
734 lines not on this page · raw message
drivers/raw/ioat/ioat_spec.h deleted +0 -336
336 lines not on this page · raw message
drivers/raw/ioat/meson.build deleted +0 -36
@@ -1,36 +0,0 @@ -# SPDX-License-Identifier: BSD-3-Clause -# Copyright 2019 Intel Corporation - -build = dpdk_conf.has('RTE_ARCH_X86') -# only use ioat rawdev driver if we don't have the equivalent dmadev ones -if dpdk_conf.has('RTE_DMA_IDXD') and dpdk_conf.has('RTE_DMA_IOAT') - build = false - reason = 'replaced by dmadev drivers' - subdir_done() -endif - -reason = 'only supported on x86' -sources = files( - 'ioat_common.c', - 'ioat_rawdev_test.c', -) - -if not dpdk_conf.has('RTE_DMA_IDXD') - sources += files( - 'idxd_bus.c', - 'idxd_pci.c', - ) -endif - -if not dpdk_conf.has('RTE_DMA_IOAT') - sources += files ( - 'ioat_rawdev.c', - ) -endif - -deps += ['bus_pci', 'mbuf', 'rawdev'] -headers = files( - 'rte_ioat_rawdev.h', - 'rte_idxd_rawdev_fns.h', - 'rte_ioat_rawdev_fns.h', -)
drivers/raw/ioat/rte_idxd_rawdev_fns.h deleted +0 -394
96 lines not on this page · raw message
drivers/raw/ioat/rte_ioat_rawdev.h deleted +0 -214
214 lines not on this page · raw message
drivers/raw/ioat/rte_ioat_rawdev_fns.h deleted +0 -379
379 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.34.1
Part of the diff is not shown here. View the raw message.
Thomas Monjalon
Applied20/09/2022 17:54, Bruce Richardson:
Quoted 19 lines
The ioat driver has been superseded by the ioat and idxd dmadev drivers, and has been deprecated for some time, so remove it.
Signed-off-by Bruce Richardson <[email protected]>---
V2: remove references to ioat rawdev from API guide--- doc/api/doxy-api-index.md | 1 - doc/api/doxy-api.conf.in | 1 - doc/guides/rawdevs/index.rst | 1 - doc/guides/rawdevs/ioat.rst | 333 ----------- doc/guides/rel_notes/deprecation.rst | 7 - drivers/raw/ioat/dpdk_idxd_cfg.py | 1 - drivers/raw/ioat/idxd_bus.c | 365 ------------ drivers/raw/ioat/idxd_pci.c | 380 ------------- drivers/raw/ioat/ioat_common.c | 273 --------- drivers/raw/ioat/ioat_private.h | 84 --- drivers/raw/ioat/ioat_rawdev.c | 332 ----------- drivers/raw/ioat/ioat_rawdev_test.c | 734 -------------------------
Quoted 8 lines
drivers/raw/ioat/ioat_spec.h | 336 ----------- drivers/raw/ioat/meson.build | 36 -- drivers/raw/ioat/rte_idxd_rawdev_fns.h | 394 ------------- drivers/raw/ioat/rte_ioat_rawdev.h | 214 ------- drivers/raw/ioat/rte_ioat_rawdev_fns.h | 379 ------------- drivers/raw/ioat/version.map | 3 - drivers/raw/meson.build | 1 - 19 files changed, 3875 deletions(-)
MAINTAINERS update was missing (fixed).
Applied, thanks.