iPXE
Data Fields
ena_sq Struct Reference

Submission queue. More...

#include <ena.h>

Data Fields

union {
   struct ena_tx_sqe *   tx
 Transmit submission queue entries. More...
 
   struct ena_rx_sqe *   rx
 Receive submission queue entries. More...
 
   void *   raw
 Raw data. More...
 
sqe
 Entries. More...
 
uint8_tids
 Buffer IDs. More...
 
unsigned int doorbell
 Doorbell register offset. More...
 
size_t len
 Total length of entries. More...
 
unsigned int prod
 Producer counter. More...
 
unsigned int phase
 Phase. More...
 
uint16_t id
 Submission queue identifier. More...
 
uint8_t direction
 Direction. More...
 
uint8_t count
 Number of entries. More...
 
uint8_t max
 Maximum fill level. More...
 
uint8_t fill
 Fill level (limited to completion queue size) More...
 

Detailed Description

Submission queue.

Definition at line 632 of file ena.h.

Field Documentation

◆ tx

struct ena_tx_sqe* ena_sq::tx

Transmit submission queue entries.

Definition at line 636 of file ena.h.

Referenced by ena_probe(), and ena_transmit().

◆ rx

struct ena_rx_sqe* ena_sq::rx

Receive submission queue entries.

Definition at line 638 of file ena.h.

Referenced by ena_probe(), and ena_refill_rx().

◆ raw

void* ena_sq::raw

Raw data.

Definition at line 640 of file ena.h.

Referenced by ena_create_sq(), and ena_destroy_sq().

◆ sqe

union { ... } ena_sq::sqe

◆ ids

uint8_t* ena_sq::ids

Buffer IDs.

Definition at line 643 of file ena.h.

Referenced by ena_create_sq().

◆ doorbell

unsigned int ena_sq::doorbell

Doorbell register offset.

Definition at line 645 of file ena.h.

Referenced by ena_create_sq(), ena_refill_rx(), and ena_transmit().

◆ len

size_t ena_sq::len

Total length of entries.

Definition at line 647 of file ena.h.

Referenced by ena_create_sq(), and ena_destroy_sq().

◆ prod

unsigned int ena_sq::prod

Producer counter.

Definition at line 649 of file ena.h.

Referenced by ena_create_sq(), ena_poll_rx(), ena_poll_tx(), ena_refill_rx(), and ena_transmit().

◆ phase

unsigned int ena_sq::phase

Phase.

Definition at line 651 of file ena.h.

Referenced by ena_create_sq(), ena_refill_rx(), and ena_transmit().

◆ id

uint16_t ena_sq::id

Submission queue identifier.

Definition at line 653 of file ena.h.

Referenced by ena_create_sq(), and ena_destroy_sq().

◆ direction

uint8_t ena_sq::direction

Direction.

Definition at line 655 of file ena.h.

Referenced by ena_create_sq(), and ena_destroy_sq().

◆ count

uint8_t ena_sq::count

Number of entries.

Definition at line 657 of file ena.h.

Referenced by ena_create_sq().

◆ max

uint8_t ena_sq::max

Maximum fill level.

Definition at line 659 of file ena.h.

Referenced by ena_create_sq().

◆ fill

uint8_t ena_sq::fill

Fill level (limited to completion queue size)

Definition at line 661 of file ena.h.

Referenced by ena_create_sq(), ena_refill_rx(), and ena_transmit().


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