rte_pmd_cnxk_eventdev.h(3)
π rte_pmd_cnxk_eventdev.h β bestie edition π
okay so this is a page from the Library Functions Manual, and the star of the show is rte_pmd_cnxk_eventdev.h. no cap, it's giving "small header, big job" energy. let's get into it π«Ά
β¨ NAME β¨
rte_pmd_cnxk_eventdev.h β literally the whole point of this page π
π¦ SYNOPSIS π¦
#include <rte_common.h>
#include <rte_compat.h>
πΈ Functions πΈ
__rte_experimental void rte_pmd_cnxk_eventdev_wait_head (uint8_t dev,
uint8_t port)
__rte_experimental uint8_t rte_pmd_cnxk_eventdev_is_head (uint8_t dev,
uint8_t port)
two little functions, both marked __rte_experimental (iykyk β that's the "we're still cooking on this one" flag, so don't build your whole personality on it staying the same π).
π Detailed Description π
Marvell CNXK eventdev PMD specific functions. periodt β¨
Definition in file rte_pmd_cnxk_eventdev.h. yes bestie, the header is the documentation for itself, that's just how Doxygen does it π
π Function Documentation π
π __rte_experimental void rte_pmd_cnxk_eventdev_wait_head (uint8_t dev, uint8_t port)
okay so this one says: wait for the currently active flow context on the event port to become HEAD of the flow-chain. like, literally sit there and chill until it's front of the line, main character at the head of the chain π
Parameters
devβ Event device identifier.portβ Event port identifier.
π§ __rte_experimental uint8_t rte_pmd_cnxk_eventdev_is_head (uint8_t dev, uint8_t port)
and this one is the vibe check, bestie: check if the currently active flow context on the event port is the HEAD of the flow-chain. yes or yes? no waiting around, just a peek β¨
Parameters
devβ Event device identifier.portβ Event port identifier.
Returns
- Status of the currently held flow context
0β not the head of the flow-chain1β head of the flow-chain
so 0 is the "aww not yet π₯²" and 1 is the "slay, you're the head now π₯".
π Author π
Generated automatically by Doxygen for DPDK from the source code. so no human hand typed this, Doxygen just did its little robot thing π€π
tiny reminder bestie: that __rte_experimental tag means these are still experimental, so treat them accordingly β iconic but not frozen π§
k bye, this was rte_pmd_cnxk_eventdev.h(3) from DPDK, Version 25.11.3 β mwah, take care of your flow-chains πππ¦
π¦ 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