DPDK 25.03.0-rc0
Public Member Functions
rte_ring_headtail Struct Reference

#include <rte_ring_core.h>

Public Member Functions

 volatile (uint32_t) head
 
 volatile (uint32_t) tail
 

Detailed Description

structures to hold a pair of head/tail values and other metadata. Depending on sync_type format of that structure might be different, but offset for sync_type and tail values should remain the same.

Definition at line 65 of file rte_ring_core.h.

Member Function Documentation

◆ volatile() [1/2]

volatile ( uint32_t  )

prod/consumer head.

◆ volatile() [2/2]

volatile ( uint32_t  )

prod/consumer tail.

Field Documentation

◆ sync_type

enum rte_ring_sync_type sync_type

sync type of prod/cons

Definition at line 70 of file rte_ring_core.h.

◆ single

uint32_t single

deprecated - True if single prod/cons

Definition at line 72 of file rte_ring_core.h.


The documentation for this struct was generated from the following file: