DPDK  20.11.6
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 71 of file rte_ring_core.h.

Field Documentation

◆ head

volatile uint32_t head

prod/consumer head.

Definition at line 72 of file rte_ring_core.h.

◆ tail

volatile uint32_t tail

prod/consumer tail.

Definition at line 73 of file rte_ring_core.h.

◆ sync_type

enum rte_ring_sync_type sync_type

sync type of prod/cons

Definition at line 77 of file rte_ring_core.h.

◆ single

uint32_t single

deprecated - True if single prod/cons

Definition at line 79 of file rte_ring_core.h.


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