Displaying 2 results from an estimated 2 matches for "89bf4894cc36".
2008 Jun 18
2
[PATCH] virtio: don't always force a notification when ring is full
...s, so we use a hack: only notify if there are
outgoing parts of the new buffer.
It even makes a difference with lguest's crappy network implementation:
1GB guest->host before: 30.0844
1GB guest->host after: 27.6167
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
diff -r 89bf4894cc36 drivers/virtio/virtio_ring.c
--- a/drivers/virtio/virtio_ring.c Mon Jun 16 14:31:30 2008 +1000
+++ b/drivers/virtio/virtio_ring.c Wed Jun 18 16:15:49 2008 +1000
@@ -87,8 +87,11 @@ static int vring_add_buf(struct virtqueu
if (vq->num_free < out + in) {
pr_debug("Can't add buf len...
2008 Jun 18
2
[PATCH] virtio: don't always force a notification when ring is full
...s, so we use a hack: only notify if there are
outgoing parts of the new buffer.
It even makes a difference with lguest's crappy network implementation:
1GB guest->host before: 30.0844
1GB guest->host after: 27.6167
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
diff -r 89bf4894cc36 drivers/virtio/virtio_ring.c
--- a/drivers/virtio/virtio_ring.c Mon Jun 16 14:31:30 2008 +1000
+++ b/drivers/virtio/virtio_ring.c Wed Jun 18 16:15:49 2008 +1000
@@ -87,8 +87,11 @@ static int vring_add_buf(struct virtqueu
if (vq->num_free < out + in) {
pr_debug("Can't add buf len...