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) head
  • volatile (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