FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
virtio_pci_legacy.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define VIRTIO_PCI_HOST_FEATURES   0 /* host's supported features (32bit, RO) */
 
#define VIRTIO_PCI_GUEST_FEATURES   4 /* guest's supported features (32, RW) */
 
#define VIRTIO_PCI_QUEUE_PFN   8 /* physical address of VQ (32, RW) */
 
#define VIRTIO_PCI_QUEUE_NUM   12 /* number of ring entries (16, RO) */
 
#define VIRTIO_PCI_QUEUE_SEL   14 /* current VQ selection (16, RW) */
 
#define VIRTIO_PCI_QUEUE_NOTIFY   16 /* notify host regarding VQ (16, RW) */
 
#define VIRTIO_PCI_STATUS   18 /* device status register (8, RW) */
 
#define VIRTIO_PCI_ISR
 
#define VIRTIO_MSI_CONFIG_VECTOR   20 /* configuration change vector (16, RW) */
 
#define VIRTIO_MSI_QUEUE_VECTOR
 
#define VIRTIO_PCI_QUEUE_ADDR_SHIFT   12
 

Macro Definition Documentation

◆ VIRTIO_MSI_CONFIG_VECTOR

#define VIRTIO_MSI_CONFIG_VECTOR   20 /* configuration change vector (16, RW) */

Definition at line 31 of file virtio_pci_legacy.h.

◆ VIRTIO_MSI_QUEUE_VECTOR

#define VIRTIO_MSI_QUEUE_VECTOR
Value:
22 /* vector for selected VQ notifications
(16, RW) */

Definition at line 32 of file virtio_pci_legacy.h.

◆ VIRTIO_PCI_GUEST_FEATURES

#define VIRTIO_PCI_GUEST_FEATURES   4 /* guest's supported features (32, RW) */

Definition at line 23 of file virtio_pci_legacy.h.

◆ VIRTIO_PCI_HOST_FEATURES

#define VIRTIO_PCI_HOST_FEATURES   0 /* host's supported features (32bit, RO) */

Definition at line 22 of file virtio_pci_legacy.h.

◆ VIRTIO_PCI_ISR

#define VIRTIO_PCI_ISR
Value:
19 /* interrupt status register, reading
* also clears the register (8, RO) */

Definition at line 29 of file virtio_pci_legacy.h.

◆ VIRTIO_PCI_QUEUE_ADDR_SHIFT

#define VIRTIO_PCI_QUEUE_ADDR_SHIFT   12

Definition at line 33 of file virtio_pci_legacy.h.

◆ VIRTIO_PCI_QUEUE_NOTIFY

#define VIRTIO_PCI_QUEUE_NOTIFY   16 /* notify host regarding VQ (16, RW) */

Definition at line 27 of file virtio_pci_legacy.h.

◆ VIRTIO_PCI_QUEUE_NUM

#define VIRTIO_PCI_QUEUE_NUM   12 /* number of ring entries (16, RO) */

Definition at line 25 of file virtio_pci_legacy.h.

◆ VIRTIO_PCI_QUEUE_PFN

#define VIRTIO_PCI_QUEUE_PFN   8 /* physical address of VQ (32, RW) */

Definition at line 24 of file virtio_pci_legacy.h.

◆ VIRTIO_PCI_QUEUE_SEL

#define VIRTIO_PCI_QUEUE_SEL   14 /* current VQ selection (16, RW) */

Definition at line 26 of file virtio_pci_legacy.h.

◆ VIRTIO_PCI_STATUS

#define VIRTIO_PCI_STATUS   18 /* device status register (8, RW) */

Definition at line 28 of file virtio_pci_legacy.h.