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...
 
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...
 

Detailed Description

Submission queue.

Definition at line 475 of file ena.h.

Field Documentation

◆ tx

struct ena_tx_sqe* ena_sq::tx

Transmit submission queue entries.

Definition at line 479 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 481 of file ena.h.

Referenced by ena_probe(), and ena_refill_rx().

◆ raw

void* ena_sq::raw

Raw data.

Definition at line 483 of file ena.h.

Referenced by ena_create_sq(), and ena_destroy_sq().

◆ sqe

union { ... } ena_sq::sqe

◆ doorbell

unsigned int ena_sq::doorbell

Doorbell register offset.

Definition at line 486 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 488 of file ena.h.

Referenced by ena_create_sq(), and ena_destroy_sq().

◆ prod

unsigned int ena_sq::prod

Producer counter.

Definition at line 490 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 492 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 494 of file ena.h.

Referenced by ena_create_sq(), and ena_destroy_sq().

◆ direction

uint8_t ena_sq::direction

Direction.

Definition at line 496 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 498 of file ena.h.

Referenced by ena_create_sq().


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