aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bhyve
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-10-03 07:22:07 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-10-03 07:22:07 +0000
commit6875f8e707f0e0252087c72f5bab00a8a291b062 (patch)
tree68061bd48920189aaf2a2cdc0ae02ed3f1995502 /usr.sbin/bhyve
parent5a2b666ce590a56f147e167aa07684af2d6b854a (diff)
parent5821213b4ce3a761c61213b4a8ff6a0756555fe3 (diff)
downloadsrc-6875f8e707f0e0252087c72f5bab00a8a291b062.tar.gz
src-6875f8e707f0e0252087c72f5bab00a8a291b062.zip
Remerge as previous one was broken
Notes
Notes: svn path=/projects/release-pkg/; revision=288540
Diffstat (limited to 'usr.sbin/bhyve')
-rw-r--r--usr.sbin/bhyve/pci_virtio_net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bhyve/pci_virtio_net.c b/usr.sbin/bhyve/pci_virtio_net.c
index 3781ea9f04cd..aa9b581d90b0 100644
--- a/usr.sbin/bhyve/pci_virtio_net.c
+++ b/usr.sbin/bhyve/pci_virtio_net.c
@@ -57,7 +57,7 @@ __FBSDID("$FreeBSD$");
#define VTNET_RINGSZ 1024
-#define VTNET_MAXSEGS 32
+#define VTNET_MAXSEGS 256
/*
* Host capabilities. Note that we only offer a few of these.
@@ -84,7 +84,7 @@ __FBSDID("$FreeBSD$");
#define VTNET_S_HOSTCAPS \
( VIRTIO_NET_F_MAC | VIRTIO_NET_F_MRG_RXBUF | VIRTIO_NET_F_STATUS | \
- VIRTIO_F_NOTIFY_ON_EMPTY)
+ VIRTIO_F_NOTIFY_ON_EMPTY | VIRTIO_RING_F_INDIRECT_DESC)
/*
* PCI config-space "registers"