---
name: "rte_event_dma_adapter_op"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_event_dma_adapter_op"
---

# rte\_event\_dma\_adapter\_op(3)

## NAME

rte\_event\_dma\_adapter\_op

## SYNOPSIS

`#include <rte_event_dma_adapter.h>`

### Data Fields

uint64\_t **flags**\
 struct **rte\_mempool** \* **op\_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\_event\_dma\_adapter\_op' instance.

Definition at line **159** of file **rte\_event\_dma\_adapter.h**.

## Field Documentation

### uint64\_t flags

Flags related to the operation.

**See also**

RTE\_DMA\_OP\_FLAG\_\*

Definition at line **160** of file **rte\_event\_dma\_adapter.h**.

### struct rte\_mempool\* op\_mp

Mempool from which op is allocated.

Definition at line **164** of file **rte\_event\_dma\_adapter.h**.

### enum rte\_dma\_status\_code status

Status code for this operation.

Definition at line **166** of file **rte\_event\_dma\_adapter.h**.

### uint32\_t rsvd

Reserved for future use.

Definition at line **168** of file **rte\_event\_dma\_adapter.h**.

### uint64\_t impl\_opaque\[2\]

Implementation-specific opaque data. An 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 **170** of file **rte\_event\_dma\_adapter.h**.

### uint64\_t user\_meta

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

Definition at line **177** of file **rte\_event\_dma\_adapter.h**.

### 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 **181** of file **rte\_event\_dma\_adapter.h**.

### 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 **195** of file **rte\_event\_dma\_adapter.h**.

### 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 **199** of file **rte\_event\_dma\_adapter.h**.

### uint16\_t nb\_src

Number of source segments.

Definition at line **203** of file **rte\_event\_dma\_adapter.h**.

### uint16\_t nb\_dst

Number of destination segments.

Definition at line **205** of file **rte\_event\_dma\_adapter.h**.

### struct rte\_dma\_sge src\_dst\_seg\[\]

Source and destination segments.

Definition at line **207** of file **rte\_event\_dma\_adapter.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
