DPDK  22.11.0
Data Fields
rte_dma_conf Struct Reference

#include <rte_dmadev.h>

Data Fields

uint16_t nb_vchans
 
bool enable_silent
 

Detailed Description

A structure used to configure a DMA device.

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

Definition at line 335 of file rte_dmadev.h.

Field Documentation

◆ nb_vchans

uint16_t nb_vchans

The number of virtual DMA channels to set up for the DMA device. This value cannot be greater than the field 'max_vchans' of struct rte_dma_info which get from rte_dma_info_get().

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

Definition at line 340 of file rte_dmadev.h.

◆ enable_silent

bool enable_silent

Indicates whether to enable silent mode. false-default mode, true-silent mode. This value can be set to true only when the SILENT capability is supported.

See also
RTE_DMA_CAPA_SILENT

Definition at line 348 of file rte_dmadev.h.


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