rte_ring_headtail(3)
β¨ NAME β¨
rte_ring_headtail β bestie, it's a lil struct thing from DPDK π
πΈ SYNOPSIS πΈ
#include <rte_ring_core.h>
π Public Member Functions π
volatile (uint32_t) headvolatile (uint32_t) tail
π¦ Detailed Description π¦
okay so picture this: it's a struct that holds a pair of head/tail values plus some other metadata π«Ά. That's the whole vibe.
Depending on sync_type, the format of that struct might be different β but no cap, the offset for the sync_type and tail values should remain the same π
. Keep those offsets steady, queen.
Definition at line 65 of file rte_ring_core.h.
π Member Function Documentation π
volatile (uint32_t )β prod/consumer head πvolatile (uint32_t )β prod/consumer tail π
π§ Field Documentation π§
enum rte_ring_sync_type sync_typeβ the sync type of prod/cons β¨
Definition at line 70 of file rte_ring_core.h.
uint32_t singleβ deprecated π¨ β True if single prod/cons
Definition at line 72 of file rte_ring_core.h.
β οΈ not me reminding you that single is literally marked deprecated β if you're writing new code, maybe don't lean on it, bestie π
π Author π
Generated automatically by Doxygen for DPDK from the source code. so yes, a robot wrote it, and it ate π
and that's the whole page, babes π stay iconic, keep your offsets aligned, and remember this is DPDK, Version 25.11.3, manual page rte_ring_headtail(3) π mwah π
π¦ 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