search for: 29e850a

Displaying 2 results from an estimated 2 matches for "29e850a".

Did you mean: 296e8503
2010 Sep 14
1
[PATCH] vhost: max s/g to match qemu
...g at redhat.com> --- drivers/vhost/net.c | 2 +- drivers/vhost/vhost.c | 49 ++++++++++++++++++++++++++++++++++++++++++++++++- drivers/vhost/vhost.h | 18 ++++++++---------- 3 files changed, 57 insertions(+), 12 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 29e850a..e828ef1 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -243,7 +243,7 @@ static int get_rx_bufs(struct vhost_virtqueue *vq, int r, nlogs = 0; while (datalen > 0) { - if (unlikely(headcount >= VHOST_NET_MAX_SG)) { + if (unlikely(headcount >= UIO_MAXIOV)) { r = -EN...
2010 Sep 14
1
[PATCH] vhost: max s/g to match qemu
...g at redhat.com> --- drivers/vhost/net.c | 2 +- drivers/vhost/vhost.c | 49 ++++++++++++++++++++++++++++++++++++++++++++++++- drivers/vhost/vhost.h | 18 ++++++++---------- 3 files changed, 57 insertions(+), 12 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 29e850a..e828ef1 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -243,7 +243,7 @@ static int get_rx_bufs(struct vhost_virtqueue *vq, int r, nlogs = 0; while (datalen > 0) { - if (unlikely(headcount >= VHOST_NET_MAX_SG)) { + if (unlikely(headcount >= UIO_MAXIOV)) { r = -EN...