FD.io VPP
v20.01-48-g3e0dafb74
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | virtio_pci_cap_t |
struct | virtio_pci_notify_cap_t |
struct | virtio_pci_common_cfg_t |
struct | vring_desc_t |
struct | vring_avail_t |
struct | vring_used_elem_t |
struct | vring_used_t |
struct | virtio_pci_create_if_args_t |
Enumerations | |
enum | virtio_config_status_flags_t { foreach_virtio_config_status_flags } |
enum | virtio_msix_status_t { VIRTIO_MSIX_NONE = 0, VIRTIO_MSIX_DISABLED = 1, VIRTIO_MSIX_ENABLED = 2 } |
Functions | |
void | debug_device_config_space (vlib_main_t *vm, virtio_if_t *vif) |
void | device_status (vlib_main_t *vm, virtio_if_t *vif) |
void | virtio_pci_create_if (vlib_main_t *vm, virtio_pci_create_if_args_t *args) |
int | virtio_pci_delete_if (vlib_main_t *vm, virtio_if_t *ad) |
int | virtio_pci_enable_disable_offloads (vlib_main_t *vm, virtio_if_t *vif, int gso_enabled, int checksum_offload_enabled, int offloads_disabled) |
#define foreach_virtio_config_status_flags |
#define foreach_virtio_net_feature_flags |
#define VIRTIO_MSI_CONFIG_VECTOR 20 /* configuration change vector (16, RW) */ |
#define VIRTIO_MSI_QUEUE_VECTOR |
#define VIRTIO_PCI_GUEST_FEATURES 4 /* guest's supported features (32, RW) */ |
#define VIRTIO_PCI_HOST_FEATURES 0 /* host's supported features (32bit, RO) */ |
#define VIRTIO_PCI_ISR |
#define VIRTIO_PCI_QUEUE_NOTIFY 16 /* notify host regarding VQ (16, RW) */ |
#define VIRTIO_PCI_QUEUE_NUM 12 /* number of ring entries (16, RO) */ |
#define VIRTIO_PCI_QUEUE_PFN 8 /* physical address of VQ (32, RW) */ |
#define VIRTIO_PCI_QUEUE_SEL 14 /* current VQ selection (16, RW) */ |
#define VIRTIO_PCI_STATUS 18 /* device status register (8, RW) */ |
enum virtio_msix_status_t |
|
inline |
|
inline |
void virtio_pci_create_if | ( | vlib_main_t * | vm, |
virtio_pci_create_if_args_t * | args | ||
) |
int virtio_pci_delete_if | ( | vlib_main_t * | vm, |
virtio_if_t * | ad | ||
) |
int virtio_pci_enable_disable_offloads | ( | vlib_main_t * | vm, |
virtio_if_t * | vif, | ||
int | gso_enabled, | ||
int | checksum_offload_enabled, | ||
int | offloads_disabled | ||
) |