rte_ring_headtail(3)
π« NAME π«
rte_ring_headtail β okay bestie, that's the whole name, and this is the rte_ring_headtail(3) page from the Library Functions Manual. We're talking structures that hold head/tail values and other metadata, and it's giving very specific-ring-core energy. π
πΈ SYNOPSIS πΈ
Include this header and you get these public member functions, exactly like this:
#include <rte_ring_core.h>
Public Member Functions
volatile (uint32_t) head
volatile (uint32_t) tail
π¦ Detailed Description π¦
Okay so picture structures to hold a pair of head/tail values and other metadata. Depending on sync_type, the format of that structure might be different, but the offset for sync_type and tail values should remain the same. No cap, that's the whole description. π«Ά
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β sync type of prod/cons. Definition at line 70 of filerte_ring_core.h. βuint32_t singleβ deprecated - True if single prod/cons. Definition at line 72 of filerte_ring_core.h. π¨
Heads up bestie: single is literally marked deprecated, so don't treat it like main character energy. The page says: deprecated - True if single prod/cons.
π Author π
Generated automatically by Doxygen for DPDK from the source code. π«‘
π cute lil sign-off: this page is from DPDK, Version 26.03.0 β generated automatically by Doxygen for DPDK from the source code. The footer doesn't list a date on this one, so I'm not inventing one, bestie. Bye! π β¨
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms