iPXE
|
A Velocity network card. More...
#include <velocity.h>
Data Fields | |
void * | regs |
Registers. More... | |
struct mii_interface | mdio |
MII interface. More... | |
struct mii_device | mii |
MII device. More... | |
struct net_device * | netdev |
Netdev. More... | |
struct velocity_rx_descriptor * | rx_ring |
Receive descriptor ring. More... | |
struct io_buffer * | rx_buffs [VELOCITY_RXDESC_NUM] |
Receive I/O buffers. More... | |
unsigned int | rx_prod |
Receive producer index. More... | |
unsigned int | rx_cons |
Receive consumer index. More... | |
unsigned int | rx_commit |
Receive commit number. More... | |
struct velocity_tx_descriptor * | tx_ring |
Transmit descriptor ring. More... | |
unsigned int | tx_prod |
Transmit producer index. More... | |
unsigned int | tx_cons |
Transmit consumer index. More... | |
A Velocity network card.
Definition at line 325 of file velocity.h.
void* velocity_nic::regs |
Registers.
Definition at line 327 of file velocity.h.
Referenced by velocity_alloc_rings(), velocity_autopoll_start(), velocity_autopoll_stop(), velocity_check_link(), velocity_close(), velocity_irq(), velocity_mii_read(), velocity_mii_write(), velocity_open(), velocity_poll(), velocity_probe(), velocity_refill_rx(), velocity_reload_eeprom(), velocity_reset(), and velocity_transmit().
struct mii_interface velocity_nic::mdio |
MII interface.
Definition at line 329 of file velocity.h.
Referenced by velocity_mii_read(), velocity_mii_write(), and velocity_probe().
struct mii_device velocity_nic::mii |
MII device.
Definition at line 331 of file velocity.h.
Referenced by velocity_probe(), and velocity_set_link().
struct net_device* velocity_nic::netdev |
Netdev.
Definition at line 333 of file velocity.h.
Referenced by velocity_poll_rx(), velocity_poll_tx(), and velocity_probe().
struct velocity_rx_descriptor* velocity_nic::rx_ring |
Receive descriptor ring.
Definition at line 336 of file velocity.h.
Referenced by velocity_alloc_rings(), velocity_close(), velocity_poll_rx(), and velocity_refill_rx().
struct io_buffer* velocity_nic::rx_buffs[VELOCITY_RXDESC_NUM] |
Receive I/O buffers.
Definition at line 338 of file velocity.h.
Referenced by velocity_close(), velocity_poll_rx(), and velocity_refill_rx().
unsigned int velocity_nic::rx_prod |
Receive producer index.
Definition at line 340 of file velocity.h.
Referenced by velocity_alloc_rings(), velocity_close(), velocity_poll_rx(), and velocity_refill_rx().
unsigned int velocity_nic::rx_cons |
Receive consumer index.
Definition at line 342 of file velocity.h.
Referenced by velocity_alloc_rings(), velocity_close(), velocity_poll_rx(), and velocity_refill_rx().
unsigned int velocity_nic::rx_commit |
Receive commit number.
Used to fullfill the hardware requirement of returning receive buffers to the hardware only in blocks of 4.
Definition at line 348 of file velocity.h.
Referenced by velocity_alloc_rings(), and velocity_refill_rx().
struct velocity_tx_descriptor* velocity_nic::tx_ring |
Transmit descriptor ring.
Definition at line 351 of file velocity.h.
Referenced by velocity_alloc_rings(), velocity_close(), velocity_poll_tx(), and velocity_transmit().
unsigned int velocity_nic::tx_prod |
Transmit producer index.
Definition at line 353 of file velocity.h.
Referenced by velocity_alloc_rings(), velocity_close(), velocity_poll_tx(), and velocity_transmit().
unsigned int velocity_nic::tx_cons |
Transmit consumer index.
Definition at line 355 of file velocity.h.
Referenced by velocity_alloc_rings(), velocity_close(), and velocity_poll_tx().