EM-ODP  3.7.0
Event Machine on ODP
queue_tbl_t Struct Reference

#include <em_queue_types.h>

Collaboration diagram for queue_tbl_t:

Data Fields

odp_queue_capability_t odp_queue_capability
 
odp_schedule_capability_t odp_schedule_capability
 
env_atomic32_t output_queue_count ENV_CACHE_LINE_ALIGNED
 
bool output_queue_idx_free [EM_MAX_OUTPUT_QUEUES]
 
env_spinlock_t output_queue_lock
 
queue_elem_t *queue_elem ENV_CACHE_LINE_ALIGNED
 
char(* name )[EM_QUEUE_NAME_LEN]
 

Detailed Description

EM queue element table

Definition at line 271 of file em_queue_types.h.

Field Documentation

◆ ENV_CACHE_LINE_ALIGNED [1/2]

env_atomic32_t output_queue_count queue_tbl_t::ENV_CACHE_LINE_ALIGNED

Current number of allocated output queues

Definition at line 277 of file em_queue_types.h.

◆ ENV_CACHE_LINE_ALIGNED [2/2]

queue_elem_t* queue_elem queue_tbl_t::ENV_CACHE_LINE_ALIGNED

Dynamically allocated memory starts here. The elements are in a single continuous memory block. The amount of memory reserved depends on the max number of EM queues given in EM config file. Queue element table, format: queue_elem[em_queue_get_max_num()]

Definition at line 290 of file em_queue_types.h.

◆ name

char(* queue_tbl_t::name)[EM_QUEUE_NAME_LEN]

Queue name table, format: name[em_queue_get_max_num()][EM_QUEUE_NAME_LEN]

Definition at line 292 of file em_queue_types.h.

◆ odp_queue_capability

odp_queue_capability_t queue_tbl_t::odp_queue_capability

ODP queue capabilities common for all queues

Definition at line 273 of file em_queue_types.h.

◆ odp_schedule_capability

odp_schedule_capability_t queue_tbl_t::odp_schedule_capability

ODP schedule capabilities related to queues

Definition at line 275 of file em_queue_types.h.

◆ output_queue_idx_free

bool queue_tbl_t::output_queue_idx_free[EM_MAX_OUTPUT_QUEUES]

Free output queue indexes

Definition at line 279 of file em_queue_types.h.

◆ output_queue_lock

env_spinlock_t queue_tbl_t::output_queue_lock

Lock for output queue (de-)allocations

Definition at line 281 of file em_queue_types.h.


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