iPXE
Data Fields
ena_cq Struct Reference

Completion queue. More...

#include <ena.h>

Data Fields

union {
   struct ena_tx_cqe *   tx
 Transmit completion queue entries. More...
 
   struct ena_rx_cqe *   rx
 Receive completion queue entries. More...
 
   void *   raw
 Raw data. More...
 
cqe
 Entries. More...
 
unsigned int doorbell
 Doorbell register offset. More...
 
size_t len
 Total length of entries. More...
 
unsigned int cons
 Consumer counter. More...
 
unsigned int phase
 Phase. More...
 
uint16_t id
 Completion queue identifier. More...
 
uint8_t size
 Entry size (in 32-bit words) More...
 
uint8_t requested
 Requested number of entries. More...
 
uint8_t actual
 Actual number of entries. More...
 
uint8_t mask
 Actual number of entries minus one. More...
 

Detailed Description

Completion queue.

Definition at line 519 of file ena.h.

Field Documentation

◆ tx

struct ena_tx_cqe* ena_cq::tx

Transmit completion queue entries.

Definition at line 523 of file ena.h.

Referenced by ena_poll_tx(), and ena_probe().

◆ rx

struct ena_rx_cqe* ena_cq::rx

Receive completion queue entries.

Definition at line 525 of file ena.h.

Referenced by ena_poll_rx(), and ena_probe().

◆ raw

void* ena_cq::raw

Raw data.

Definition at line 527 of file ena.h.

Referenced by ena_create_cq(), and ena_destroy_cq().

◆ cqe

union { ... } ena_cq::cqe

◆ doorbell

unsigned int ena_cq::doorbell

Doorbell register offset.

Definition at line 530 of file ena.h.

Referenced by ena_create_cq().

◆ len

size_t ena_cq::len

Total length of entries.

Definition at line 532 of file ena.h.

Referenced by ena_create_cq(), and ena_destroy_cq().

◆ cons

unsigned int ena_cq::cons

Consumer counter.

Definition at line 534 of file ena.h.

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

◆ phase

unsigned int ena_cq::phase

Phase.

Definition at line 536 of file ena.h.

Referenced by ena_create_cq(), ena_poll_rx(), and ena_poll_tx().

◆ id

uint16_t ena_cq::id

Completion queue identifier.

Definition at line 538 of file ena.h.

Referenced by ena_create_cq(), ena_create_sq(), and ena_destroy_cq().

◆ size

uint8_t ena_cq::size

Entry size (in 32-bit words)

Definition at line 540 of file ena.h.

Referenced by ena_create_cq().

◆ requested

uint8_t ena_cq::requested

Requested number of entries.

Definition at line 542 of file ena.h.

Referenced by ena_create_cq().

◆ actual

uint8_t ena_cq::actual

Actual number of entries.

Definition at line 544 of file ena.h.

Referenced by ena_create_cq().

◆ mask

uint8_t ena_cq::mask

Actual number of entries minus one.

Definition at line 546 of file ena.h.

Referenced by ena_create_cq(), ena_poll_rx(), and ena_poll_tx().


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