DPDK 25.11.0-rc1
Data Fields
rte_dma_op Struct Reference

#include <rte_dmadev.h>

Data Fields

uint64_t flags
 
struct rte_mempoolop_mp
 
enum rte_dma_status_code status
 
uint32_t rsvd
 
uint64_t impl_opaque [2]
 
uint64_t user_meta
 
uint64_t event_meta
 
int16_t dma_dev_id
 
uint16_t vchan
 
uint16_t nb_src
 
uint16_t nb_dst
 
struct rte_dma_sge src_dst_seg []
 

Detailed Description

A structure used to hold event based DMA operation entry. All the information required for a DMA transfer shall be populated in "struct rte_dma_op" instance.

Definition at line 1054 of file rte_dmadev.h.

Field Documentation

◆ flags

uint64_t flags

Flags related to the operation.

See also
RTE_DMA_OP_FLAG_*

Definition at line 1058 of file rte_dmadev.h.

◆ op_mp

struct rte_mempool* op_mp

Mempool from which op is allocated.

Definition at line 1060 of file rte_dmadev.h.

◆ status

enum rte_dma_status_code status

Status code for this operation.

Definition at line 1062 of file rte_dmadev.h.

◆ rsvd

uint32_t rsvd

Reserved for future use.

Definition at line 1064 of file rte_dmadev.h.

◆ impl_opaque

uint64_t impl_opaque[2]

Implementation-specific opaque data. A DMA device implementation use this field to hold implementation-specific values to share between dequeue and enqueue operations. The application should not modify this field.

Definition at line 1071 of file rte_dmadev.h.

◆ user_meta

uint64_t user_meta

Memory to store user specific metadata. The DMA device implementation should not modify this area.

Definition at line 1075 of file rte_dmadev.h.

◆ event_meta

uint64_t event_meta

Event metadata of DMA completion event. Used when RTE_EVENT_DMA_ADAPTER_CAP_INTERNAL_PORT_VCHAN_EV_BIND is not supported in OP_NEW mode.

See also
rte_event_dma_adapter_mode::RTE_EVENT_DMA_ADAPTER_OP_NEW
RTE_EVENT_DMA_ADAPTER_CAP_INTERNAL_PORT_VCHAN_EV_BIND

Used when RTE_EVENT_DMA_ADAPTER_CAP_INTERNAL_PORT_OP_FWD is not supported in OP_FWD mode.

See also
rte_event_dma_adapter_mode::RTE_EVENT_DMA_ADAPTER_OP_FORWARD
RTE_EVENT_DMA_ADAPTER_CAP_INTERNAL_PORT_OP_FWD
struct rte_event::event

Definition at line 1089 of file rte_dmadev.h.

◆ dma_dev_id

int16_t dma_dev_id

DMA device ID to be used with OP_FORWARD mode.

See also
rte_event_dma_adapter_mode::RTE_EVENT_DMA_ADAPTER_OP_FORWARD

Definition at line 1093 of file rte_dmadev.h.

◆ vchan

uint16_t vchan

DMA vchan ID to be used with OP_FORWARD mode

See also
rte_event_dma_adapter_mode::RTE_EVENT_DMA_ADAPTER_OP_FORWARD

Definition at line 1097 of file rte_dmadev.h.

◆ nb_src

uint16_t nb_src

Number of source segments.

Definition at line 1099 of file rte_dmadev.h.

◆ nb_dst

uint16_t nb_dst

Number of destination segments.

Definition at line 1101 of file rte_dmadev.h.

◆ src_dst_seg

struct rte_dma_sge src_dst_seg[]

Source and destination segments.

Definition at line 1103 of file rte_dmadev.h.


The documentation for this struct was generated from the following file: