DPDK  23.07.0
Data Fields
rte_dma_vchan_conf Struct Reference

#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
 

Detailed Description

A structure used to configure a virtual DMA channel.

See also
rte_dma_vchan_setup
Examples:
examples/dma/dmafwd.c, and examples/vhost/main.c.

Definition at line 561 of file rte_dmadev.h.

Field Documentation

◆ direction

enum rte_dma_direction direction

Transfer direction

See also
enum rte_dma_direction
Examples:
examples/dma/dmafwd.c, and examples/vhost/main.c.

Definition at line 566 of file rte_dmadev.h.

◆ nb_desc

uint16_t nb_desc

Number of descriptor for the virtual DMA channel

Examples:
examples/vhost/main.c.

Definition at line 568 of file rte_dmadev.h.

◆ src_port

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 576 of file rte_dmadev.h.

◆ dst_port

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 584 of file rte_dmadev.h.


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