iPXE
Data Fields
ena_nic Struct Reference

An ENA network card. More...

#include <ena.h>

Data Fields

void * regs
 Registers. More...
 
struct ena_host_infoinfo
 Host info. More...
 
struct ena_aq aq
 Admin queue. More...
 
struct ena_acq acq
 Admin completion queue. More...
 
struct ena_aenq aenq
 Async event notification queue. More...
 
struct ena_qp tx
 Transmit queue. More...
 
struct ena_qp rx
 Receive queue. More...
 
uint8_t tx_ids [ENA_TX_COUNT]
 Transmit buffer IDs. More...
 
struct io_buffertx_iobuf [ENA_TX_COUNT]
 Transmit I/O buffers, indexed by buffer ID. More...
 
uint8_t rx_ids [ENA_RX_COUNT]
 Receive buffer IDs. More...
 
struct io_bufferrx_iobuf [ENA_RX_COUNT]
 Receive I/O buffers, indexed by buffer ID. More...
 

Detailed Description

An ENA network card.

Definition at line 740 of file ena.h.

Field Documentation

◆ regs

void* ena_nic::regs

◆ info

struct ena_host_info* ena_nic::info

Host info.

Definition at line 744 of file ena.h.

Referenced by ena_probe(), ena_remove(), and ena_set_host_attributes().

◆ aq

struct ena_aq ena_nic::aq

Admin queue.

Definition at line 746 of file ena.h.

Referenced by ena_admin(), ena_admin_req(), ena_create_admin(), and ena_destroy_admin().

◆ acq

struct ena_acq ena_nic::acq

Admin completion queue.

Definition at line 748 of file ena.h.

Referenced by ena_admin(), ena_create_admin(), ena_destroy_admin(), and ena_probe().

◆ aenq

struct ena_aenq ena_nic::aenq

Async event notification queue.

Definition at line 750 of file ena.h.

Referenced by ena_create_async(), and ena_destroy_async().

◆ tx

struct ena_qp ena_nic::tx

Transmit queue.

Definition at line 752 of file ena.h.

Referenced by ena_close(), ena_open(), ena_poll_tx(), ena_probe(), and ena_transmit().

◆ rx

struct ena_qp ena_nic::rx

Receive queue.

Definition at line 754 of file ena.h.

Referenced by ena_close(), ena_open(), ena_poll_rx(), ena_probe(), and ena_refill_rx().

◆ tx_ids

uint8_t ena_nic::tx_ids[ENA_TX_COUNT]

Transmit buffer IDs.

Definition at line 756 of file ena.h.

Referenced by ena_poll_tx(), ena_probe(), and ena_transmit().

◆ tx_iobuf

struct io_buffer* ena_nic::tx_iobuf[ENA_TX_COUNT]

Transmit I/O buffers, indexed by buffer ID.

Definition at line 758 of file ena.h.

Referenced by ena_poll_tx(), and ena_transmit().

◆ rx_ids

uint8_t ena_nic::rx_ids[ENA_RX_COUNT]

Receive buffer IDs.

Definition at line 760 of file ena.h.

Referenced by ena_poll_rx(), ena_probe(), and ena_refill_rx().

◆ rx_iobuf

struct io_buffer* ena_nic::rx_iobuf[ENA_RX_COUNT]

Receive I/O buffers, indexed by buffer ID.

Definition at line 762 of file ena.h.

Referenced by ena_empty_rx(), ena_poll_rx(), and ena_refill_rx().


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