iPXE
|
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... | |
struct ena_tx_cqe* ena_cq::tx |
Transmit completion queue entries.
Definition at line 693 of file ena.h.
Referenced by ena_poll_tx(), and ena_probe().
struct ena_rx_cqe* ena_cq::rx |
Receive completion queue entries.
Definition at line 695 of file ena.h.
Referenced by ena_poll_rx(), and ena_probe().
void* ena_cq::raw |
Raw data.
Definition at line 697 of file ena.h.
Referenced by ena_create_cq(), and ena_destroy_cq().
union { ... } ena_cq::cqe |
Entries.
Referenced by ena_create_cq(), ena_destroy_cq(), ena_poll_rx(), ena_poll_tx(), and ena_probe().
unsigned int ena_cq::doorbell |
size_t ena_cq::len |
Total length of entries.
Definition at line 702 of file ena.h.
Referenced by ena_create_cq(), and ena_destroy_cq().
unsigned int ena_cq::cons |
Consumer counter.
Definition at line 704 of file ena.h.
Referenced by ena_create_cq(), ena_poll_rx(), ena_poll_tx(), ena_refill_rx(), and ena_transmit().
unsigned int ena_cq::phase |
Phase.
Definition at line 706 of file ena.h.
Referenced by ena_create_cq(), ena_poll_rx(), and ena_poll_tx().
uint16_t ena_cq::id |
Completion queue identifier.
Definition at line 708 of file ena.h.
Referenced by ena_create_cq(), ena_create_sq(), and ena_destroy_cq().
uint8_t ena_cq::size |
uint8_t ena_cq::requested |
uint8_t ena_cq::actual |
Actual number of entries.
Definition at line 714 of file ena.h.
Referenced by ena_create_cq(), and ena_create_sq().
uint8_t ena_cq::mask |
Actual number of entries minus one.
Definition at line 716 of file ena.h.
Referenced by ena_create_cq(), ena_poll_rx(), and ena_poll_tx().