On 13/02/2024 20.17, Daniel Henrique Barboza wrote:
In qvring_init() we're writing vq->used->avail_event at "vq->used + 2 +
array_size". The struct pointed by vq->used is, from virtio_ring.h
Linux header):
* // A ring of used descriptor heads with free-running index.
* __virtio16 us
On Wed, Feb 14, 2024 at 5:18 AM Daniel Henrique Barboza
wrote:
>
> In qvring_init() we're writing vq->used->avail_event at "vq->used + 2 +
> array_size". The struct pointed by vq->used is, from virtio_ring.h
> Linux header):
>
> * // A ring of used descriptor heads with free-running index.
In qvring_init() we're writing vq->used->avail_event at "vq->used + 2 +
array_size". The struct pointed by vq->used is, from virtio_ring.h
Linux header):
* // A ring of used descriptor heads with free-running index.
* __virtio16 used_flags;
* __virtio16 used_idx;
* struct