iPXE
Data Fields
virtnet_nic Struct Reference

Data Fields

unsigned long ioaddr
 Base pio register address. More...
 
int virtio_version
 0 for legacy, 1 for virtio 1.0 More...
 
struct virtio_pci_modern_device vdev
 Virtio 1.0 device data. More...
 
struct vring_virtqueuevirtqueue
 RX/TX virtqueues. More...
 
struct list_head rx_iobufs
 RX packets handed to the NIC waiting to be filled in. More...
 
unsigned int rx_num_iobufs
 Pending rx packet count. More...
 
struct virtio_net_hdr_modern empty_header [QUEUE_NB]
 Virtio net dummy packet headers. More...
 

Detailed Description

Definition at line 83 of file virtio-net.c.

Field Documentation

◆ ioaddr

unsigned long virtnet_nic::ioaddr

Base pio register address.

Definition at line 85 of file virtio-net.c.

Referenced by virtnet_close(), virtnet_enqueue_iob(), virtnet_open_legacy(), virtnet_poll(), and virtnet_probe_legacy().

◆ virtio_version

int virtnet_nic::virtio_version

0 for legacy, 1 for virtio 1.0

Definition at line 88 of file virtio-net.c.

Referenced by virtnet_close(), virtnet_enqueue_iob(), virtnet_open(), virtnet_poll(), and virtnet_probe_modern().

◆ vdev

struct virtio_pci_modern_device virtnet_nic::vdev

Virtio 1.0 device data.

Definition at line 91 of file virtio-net.c.

Referenced by virtnet_close(), virtnet_enqueue_iob(), virtnet_open_modern(), virtnet_poll(), virtnet_probe_modern(), and virtnet_remove().

◆ virtqueue

struct vring_virtqueue* virtnet_nic::virtqueue

◆ rx_iobufs

struct list_head virtnet_nic::rx_iobufs

RX packets handed to the NIC waiting to be filled in.

Definition at line 97 of file virtio-net.c.

Referenced by virtnet_close(), virtnet_open_legacy(), virtnet_open_modern(), and virtnet_refill_rx_virtqueue().

◆ rx_num_iobufs

unsigned int virtnet_nic::rx_num_iobufs

◆ empty_header

struct virtio_net_hdr_modern virtnet_nic::empty_header[QUEUE_NB]

Virtio net dummy packet headers.

Definition at line 103 of file virtio-net.c.

Referenced by virtnet_enqueue_iob().


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