rte_dma_info(3)
π¦ rte_dma_info β Library Functions Manual, but make it cute
okay so bestie, welcome to the rte_dma_info page from the Library Functions Manual. This is the info structure for a DMA device, and every field is lowkey important, so let's not skip a single one. π
β¨
πΈ NAME
rte_dma_info β iconic, short, and exactly what it says on the tin.
β¨ SYNOPSIS β¨
#include <rte_dmadev.h>
π Data Fields
const char * dev_nameuint64_t dev_capauint16_t max_vchansuint16_t max_descuint16_t min_descuint16_t max_sgesint16_t numa_nodeuint16_t nb_vchansuint16_t nb_priorities
π DETAILED DESCRIPTION π
A structure used to retrieve the information of a DMA device. It's giving little info-card energy for your DMA device, and that's the whole description, periodt. π«Ά
π See also
rte_dma_info_get β go look at that one too, iykyk.
Definition at line 313 of file rte_dmadev.h.
π«Ά FIELD DOCUMENTATION π«Ά
π
const char* dev_name
Unique device name β one-of-one name energy, no duplicates, she's the device's ID tag.
Definition at line 314 of file rte_dmadev.h.
π
uint64_t dev_capa
Device capabilities, all wrapped up in the RTE_DMA_CAPA_* flags.
Definition at line 316 of file rte_dmadev.h.
π
uint16_t max_vchans
Maximum number of virtual DMA channels supported β the ceiling, bestie.
Definition at line 318 of file rte_dmadev.h.
π
uint16_t max_desc
The highest allowed number of virtual DMA channel descriptors.
Definition at line 320 of file rte_dmadev.h.
π
uint16_t min_desc
The lowest allowed number of virtual DMA channel descriptors.
Definition at line 322 of file rte_dmadev.h.
π
uint16_t max_sges
The max number of source or destination scatter-gather entries the device supports. If the device does not support COPY_SG capability, this value can be zero. If the device supports COPY_SG capability, then the rte_dma_copy_sg() parameter nb_src/nb_dst should not exceed this value. That's the scatter-gather limit, no cap. π₯
Definition at line 330 of file rte_dmadev.h.
π
int16_t numa_node
NUMA node connection; it's -1 if unknown, so don't panic if you see that.
Definition at line 332 of file rte_dmadev.h.
π
uint16_t nb_vchans
Number of virtual DMA channels configured β like, currently set up.
Definition at line 334 of file rte_dmadev.h.
π
uint16_t nb_priorities
Number of priority levels, and it must be > 1 if priority scheduling is supported; if not, it's 0.
Definition at line 338 of file rte_dmadev.h.
π§ AUTHOR
Generated automatically by Doxygen for DPDK from the source code.
Cute sign-off time: this page is rte_dma_info(3) from DPDK, Version 26.03.0 β source/version noted, and there's no date in the footer so I'm not inventing one. byeee, stay slay ππ
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms