rte_dma_vchan_conf(3)
β¨ rte_dma_vchan_conf(3) β¨
okay bestie, pull up a chair π this one lives in the Library Functions Manual section of the DPDK docs, and it's literally the glow-up guide for your virtual DMA channel. no cap.
πΈ NAME πΈ
rte_dma_vchan_conf β the struct that eats all your virtual DMA channel settings π
π¦ SYNOPSIS π¦
#include <rte_dmadev.h>
Data Fields β¨
enum rte_dma_direction direction
uint16_t nb_desc
struct rte_dma_port_param src_port
struct rte_dma_port_param dst_port
struct rte_dma_auto_free_param auto_free
struct rte_dma_inter_domain_param domain
π Detailed Description π
it's giving a structure used to configure a virtual DMA channel. that's the whole vibe. that's the job. π
See also π
rte_dma_vchan_setup
Definition at line 649 of file rte_dmadev.h. π
π«Ά Field Documentation π«Ά
β enum rte_dma_direction direction
the transfer direction, bestie. which way is the data going. that's it, that's the field. π§
See also
enum rte_dma_direction
Definition at line 654 of file rte_dmadev.h.
β uint16_t nb_desc
the number of descriptor for the virtual DMA channel π’ β how many descriptors you're rolling with.
Definition at line 656 of file rte_dmadev.h.
β struct rte_dma_port_param src_port
two moods, one field, and both of them are important:
- Used to describes the device access port parameter in the device-to-memory transfer scenario.
- Used to describes the source device access port parameter in the device-to-device transfer scenario.
See also
struct rte_dma_port_param
Definition at line 664 of file rte_dmadev.h.
β struct rte_dma_port_param dst_port
same energy, other side of the couch:
- Used to describes the device access port parameter in the memory-to-device transfer scenario.
- Used to describes the destination device access port parameter in the device-to-device transfer scenario.
See also
struct rte_dma_port_param
Definition at line 672 of file rte_dmadev.h.
β struct rte_dma_auto_free_param auto_free
buffer params to auto free buffer by hardware π± the hardware does the cleanup, you do the celebrating.
β οΈ okay literally listen: to free the buffer by hardware,RTE_DMA_OP_FLAG_AUTO_FREEmust be set while callingrte_dma_copyandrte_dma_copy_sg(). no flag, no free. periodt. π
See also
RTE_DMA_OP_FLAG_AUTO_FREEstruct rte_dma_auto_free_param
Definition at line 680 of file rte_dmadev.h.
β struct rte_dma_inter_domain_param domain
parameters for inter-process or inter-OS domain DMA transfers π this field specifies the source and destination domain handlers required for DMA operations that span across different processes or operating system domains. it's the field that says "yeah we're going across domains, deal with it". main character energy fr fr.
See also
RTE_DMA_CAPA_INTER_PROCESS_DOMAINRTE_DMA_CAPA_INTER_OS_DOMAINstruct rte_dma_inter_domain_param
Definition at line 690 of file rte_dmadev.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. the robots wrote this one, I just put a bow on it π
and that's the whole page, bestie π this was DPDK Version 25.11.3, straight out of the rte_dma_vchan_conf(3) manual β mwah, slay, go configure that virtual DMA channel πΈπ¦β¨
π¦ 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