iPXE
efx_nic Struct Reference

Hardware access. More...

#include <efx_common.h>

Data Fields

struct net_devicenetdev
enum efx_revision revision
const struct efx_nic_typetype
int port
u32 state
void * membase
 Memory and IO base.
unsigned long mmio_start
unsigned long mmio_len
int buffer_head
struct efx_rx_queue rxq
struct efx_tx_queue txq
struct efx_ev_queue evq
unsigned int rx_prefix_size
int int_en
 INT_REG_KER.
efx_oword_t int_ker __aligned
bool workaround_35388

Detailed Description

Hardware access.

Definition at line 147 of file efx_common.h.

Field Documentation

◆ netdev

◆ revision

enum efx_revision efx_nic::revision

Definition at line 149 of file efx_common.h.

Referenced by efx_probe().

◆ type

const struct efx_nic_type* efx_nic::type

Definition at line 150 of file efx_common.h.

Referenced by hunt_probe().

◆ port

int efx_nic::port

Definition at line 152 of file efx_common.h.

Referenced by hunt_get_port_assignment().

◆ state

u32 efx_nic::state

Definition at line 153 of file efx_common.h.

Referenced by hunt_poll().

◆ membase

void* efx_nic::membase

Memory and IO base.

Definition at line 156 of file efx_common.h.

Referenced by efx_probe(), and efx_remove().

◆ mmio_start

unsigned long efx_nic::mmio_start

Definition at line 157 of file efx_common.h.

Referenced by efx_probe().

◆ mmio_len

unsigned long efx_nic::mmio_len

Definition at line 158 of file efx_common.h.

Referenced by efx_probe().

◆ buffer_head

int efx_nic::buffer_head

Definition at line 161 of file efx_common.h.

◆ rxq

◆ txq

◆ evq

struct efx_ev_queue efx_nic::evq

Definition at line 166 of file efx_common.h.

Referenced by efx_hunt_ev_init(), efx_hunt_evq_read_ack(), efx_hunt_poll(), and hunt_ev_fini().

◆ rx_prefix_size

unsigned int efx_nic::rx_prefix_size

Definition at line 168 of file efx_common.h.

Referenced by efx_hunt_receive(), and hunt_probe().

◆ int_en

int efx_nic::int_en

INT_REG_KER.

Definition at line 171 of file efx_common.h.

Referenced by efx_hunt_irq(), efx_hunt_open(), and efx_hunt_poll().

◆ __aligned

efx_oword_t int_ker efx_nic::__aligned

Definition at line 172 of file efx_common.h.

◆ workaround_35388

bool efx_nic::workaround_35388

Definition at line 175 of file efx_common.h.

Referenced by efx_hunt_evq_read_ack(), and hunt_probe().


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