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
VIRTIO spec states:
```
After the device writes a descriptor index into the used ring:
If the idx field in the used ring (which determined where that
descriptor index was placed) was equal to used_event, the device
MUST send a notification.
```
The current implementation does not follow this very precisely. It
bumps used ring index when new descriptors are added to the used
ring. But the check if the notification is needed is postponed to
later processing stage.
To be more VIRTIO spec compliant simply move the logic for updating
the used ring index into the later processing stage as well, just
before the check if the notification should be send.
Signed-off-by: Egor Lazarchuk <[email protected]>
0 commit comments