You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(virtio): split add_used() into 2 separate methods
`Queue::add_used()` method first writes a Descriptor head in the used
descriptor ring buffer and then advances the index of this buffer to
let the guest know we used one or more Descriptors.
Carve out each one of these steps in their own function so that we can
add multiple descriptors in the used ring and advance the index only
once we finish handling descriptors in one step.
This will be useful when, in later commits, we will implement
VIRTIO_NET_F_RX_MRGBUF for the RX queue of the network device.
Signed-off-by: Egor Lazarchuk <[email protected]>
0 commit comments