iPXE
Data Fields
velocity_nic Struct Reference

A Velocity network card. More...

#include <velocity.h>

Data Fields

void * regs
 Registers.
struct mii_interface mdio
 MII interface.
struct mii_device mii
 MII device.
struct net_devicenetdev
 Netdev.
struct velocity_rx_descriptorrx_ring
 Receive descriptor ring.
struct io_bufferrx_buffs [VELOCITY_RXDESC_NUM]
 Receive I/O buffers.
unsigned int rx_prod
 Receive producer index.
unsigned int rx_cons
 Receive consumer index.
unsigned int rx_commit
 Receive commit number.
struct velocity_tx_descriptortx_ring
 Transmit descriptor ring.
unsigned int tx_prod
 Transmit producer index.
unsigned int tx_cons
 Transmit consumer index.

Detailed Description

A Velocity network card.

Definition at line 325 of file velocity.h.


Field Documentation

MII interface.

Definition at line 329 of file velocity.h.

Referenced by velocity_probe().

MII device.

Definition at line 331 of file velocity.h.

Referenced by velocity_probe(), and velocity_set_link().

Netdev.

Definition at line 333 of file velocity.h.

Referenced by velocity_poll_rx(), velocity_poll_tx(), and velocity_probe().

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().

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().

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().

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().


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