DPDK  22.07.0
Data Fields
rte_dma_info Struct Reference

#include <rte_dmadev.h>

Data Fields

const char * dev_name
 
uint64_t dev_capa
 
uint16_t max_vchans
 
uint16_t max_desc
 
uint16_t min_desc
 
uint16_t max_sges
 
int16_t numa_node
 
uint16_t nb_vchans
 

Detailed Description

A structure used to retrieve the information of a DMA device.

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

Definition at line 288 of file rte_dmadev.h.

Field Documentation

◆ dev_name

const char* dev_name

Unique device name.

Definition at line 289 of file rte_dmadev.h.

◆ dev_capa

uint64_t dev_capa

Device capabilities (RTE_DMA_CAPA_*).

Definition at line 291 of file rte_dmadev.h.

◆ max_vchans

uint16_t max_vchans

Maximum number of virtual DMA channels supported.

Definition at line 293 of file rte_dmadev.h.

◆ max_desc

uint16_t max_desc

Maximum allowed number of virtual DMA channel descriptors.

Definition at line 295 of file rte_dmadev.h.

◆ min_desc

uint16_t min_desc

Minimum allowed number of virtual DMA channel descriptors.

Definition at line 297 of file rte_dmadev.h.

◆ max_sges

uint16_t max_sges

Maximum number of source or destination scatter-gather entry supported. If the device does not support COPY_SG capability, this value can be zero. If the device supports COPY_SG capability, then rte_dma_copy_sg() parameter nb_src/nb_dst should not exceed this value.

Definition at line 305 of file rte_dmadev.h.

◆ numa_node

int16_t numa_node

NUMA node connection, -1 if unknown.

Definition at line 307 of file rte_dmadev.h.

◆ nb_vchans

uint16_t nb_vchans

Number of virtual DMA channel configured.

Examples:
examples/dma/dmafwd.c.

Definition at line 309 of file rte_dmadev.h.


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