-/* $OpenBSD: virtio.c,v 1.47 2017/05/27 23:58:16 tedu Exp $ */
+/* $OpenBSD: virtio.c,v 1.48 2017/05/30 13:13:47 mlarkin Exp $ */
/*
* Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
}
vioblk[i].vq[0].qs = VIOBLK_QUEUE_SIZE;
vioblk[i].vq[0].vq_availoffset =
- sizeof(struct vring_desc) * VIORND_QUEUE_SIZE;
+ sizeof(struct vring_desc) * VIOBLK_QUEUE_SIZE;
vioblk[i].vq[0].vq_usedoffset = VIRTQUEUE_ALIGN(
sizeof(struct vring_desc) * VIOBLK_QUEUE_SIZE
+ sizeof(uint16_t) * (2 + VIOBLK_QUEUE_SIZE));
-/* $OpenBSD: virtio.h,v 1.17 2017/05/08 09:08:40 reyk Exp $ */
+/* $OpenBSD: virtio.h,v 1.18 2017/05/30 13:13:47 mlarkin Exp $ */
/*
* Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
#define VIORND_QUEUE_SIZE 64
#define VIORND_QUEUE_MASK (VIORND_QUEUE_SIZE - 1)
-#define VIOBLK_QUEUE_SIZE 64
+#define VIOBLK_QUEUE_SIZE 128
#define VIOBLK_QUEUE_MASK (VIOBLK_QUEUE_SIZE - 1)
-#define VIONET_QUEUE_SIZE 64
+#define VIONET_QUEUE_SIZE 128
#define VIONET_QUEUE_MASK (VIONET_QUEUE_SIZE - 1)
/* VMM Control Interface shutdown timeout (in seconds) */