| /dpdk/drivers/net/ena/base/ |
| H A D | ena_plat_dpdk.h | 212 dmadev, size, virt, phys, mem_handle, alignment) \ argument 216 (mem_handle) = ena_mem_alloc_coherent((dmadev), (size), \ 222 ENA_MEM_ALLOC_COHERENT_ALIGNED(dmadev, size, virt, phys, \ 225 ({ ENA_TOUCH(size); ENA_TOUCH(phys); ENA_TOUCH(dmadev); \ 234 (mem_handle) = ena_mem_alloc_coherent((dmadev), (size), \ 240 dmadev, size, virt, phys, mem_handle, node, dev_node) \ argument 241 ENA_MEM_ALLOC_COHERENT_NODE_ALIGNED(dmadev, size, virt, phys, \ 245 ENA_TOUCH(dmadev); ENA_TOUCH(dev_node); \ 249 #define ENA_MEM_ALLOC(dmadev, size) rte_zmalloc(NULL, size, 1) argument 250 #define ENA_MEM_FREE(dmadev, ptr, size) \ argument [all …]
|
| H A D | ena_com.c | 366 ENA_MEM_ALLOC_NODE(ena_dev->dmadev, in ena_com_init_io_sq() 944 ENA_MEM_FREE_COHERENT(ena_dev->dmadev, in ena_com_io_queue_free() 956 ENA_MEM_FREE_COHERENT(ena_dev->dmadev, in ena_com_io_queue_free() 966 ENA_MEM_FREE(ena_dev->dmadev, in ena_com_io_queue_free() 1105 ENA_MEM_ALLOC_COHERENT(ena_dev->dmadev, in ena_com_hash_key_allocate() 1122 ENA_MEM_FREE_COHERENT(ena_dev->dmadev, in ena_com_hash_key_destroy() 1134 ENA_MEM_ALLOC_COHERENT(ena_dev->dmadev, in ena_com_hash_ctrl_init() 1206 ENA_MEM_FREE_COHERENT(ena_dev->dmadev, in ena_com_indirect_table_allocate() 1232 ENA_MEM_FREE(ena_dev->dmadev, in ena_com_indirect_table_destroy() 1683 ENA_MEM_FREE(ena_dev->dmadev, in ena_com_free_ena_admin_queue_comp_ctx() [all …]
|
| /dpdk/doc/guides/dmadevs/ |
| H A D | hisilicon.rst | 28 Once probed successfully, the device will appear as four ``dmadev`` 31 The name of the ``dmadev`` created is like "B:D.F-chX", e.g. DMA 0000:7b:00.0 32 will create four ``dmadev``, 33 the 1st ``dmadev`` name is "0000:7b:00.0-ch0", 34 and the 2nd ``dmadev`` name is "0000:7b:00.0-ch1". 42 * Only one ``vchan`` is supported per ``dmadev``.
|
| H A D | cnxk.rst | 9 The ``cnxk`` dmadev driver provides a poll-mode driver (PMD) for Marvell DPI DMA 44 To use the devices from an application, the dmadev API can be used. 57 of the dmadev library documentation
|
| H A D | ioat.rst | 9 The ``ioat`` dmadev driver provides a poll-mode driver (PMD) for Intel\ 67 Once probed successfully, the device will appear as a ``dmadev``, that is a 74 To use IOAT devices from an application, the ``dmadev`` API can be used. 92 Refer to the :ref:`Enqueue / Dequeue APIs <dmadev_enqueue_dequeue>` section of the dmadev library
|
| H A D | dpaa.rst | 7 The DPAA DMA is an implementation of the dmadev APIs, 54 The DPAA DMA implements following features in the dmadev API:
|
| H A D | idxd.rst | 9 The ``idxd`` dmadev driver provides a poll-mode driver (PMD) for Intel\ |reg| 155 Once probed successfully, irrespective of kernel driver, the device will appear as a ``dmadev``, 162 To use the devices from an application, the dmadev API can be used. 180 Refer to the :ref:`Enqueue / Dequeue APIs <dmadev_enqueue_dequeue>` section of the dmadev library
|
| /dpdk/drivers/dma/dpaa/ |
| H A D | dpaa_qdma.c | 926 dpaa_qdma_init(struct rte_dma_dev *dmadev) in dpaa_qdma_init() argument 1019 struct rte_dma_dev *dmadev; in dpaa_qdma_probe() local 1025 if (!dmadev) { in dpaa_qdma_probe() 1030 dpaa_dev->dmadev = dmadev; in dpaa_qdma_probe() 1031 dmadev->dev_ops = &dpaa_qdma_ops; in dpaa_qdma_probe() 1032 dmadev->device = &dpaa_dev->device; in dpaa_qdma_probe() 1033 dmadev->fp_obj->dev_private = dmadev->data->dev_private; in dpaa_qdma_probe() 1034 dmadev->fp_obj->copy = dpaa_qdma_enqueue; in dpaa_qdma_probe() 1040 ret = dpaa_qdma_init(dmadev); in dpaa_qdma_probe() 1046 dmadev->state = RTE_DMA_DEV_READY; in dpaa_qdma_probe() [all …]
|
| H A D | meson.build | 9 deps += ['dmadev', 'bus_dpaa']
|
| /dpdk/drivers/dma/idxd/ |
| H A D | idxd_common.c | 548 struct rte_dma_dev *dmadev = NULL; in idxd_dmadev_create() local 563 if (dmadev == NULL) { in idxd_dmadev_create() 568 dmadev->dev_ops = ops; in idxd_dmadev_create() 569 dmadev->device = dev; in idxd_dmadev_create() 571 dmadev->fp_obj->copy = idxd_enqueue_copy; in idxd_dmadev_create() 573 dmadev->fp_obj->submit = idxd_submit; in idxd_dmadev_create() 578 idxd = dmadev->data->dev_private; in idxd_dmadev_create() 580 idxd->dmadev = dmadev; in idxd_dmadev_create() 597 dmadev->fp_obj->dev_private = idxd; in idxd_dmadev_create() 599 idxd->dmadev->state = RTE_DMA_DEV_READY; in idxd_dmadev_create() [all …]
|
| /dpdk/drivers/dma/ioat/ |
| H A D | ioat_dmadev.c | 595 struct rte_dma_dev *dmadev = NULL; in ioat_dmadev_create() local 606 if (dmadev == NULL) { in ioat_dmadev_create() 611 dmadev->device = &dev->device; in ioat_dmadev_create() 613 dmadev->fp_obj->dev_private = dmadev->data->dev_private; in ioat_dmadev_create() 615 dmadev->dev_ops = &ioat_dmadev_ops; in ioat_dmadev_create() 620 dmadev->fp_obj->copy = ioat_enqueue_copy; in ioat_dmadev_create() 622 dmadev->fp_obj->submit = ioat_submit; in ioat_dmadev_create() 624 ioat = dmadev->data->dev_private; in ioat_dmadev_create() 625 ioat->dmadev = dmadev; in ioat_dmadev_create() 670 dmadev->fp_obj->dev_private = ioat; in ioat_dmadev_create() [all …]
|
| H A D | meson.build | 7 deps += ['bus_pci', 'dmadev']
|
| H A D | ioat_internal.h | 11 struct rte_dma_dev *dmadev; member
|
| /dpdk/drivers/dma/cnxk/ |
| H A D | cnxk_dmadev.c | 455 struct rte_dma_dev *dmadev; in cnxk_dmadev_probe() local 472 if (dmadev == NULL) { in cnxk_dmadev_probe() 477 dpivf = dmadev->data->dev_private; in cnxk_dmadev_probe() 479 dmadev->device = &pci_dev->device; in cnxk_dmadev_probe() 480 dmadev->fp_obj->dev_private = dpivf; in cnxk_dmadev_probe() 481 dmadev->dev_ops = &cnxk_dmadev_ops; in cnxk_dmadev_probe() 483 dmadev->fp_obj->copy = cnxk_dmadev_copy; in cnxk_dmadev_probe() 484 dmadev->fp_obj->copy_sg = cnxk_dmadev_copy_sg; in cnxk_dmadev_probe() 485 dmadev->fp_obj->submit = cnxk_dmadev_submit; in cnxk_dmadev_probe() 486 dmadev->fp_obj->completed = cnxk_dmadev_completed; in cnxk_dmadev_probe() [all …]
|
| H A D | meson.build | 4 deps += ['bus_pci', 'common_cnxk', 'dmadev']
|
| /dpdk/drivers/raw/ioat/ |
| H A D | meson.build | 5 # only use ioat rawdev driver if we don't have the equivalent dmadev ones 8 reason = 'replaced by dmadev drivers'
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | dmadev.rst | 22 .. figure:: img/dmadev.* 27 DMA queues), each hardware DMA channel should be represented by a dmadev. 28 * The dmadev could create multiple virtual DMA channels, each virtual DMA 115 The statistics from a dmadev device can be got via the statistics functions,
|
| H A D | index.rst | 30 dmadev
|
| /dpdk/doc/guides/sample_app_ug/ |
| H A D | dma.rst | 61 * s RS: Size of dmadev descriptor ring for hardware copy mode or rte_ring for 207 :start-after: Using dmadev API functions. 8< 208 :end-before: >8 End of using dmadev API functions. 271 :start-after: Receive packets on one port and enqueue to dmadev or rte_ring. 8< 272 :end-before: >8 End of receive packets on one port and enqueue to dmadev or rte_ring. 287 :start-after: Receive packets on one port and enqueue to dmadev or rte_ring. 8< 288 :end-before: >8 End of receive packets on one port and enqueue to dmadev or rte_ring. 303 :start-after: Transmit packets from dmadev/rte_ring for one port. 8< 304 :end-before: >8 End of transmitting packets from dmadev.
|
| /dpdk/drivers/dma/ |
| H A D | meson.build | 12 std_deps = ['dmadev']
|
| /dpdk/drivers/dma/skeleton/ |
| H A D | meson.build | 4 deps += ['dmadev', 'kvargs', 'ring', 'bus_vdev']
|
| /dpdk/examples/dma/ |
| H A D | meson.build | 11 deps += ['dmadev']
|
| /dpdk/drivers/dma/hisilicon/ |
| H A D | meson.build | 16 deps += ['bus_pci', 'dmadev']
|
| /dpdk/examples/vhost/ |
| H A D | meson.build | 15 deps += 'dmadev'
|
| /dpdk/lib/vhost/ |
| H A D | meson.build | 39 deps += ['ethdev', 'cryptodev', 'hash', 'pci', 'dmadev']
|