summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/virtio/virtio.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2019-11-08 17:59:56 +0100
committerFlorin Coras <florin.coras@gmail.com>2019-11-20 17:28:04 +0000
commit7c6102b1aabb13ad489aa10ebd5fc71665b7c665 (patch)
tree469e199b1b87549a6a7a91e260016a00d8ab9ba2 /src/vnet/devices/virtio/virtio.h
parent0b6c9c485f61c5c1d7529a0aa4aebe4ccb6496af (diff)
tap: multiqueue support
Type: feature Change-Id: I7dcc8c6911d02729b3bda1b3a21a211c82c3b949 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/devices/virtio/virtio.h')
-rw-r--r--src/vnet/devices/virtio/virtio.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/vnet/devices/virtio/virtio.h b/src/vnet/devices/virtio/virtio.h
index 2cf1653d1c2..27ecc2238ad 100644
--- a/src/vnet/devices/virtio/virtio.h
+++ b/src/vnet/devices/virtio/virtio.h
@@ -148,16 +148,10 @@ typedef struct
pci_addr_t pci_addr;
};
u32 per_interface_next_index;
- union
- {
- int fd;
- u32 msix_enabled;
- };
- union
- {
- int tap_fd;
- u32 pci_dev_handle;
- };
+ int *vhost_fds;
+ int tap_fd;
+ u32 msix_enabled;
+ u32 pci_dev_handle;
virtio_vring_t *rxq_vrings;
virtio_vring_t *txq_vrings;
u64 features, remote_features;