Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/virtio/pci/virtio_pci.h
Show All 39 Lines | |||||
struct vtpci_virtqueue { | struct vtpci_virtqueue { | ||||
struct virtqueue *vtv_vq; | struct virtqueue *vtv_vq; | ||||
int vtv_no_intr; | int vtv_no_intr; | ||||
int vtv_notify_offset; | int vtv_notify_offset; | ||||
}; | }; | ||||
struct vtpci_common { | struct vtpci_common { | ||||
device_t vtpci_dev; | device_t vtpci_dev; | ||||
uint64_t vtpci_host_features; | |||||
uint64_t vtpci_features; | uint64_t vtpci_features; | ||||
struct vtpci_virtqueue *vtpci_vqs; | struct vtpci_virtqueue *vtpci_vqs; | ||||
int vtpci_nvqs; | int vtpci_nvqs; | ||||
uint32_t vtpci_flags; | uint32_t vtpci_flags; | ||||
#define VTPCI_FLAG_NO_MSI 0x0001 | #define VTPCI_FLAG_NO_MSI 0x0001 | ||||
#define VTPCI_FLAG_NO_MSIX 0x0002 | #define VTPCI_FLAG_NO_MSIX 0x0002 | ||||
#define VTPCI_FLAG_MODERN 0x0004 | #define VTPCI_FLAG_MODERN 0x0004 | ||||
▲ Show 20 Lines • Show All 76 Lines • Show Last 20 Lines |