DPDK  21.11.8
Data Fields
rte_ring_headtail Struct Reference

#include <rte_ring_core.h>

Data Fields

volatile uint32_t head
 
volatile uint32_t tail
 
enum rte_ring_sync_type sync_type
 
uint32_t single
 

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 68 of file rte_ring_core.h.

Field Documentation

◆ head

volatile uint32_t head

prod/consumer head.

Definition at line 69 of file rte_ring_core.h.

◆ tail

volatile uint32_t tail

prod/consumer tail.

Definition at line 70 of file rte_ring_core.h.

◆ sync_type

enum rte_ring_sync_type sync_type

sync type of prod/cons

Definition at line 74 of file rte_ring_core.h.

◆ single

uint32_t single

deprecated - True if single prod/cons

Definition at line 76 of file rte_ring_core.h.


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