DPDK  20.05.0
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

volatile uint32_t head

prod/consumer head.

Definition at line 72 of file rte_ring_core.h.

volatile uint32_t tail

prod/consumer tail.

Definition at line 73 of file rte_ring_core.h.

enum rte_ring_sync_type sync_type

sync type of prod/cons

Definition at line 77 of file rte_ring_core.h.

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: