Displaying 20 results from an estimated 50 matches for "gc233e".
2011 Jun 02
6
[PATCHv2 RFC 0/4] virtio and vhost-net capacity handling
...olling
Revert "virtio: make add_buf return capacity remaining:
drivers/net/virtio_net.c | 111 ++++++++++++++++++++++++++----------------
drivers/virtio/virtio_ring.c | 10 +++-
include/linux/virtio.h | 7 ++-
3 files changed, 84 insertions(+), 44 deletions(-)
--
1.7.5.53.gc233e
2011 Jun 02
6
[PATCHv2 RFC 0/4] virtio and vhost-net capacity handling
...olling
Revert "virtio: make add_buf return capacity remaining:
drivers/net/virtio_net.c | 111 ++++++++++++++++++++++++++----------------
drivers/virtio/virtio_ring.c | 10 +++-
include/linux/virtio.h | 7 ++-
3 files changed, 84 insertions(+), 44 deletions(-)
--
1.7.5.53.gc233e
2011 May 04
27
[PATCH 00/18] virtio and vhost-net performance enhancements
...nclude/linux/virtio.h | 16 ++++-
include/linux/virtio_config.h | 15 +++--
include/linux/virtio_pci.h | 9 ++-
include/linux/virtio_ring.h | 30 ++++++++-
tools/virtio/virtio_test.c | 39 ++++++++++-
15 files changed, 377 insertions(+), 107 deletions(-)
--
1.7.5.53.gc233e
2011 May 04
27
[PATCH 00/18] virtio and vhost-net performance enhancements
...nclude/linux/virtio.h | 16 ++++-
include/linux/virtio_config.h | 15 +++--
include/linux/virtio_pci.h | 9 ++-
include/linux/virtio_ring.h | 30 ++++++++-
tools/virtio/virtio_test.c | 39 ++++++++++-
15 files changed, 377 insertions(+), 107 deletions(-)
--
1.7.5.53.gc233e
2011 Nov 02
3
[PATCH RFC 0/2] virtio-pci: polling mode support
...ending notification, and returns
pending status in the ISR register.
The polling driver can operate as follows:
- map all VQs and config to the same vector
- poll ISR to get status - this also flushes VQ updates to memory
- handle config change or VQ event depending on ISR
Comments?
--
1.7.5.53.gc233e
2011 Nov 02
3
[PATCH RFC 0/2] virtio-pci: polling mode support
...ending notification, and returns
pending status in the ISR register.
The polling driver can operate as follows:
- map all VQs and config to the same vector
- poll ISR to get status - this also flushes VQ updates to memory
- handle config change or VQ event depending on ISR
Comments?
--
1.7.5.53.gc233e
2011 May 19
22
[PATCHv2 00/14] virtio and vhost-net performance enhancements
...t.kernel.org/pub/scm/linux/kernel/git/mst/qemu-kvm.git virtio-net-event-idx-v3
Rusty, I think it will be easier to merge vhost and virtio bits in one
go. Can it all go in through your tree (Dave in the past acked
sending a very similar patch through you so should not be a problem)?
--
1.7.5.53.gc233e
Michael S. Tsirkin (13):
virtio: event index interface
virtio ring: inline function to check for events
virtio_ring: support event idx feature
vhost: support event index
virtio_test: support event index
virtio: add api for delayed callbacks
virtio_net: delay TX callbacks
virtio_ne...
2011 May 19
22
[PATCHv2 00/14] virtio and vhost-net performance enhancements
...t.kernel.org/pub/scm/linux/kernel/git/mst/qemu-kvm.git virtio-net-event-idx-v3
Rusty, I think it will be easier to merge vhost and virtio bits in one
go. Can it all go in through your tree (Dave in the past acked
sending a very similar patch through you so should not be a problem)?
--
1.7.5.53.gc233e
Michael S. Tsirkin (13):
virtio: event index interface
virtio ring: inline function to check for events
virtio_ring: support event idx feature
vhost: support event index
virtio_test: support event index
virtio: add api for delayed callbacks
virtio_net: delay TX callbacks
virtio_ne...
2011 Jun 01
5
[PATCH RFC 0/3] virtio and vhost-net capacity handling
...fix tx capacity checks using new API
virtio_net: limit xmit polling
drivers/net/virtio_net.c | 65 +++++++++++++++++++++++------------------
drivers/virtio/virtio_ring.c | 8 +++++
include/linux/virtio.h | 5 +++
3 files changed, 49 insertions(+), 29 deletions(-)
--
1.7.5.53.gc233e
2011 Jun 01
5
[PATCH RFC 0/3] virtio and vhost-net capacity handling
...fix tx capacity checks using new API
virtio_net: limit xmit polling
drivers/net/virtio_net.c | 65 +++++++++++++++++++++++------------------
drivers/virtio/virtio_ring.c | 8 +++++
include/linux/virtio.h | 5 +++
3 files changed, 49 insertions(+), 29 deletions(-)
--
1.7.5.53.gc233e
2011 Dec 07
2
[PATCH RFC] virtio_blk: fix config handler race
...,8 @@ static void __devexit virtblk_remove(struct virtio_device *vdev)
/* Stop all the virtqueues. */
vdev->config->reset(vdev);
+ flush_work(&vblk->config_work);
+
del_gendisk(vblk->disk);
blk_cleanup_queue(vblk->disk->queue);
put_disk(vblk->disk);
--
1.7.5.53.gc233e
2011 Dec 07
2
[PATCH RFC] virtio_blk: fix config handler race
...,8 @@ static void __devexit virtblk_remove(struct virtio_device *vdev)
/* Stop all the virtqueues. */
vdev->config->reset(vdev);
+ flush_work(&vblk->config_work);
+
del_gendisk(vblk->disk);
blk_cleanup_queue(vblk->disk->queue);
put_disk(vblk->disk);
--
1.7.5.53.gc233e
2011 May 18
0
[PATCH RFC] vhost: fix enable notify: write out last avail value we saw
...e *vq)
return false;
}
} else {
- r = put_user(vq->last_avail_idx, vhost_avail_event(vq));
+ r = put_user(vq->avail_idx, vhost_avail_event(vq));
if (r) {
vq_err(vq, "Failed to update avail event index at %p: %d\n",
vhost_avail_event(vq), r);
--
1.7.5.53.gc233e
2011 May 18
1
[PATCH RFC] virtio_net: fix patch: virtio_net: limit xmit polling
...((c = virtqueue_get_capacity(vi->svq)) < capacity || n < 2) &&
+ ((skb = virtqueue_get_buf(vi->svq, &len)));
+ ++n) {
pr_debug("Sent skb %p\n", skb);
vi->dev->stats.tx_bytes += skb->len;
vi->dev->stats.tx_packets++;
--
1.7.5.53.gc233e
2011 May 19
0
[PATCH RFC] virtio_ring: fix delayed enable cb implementation
...vring_used_event(&vq->vring) = vq->last_used_idx + bufs;
virtio_mb();
- if (unlikely(vq->vring.used->idx - vq->last_used_idx > bufs)) {
+ if (unlikely((u16)(vq->vring.used->idx - vq->last_used_idx) > bufs)) {
END_USE(vq);
return false;
}
--
1.7.5.53.gc233e
2011 Jul 19
0
[PATCH RFC] vhost: fix zcopy reference counting
...host.c
@@ -1578,7 +1578,6 @@ struct vhost_ubuf_ref *vhost_ubuf_alloc(struct vhost_virtqueue *vq,
if (!ubufs)
return ERR_PTR(-ENOMEM);
kref_init(&ubufs->kref);
- kref_get(&ubufs->kref);
init_waitqueue_head(&ubufs->wait);
ubufs->vq = vq;
return ubufs;
--
1.7.5.53.gc233e
2011 Jul 19
0
[PATCH RFC] vhost: optimize interrupt enable/disable
...ue *vq)
static int vhost_update_avail_event(struct vhost_virtqueue *vq, u16 avail_event)
{
- if (put_user(vq->avail_idx, vhost_avail_event(vq)))
+ if (__put_user(vq->avail_idx, vhost_avail_event(vq)))
return -EFAULT;
if (unlikely(vq->log_used)) {
void __user *used;
--
1.7.5.53.gc233e
2011 May 18
0
[PATCH RFC] vhost: fix enable notify: write out last avail value we saw
...e *vq)
return false;
}
} else {
- r = put_user(vq->last_avail_idx, vhost_avail_event(vq));
+ r = put_user(vq->avail_idx, vhost_avail_event(vq));
if (r) {
vq_err(vq, "Failed to update avail event index at %p: %d\n",
vhost_avail_event(vq), r);
--
1.7.5.53.gc233e
2011 May 18
1
[PATCH RFC] virtio_net: fix patch: virtio_net: limit xmit polling
...((c = virtqueue_get_capacity(vi->svq)) < capacity || n < 2) &&
+ ((skb = virtqueue_get_buf(vi->svq, &len)));
+ ++n) {
pr_debug("Sent skb %p\n", skb);
vi->dev->stats.tx_bytes += skb->len;
vi->dev->stats.tx_packets++;
--
1.7.5.53.gc233e
2011 May 19
0
[PATCH RFC] virtio_ring: fix delayed enable cb implementation
...vring_used_event(&vq->vring) = vq->last_used_idx + bufs;
virtio_mb();
- if (unlikely(vq->vring.used->idx - vq->last_used_idx > bufs)) {
+ if (unlikely((u16)(vq->vring.used->idx - vq->last_used_idx) > bufs)) {
END_USE(vq);
return false;
}
--
1.7.5.53.gc233e