Displaying 2 results from an estimated 2 matches for "7fa1c72".
2008 Jan 08
1
[PATCH] Always notify a virtio_ring when it's full
...ided to do it here instead of in the error case on
add_buf for really no great reason other than I thought it made more sense
for it to happen in the notify().
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c
index 7fa1c72..57b7ad3 100644
--- a/drivers/virtio/virtio_ring.c
+++ b/drivers/virtio/virtio_ring.c
@@ -146,7 +146,8 @@ static void vring_kick(struct virtqueue *_vq)
/* Need to update avail index before checking if we should notify */
mb();
- if (!(vq->vring.used->flags & VRING_USED_F_NO_NOTIFY))...
2008 Jan 08
1
[PATCH] Always notify a virtio_ring when it's full
...ided to do it here instead of in the error case on
add_buf for really no great reason other than I thought it made more sense
for it to happen in the notify().
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c
index 7fa1c72..57b7ad3 100644
--- a/drivers/virtio/virtio_ring.c
+++ b/drivers/virtio/virtio_ring.c
@@ -146,7 +146,8 @@ static void vring_kick(struct virtqueue *_vq)
/* Need to update avail index before checking if we should notify */
mb();
- if (!(vq->vring.used->flags & VRING_USED_F_NO_NOTIFY))...