
11 Apr
2022
11 Apr
'22
8:35 p.m.
On Thu, 31 Mar 2022 at 04:10, Andrew Scull ascull@google.com wrote:
When the device returns used buffers, it should refer to the descriptor that is the head of the descriptor chain for that buffer. Confirm this to be the case by tracking the head of descriptor chains that have been made available to the device.
Signed-off-by: Andrew Scull ascull@google.com
drivers/virtio/virtio_ring.c | 12 ++++++++++++ include/virtio_ring.h | 2 ++ 2 files changed, 14 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org