|
DPDK 25.11.0-rc1
|
#include <rte_dmadev.h>
Data Fields | |
| enum rte_dma_direction | direction |
| uint16_t | nb_desc |
| struct rte_dma_port_param | src_port |
| struct rte_dma_port_param | dst_port |
| struct rte_dma_auto_free_param | auto_free |
| struct rte_dma_inter_domain_param | domain |
A structure used to configure a virtual DMA channel.
Definition at line 648 of file rte_dmadev.h.
| enum rte_dma_direction direction |
Transfer direction
Definition at line 653 of file rte_dmadev.h.
| uint16_t nb_desc |
Number of descriptor for the virtual DMA channel
Definition at line 655 of file rte_dmadev.h.
| struct rte_dma_port_param src_port |
1) Used to describes the device access port parameter in the device-to-memory transfer scenario. 2) Used to describes the source device access port parameter in the device-to-device transfer scenario.
Definition at line 663 of file rte_dmadev.h.
| struct rte_dma_port_param dst_port |
1) Used to describes the device access port parameter in the memory-to-device transfer scenario. 2) Used to describes the destination device access port parameter in the device-to-device transfer scenario.
Definition at line 671 of file rte_dmadev.h.
| struct rte_dma_auto_free_param auto_free |
Buffer params to auto free buffer by hardware. To free the buffer by hardware, RTE_DMA_OP_FLAG_AUTO_FREE must be set while calling rte_dma_copy and rte_dma_copy_sg().
Definition at line 679 of file rte_dmadev.h.
| struct rte_dma_inter_domain_param domain |
Parameters for inter-process or inter-OS domain DMA transfers. This field specifies the source and destination domain handlers required for DMA operations that span across different processes or operating system domains.
Definition at line 689 of file rte_dmadev.h.