DPDK  24.11.0-rc3
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
 
uint16_t nb_priorities
 

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

Field Documentation

◆ dev_name

const char* dev_name

Unique device name.

Definition at line 286 of file rte_dmadev.h.

◆ dev_capa

uint64_t dev_capa

Device capabilities (RTE_DMA_CAPA_*).

Definition at line 288 of file rte_dmadev.h.

◆ max_vchans

uint16_t max_vchans

Maximum number of virtual DMA channels supported.

Definition at line 290 of file rte_dmadev.h.

◆ max_desc

uint16_t max_desc

Maximum allowed number of virtual DMA channel descriptors.

Definition at line 292 of file rte_dmadev.h.

◆ min_desc

uint16_t min_desc

Minimum allowed number of virtual DMA channel descriptors.

Definition at line 294 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 302 of file rte_dmadev.h.

◆ numa_node

int16_t numa_node

NUMA node connection, -1 if unknown.

Definition at line 304 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 306 of file rte_dmadev.h.

◆ nb_priorities

uint16_t nb_priorities

Number of priority levels (must be > 1) if priority scheduling is supported, 0 otherwise.

Definition at line 310 of file rte_dmadev.h.


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