ROFL-pipeline  v0.6.0dev
Data Fields
port_queue Struct Reference

Switch queue abstraction. More...

#include <port_queue.h>

Data Fields

bool set
 
uint32_t id
 Queue id. More...
 
char name [PORT_QUEUE_MAX_LEN_NAME]
 Queue name. More...
 
uint16_t length
 Length of the queue (slot num.) More...
 
uint16_t min_rate
 Minimum rate (0 when unknown) More...
 
uint16_t max_rate
 Maximum rate (0 when unknown) More...
 
queue_stats_t stats
 Queue statistics. More...
 
platform_queue_state_t * platform_queue_state
 

Detailed Description

Switch queue abstraction.

The library does not supose any special meanining over the queue id (e.g. queue_id 1 has higher priority than queue_id 0). Most implementations though use the library being 0 best-effort and the highest the number the highest priority the queue has.

Definition at line 49 of file port_queue.h.

Field Documentation

uint32_t port_queue::id

Queue id.

Definition at line 56 of file port_queue.h.

uint16_t port_queue::length

Length of the queue (slot num.)

Definition at line 66 of file port_queue.h.

uint16_t port_queue::max_rate

Maximum rate (0 when unknown)

Definition at line 76 of file port_queue.h.

uint16_t port_queue::min_rate

Minimum rate (0 when unknown)

Definition at line 71 of file port_queue.h.

char port_queue::name[PORT_QUEUE_MAX_LEN_NAME]

Queue name.

Definition at line 61 of file port_queue.h.

queue_stats_t port_queue::stats

Queue statistics.

Definition at line 81 of file port_queue.h.


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