rte_dma_conf(3)
π rte_dma_conf(3) π
okay so bestie, we're looking at rte_dma_conf β it lives over in the DPDK Library Functions Manual and it's literally just a lil struct, but she's important. no cap. let's get into it π«Ά
β¨ NAME β¨
rte_dma_conf β a struct that holds the config for your DMA device, and yes she's the whole personality π
πΈ SYNOPSIS πΈ
#include <rte_dmadev.h>
π Data Fields
uint16_t nb_vchansβ how many virtual DMA channels you're setting upuint64_t flagsβ the config vibe check flags
π¦ DETAILED DESCRIPTION π¦
A structure used to configure a DMA device.
that's it, that's the whole serve. she's a config struct, she configures a DMA device, she knows what she is π
See also: rte_dma_configure β go read her too, she's the one who actually uses this struct, iykyk β¨
Definition at line 360 of file rte_dmadev.h.
π FIELD DOCUMENTATION π
π uint16_t nb_vchans
the number of virtual DMA channels to set up for your DMA device, periodt. π§
BUT β and this is the important part, don't skip it β this value cannot be greater than the max_vchans field of struct rte_dma_info, and you get that from rte_dma_info_get(). so like, ask nicely first, get your rte_dma_info, and then respect the limit. going over is giving delulu and it will not slay π
Definition at line 365 of file rte_dmadev.h.
π uint64_t flags
DMA device configuration flags, defined as RTE_DMA_CFG_FLAG_*. go check those macros for the actual menu of options π
Definition at line 375 of file rte_dmadev.h.
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code. so like, not a human's handwriting bestie, the docs wrote themselves fr fr π€β¨
and that's the whole page!! π she was generated by Doxygen for DPDK, Version 25.11.3 β that's the source and the version right there babes, mwah π«Ά bye bestie, go configure something iconic β¨π
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms