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