---
name: "rte_dma_vchan_conf"
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_dma_vchan_conf"
---

# rte\_dma\_vchan\_conf(3)

## NAME

rte\_dma\_vchan\_conf

## SYNOPSIS

`#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**\

## Detailed Description

A structure used to configure a virtual DMA channel.

**See also**

**rte\_dma\_vchan\_setup**

Definition at line **570** of file **rte\_dmadev.h**.

## Field Documentation

### enum rte\_dma\_direction direction

Transfer direction

**See also**

enum **rte\_dma\_direction**

Definition at line **575** of file **rte\_dmadev.h**.

### uint16\_t nb\_desc

Number of descriptor for the virtual DMA channel

Definition at line **577** 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.

**See also**

struct **rte\_dma\_port\_param**

Definition at line **585** 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.

**See also**

struct **rte\_dma\_port\_param**

Definition at line **593** 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()**.

**See also**

**RTE\_DMA\_OP\_FLAG\_AUTO\_FREE**

struct **rte\_dma\_auto\_free\_param**

Definition at line **601** of file **rte\_dmadev.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
