libvirtqueue: Briefly increase queue length This should be an argument to the initialization of the virtqueue, but for now we are just increasing the queue size
diff --git a/libvirtqueue/include/virtqueue.h b/libvirtqueue/include/virtqueue.h index 97caed6..c26b571 100644 --- a/libvirtqueue/include/virtqueue.h +++ b/libvirtqueue/include/virtqueue.h
@@ -14,8 +14,8 @@ #include <stdint.h> -#define RING_SIZE 128 -#define DESC_TABLE_SIZE 128 +#define RING_SIZE 256 +#define DESC_TABLE_SIZE 256 #define VQ_DEV_POLL(vq) ((((vq)->a_ring_last_seen + 1) & (RING_SIZE - 1)) != (vq)->avail_ring->idx) #define VQ_DRV_POLL(vq) ((((vq)->u_ring_last_seen + 1) & (RING_SIZE - 1)) != (vq)->used_ring->idx)