rte_dmadev_pmd.h(3)
π rte_dmadev_pmd.h β bestie edition π
okay so welcome to rte_dmadev_pmd.h, straight out of the DPDK Library Functions Manual β¨ this is the driver-facing side of DMA devices and ngl it's got main character energy for PMD authors only π«Ά
πΈ NAME πΈ
rte_dmadev_pmd.h β literally the header, that's the whole name, periodt π
β¨ SYNOPSIS β¨
bestie you gotta pull in these includes first, in exactly this order, no cap:
#include <dev_driver.h>
#include <rte_compat.h>
#include 'rte_dmadev.h'
π Data Structures π
struct rte_dma_dev_opsβ the one and only struct this header is serving up π
π¦ Enumerations π¦
enum rte_dma_dev_state { RTE_DMA_DEV_UNUSED = 0, RTE_DMA_DEV_REGISTERED, RTE_DMA_DEV_READY }β the whole vibe check on device states, detailed below π
π DESCRIPTION π
So this is the DMA Device PMD interface β the driver facing interface for a DMA device π
π¨ IMPORTANT BESTIE: these are not to be called directly by any application. Like, do not. It's giving "you weren't supposed to see this" π
Definition in file rte_dmadev_pmd.h π
π Enumeration Type Documentation π
β¨ enum rte_dma_dev_state β¨
Possible states of a DMA device. Like the lifecycle eras of your fave device, fr fr π«
See also
struct rte_dma_dev::state
π Enumerator π
RTE_DMA_DEV_UNUSEDβ Device is unused. Just sitting there, off the clock, no thoughts head empty πRTE_DMA_DEV_REGISTEREDβ Device is registered, but not ready to be used. It's giving "on the roster but not dressed yet" πRTE_DMA_DEV_READYβ Device is ready for use. This is set by the PMD. Slay, it's go time π₯
Definition at line 142 of file rte_dmadev_pmd.h β yes bestie, line 142, iconic π
π Author π
Generated automatically by Doxygen for DPDK from the source code π€ (not me, I just write the vibes, the robots write the docs π«Ά)
and that's the whole page bestie!! no thoughts, just enums and structs π
this was rte_dmadev_pmd.h from DPDK, Version 25.11.3, served up all cute for your reading pleasure πΈ bye pookies, go read the actual docs before you call anything directly, ilysm πβ¨
π¦ 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