search for: e224a92

Displaying 12 results from an estimated 12 matches for "e224a92".

Did you mean: 224092
2011 Jun 21
1
[PATCH 1/2] vhost: init used ring after backend was set
...en checked then. Signed-off-by: Jason Wang <jasowang at redhat.com> --- drivers/vhost/net.c | 4 ++++ drivers/vhost/vhost.c | 11 +++-------- drivers/vhost/vhost.h | 1 + 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index e224a92..957421b 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -637,6 +637,10 @@ static long vhost_net_set_backend(struct vhost_net *n, unsigned index, int fd) vhost_net_enable_vq(n, vq); } + r = init_used(vq); + if (r) + goto err_vq; + mutex_unlock(&vq->mutex); if (old...
2011 Jun 21
1
[PATCH 1/2] vhost: init used ring after backend was set
...en checked then. Signed-off-by: Jason Wang <jasowang at redhat.com> --- drivers/vhost/net.c | 4 ++++ drivers/vhost/vhost.c | 11 +++-------- drivers/vhost/vhost.h | 1 + 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index e224a92..957421b 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -637,6 +637,10 @@ static long vhost_net_set_backend(struct vhost_net *n, unsigned index, int fd) vhost_net_enable_vq(n, vq); } + r = init_used(vq); + if (r) + goto err_vq; + mutex_unlock(&vq->mutex); if (old...
2011 Jul 17
3
[PATCHv9] vhost: experimental tx zero-copy support
...net.c | 73 +++++++++++++++++++++++++++++++++++++++++- drivers/vhost/vhost.c | 85 +++++++++++++++++++++++++++++++++++++++++++++++++ drivers/vhost/vhost.h | 29 +++++++++++++++++ 3 files changed, 186 insertions(+), 1 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index e224a92..226ca6b 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -12,6 +12,7 @@ #include <linux/virtio_net.h> #include <linux/miscdevice.h> #include <linux/module.h> +#include <linux/moduleparam.h> #include <linux/mutex.h> #include <linux/workqueue.h>...
2011 Jul 17
3
[PATCHv9] vhost: experimental tx zero-copy support
...net.c | 73 +++++++++++++++++++++++++++++++++++++++++- drivers/vhost/vhost.c | 85 +++++++++++++++++++++++++++++++++++++++++++++++++ drivers/vhost/vhost.h | 29 +++++++++++++++++ 3 files changed, 186 insertions(+), 1 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index e224a92..226ca6b 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -12,6 +12,7 @@ #include <linux/virtio_net.h> #include <linux/miscdevice.h> #include <linux/module.h> +#include <linux/moduleparam.h> #include <linux/mutex.h> #include <linux/workqueue.h>...
2011 Jul 18
1
[PATCHv10] vhost: vhost TX zero-copy support
...et.c | 73 ++++++++++++++++++++++++++++++++++++++++++- drivers/vhost/vhost.c | 84 +++++++++++++++++++++++++++++++++++++++++++++++++ drivers/vhost/vhost.h | 29 +++++++++++++++++ 3 files changed, 185 insertions(+), 1 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index e224a92..226ca6b 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -12,6 +12,7 @@ #include <linux/virtio_net.h> #include <linux/miscdevice.h> #include <linux/module.h> +#include <linux/moduleparam.h> #include <linux/mutex.h> #include <linux/workqueue.h>...
2011 Jul 18
1
[PATCHv10] vhost: vhost TX zero-copy support
...et.c | 73 ++++++++++++++++++++++++++++++++++++++++++- drivers/vhost/vhost.c | 84 +++++++++++++++++++++++++++++++++++++++++++++++++ drivers/vhost/vhost.h | 29 +++++++++++++++++ 3 files changed, 185 insertions(+), 1 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index e224a92..226ca6b 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -12,6 +12,7 @@ #include <linux/virtio_net.h> #include <linux/miscdevice.h> #include <linux/module.h> +#include <linux/moduleparam.h> #include <linux/mutex.h> #include <linux/workqueue.h>...
2011 Jul 18
1
[PATCHv11] vhost: vhost TX zero-copy support
...drivers/vhost/net.c | 77 +++++++++++++++++++++++++++++- drivers/vhost/vhost.c | 128 +++++++++++++++++++++++++++++++++++++++++++------ drivers/vhost/vhost.h | 31 ++++++++++++ 3 files changed, 220 insertions(+), 16 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index e224a92..f0fd52c 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -12,6 +12,7 @@ #include <linux/virtio_net.h> #include <linux/miscdevice.h> #include <linux/module.h> +#include <linux/moduleparam.h> #include <linux/mutex.h> #include <linux/workqueue.h>...
2011 Jul 18
1
[PATCHv11] vhost: vhost TX zero-copy support
...drivers/vhost/net.c | 77 +++++++++++++++++++++++++++++- drivers/vhost/vhost.c | 128 +++++++++++++++++++++++++++++++++++++++++++------ drivers/vhost/vhost.h | 31 ++++++++++++ 3 files changed, 220 insertions(+), 16 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index e224a92..f0fd52c 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -12,6 +12,7 @@ #include <linux/virtio_net.h> #include <linux/miscdevice.h> #include <linux/module.h> +#include <linux/moduleparam.h> #include <linux/mutex.h> #include <linux/workqueue.h>...
2011 May 19
22
[PATCHv2 00/14] virtio and vhost-net performance enhancements
OK, here is the large patchset that implements the virtio spec update that I sent earlier (the spec itself needs a minor update, will send that out too next week, but I think we are on the same page here already). It supercedes the PUBLISH_USED_IDX patches I sent out earlier. What will follow will be a patchset that actually includes 4 sets of patches. I note below their status. Please consider
2011 May 19
22
[PATCHv2 00/14] virtio and vhost-net performance enhancements
OK, here is the large patchset that implements the virtio spec update that I sent earlier (the spec itself needs a minor update, will send that out too next week, but I think we are on the same page here already). It supercedes the PUBLISH_USED_IDX patches I sent out earlier. What will follow will be a patchset that actually includes 4 sets of patches. I note below their status. Please consider
2011 May 04
27
[PATCH 00/18] virtio and vhost-net performance enhancements
OK, here's a large patchset that implements the virtio spec update that I sent earlier. It supercedes the PUBLISH_USED_IDX patches I sent out earlier. I know it's a lot to ask but please test, and please consider for 2.6.40 :) I see nice performance improvements: one run showed going from 12 to 18 Gbit/s host to guest with netperf, but I did not spend a lot of time testing performance,
2011 May 04
27
[PATCH 00/18] virtio and vhost-net performance enhancements
OK, here's a large patchset that implements the virtio spec update that I sent earlier. It supercedes the PUBLISH_USED_IDX patches I sent out earlier. I know it's a lot to ask but please test, and please consider for 2.6.40 :) I see nice performance improvements: one run showed going from 12 to 18 Gbit/s host to guest with netperf, but I did not spend a lot of time testing performance,