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_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 696 of file ena.h.

Field Documentation

◆ regs

void* ena_nic::regs

◆ info

struct ena_host_info* ena_nic::info

Host info.

Definition at line 700 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 702 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 704 of file ena.h.

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

◆ tx

struct ena_qp ena_nic::tx

Transmit queue.

Definition at line 706 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 708 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 710 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 712 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 714 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 716 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: