iPXE
Data Fields
virtnet_nic Struct Reference

Data Fields

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

Detailed Description

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


Field Documentation

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

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

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

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

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: