search for: 1500,10

Displaying 7 results from an estimated 7 matches for "1500,10".

Did you mean: 1100,10
2014 Oct 15
1
[PATCH RFC v2 1/3] virtio_net: enable tx interrupt
...k doesn't re-enable napi! */ cancel_delayed_work_sync(&vi->refill); - for (i = 0; i < vi->max_queue_pairs; i++) + for (i = 0; i < vi->max_queue_pairs; i++) { napi_disable(&vi->rq[i].napi); + napi_disable(&vi->sq[i].napi); + } return 0; } @@ -1457,8 +1500,10 @@ static void virtnet_free_queues(struct virtnet_info *vi) { int i; - for (i = 0; i < vi->max_queue_pairs; i++) + for (i = 0; i < vi->max_queue_pairs; i++) { netif_napi_del(&vi->rq[i].napi); + netif_napi_del(&vi->sq[i].napi); + } kfree(vi->rq); kfree(...
2014 Oct 15
1
[PATCH RFC v2 1/3] virtio_net: enable tx interrupt
...k doesn't re-enable napi! */ cancel_delayed_work_sync(&vi->refill); - for (i = 0; i < vi->max_queue_pairs; i++) + for (i = 0; i < vi->max_queue_pairs; i++) { napi_disable(&vi->rq[i].napi); + napi_disable(&vi->sq[i].napi); + } return 0; } @@ -1457,8 +1500,10 @@ static void virtnet_free_queues(struct virtnet_info *vi) { int i; - for (i = 0; i < vi->max_queue_pairs; i++) + for (i = 0; i < vi->max_queue_pairs; i++) { netif_napi_del(&vi->rq[i].napi); + netif_napi_del(&vi->sq[i].napi); + } kfree(vi->rq); kfree(...
2016 Mar 25
0
[RFC PATCH V2 2/2] vhost: device IOTLB API
...truct iovec iov[], unsigned int iov_size, unsigned int *out_num, unsigned int *in_num, struct vhost_log *log, unsigned int *log_num, - struct vring_desc *indirect) + struct vring_desc *indirect, int access) { struct vring_desc desc; unsigned int i = 0, count, found = 0; @@ -1274,9 +1500,10 @@ static int get_indirect(struct vhost_virtqueue *vq, } ret = translate_desc(vq, vhost64_to_cpu(vq, indirect->addr), len, vq->indirect, - UIO_MAXIOV); + UIO_MAXIOV, access); if (unlikely(ret < 0)) { - vq_err(vq, "Translation failure %d in indirect.\n",...
2016 Mar 25
4
[RFC PATCH V2 0/2] basic device IOTLB support
This patch tries to implement an device IOTLB for vhost. This could be used with for co-operation with userspace(qemu) implementation of iommu for a secure DMA environment (DMAR) in guest. The idea is simple. When vhost meets an IOTLB miss, it will request the assistance of userspace to do the translation, this is done through: - Fill the translation request in a preset userspace address (This
2016 Mar 25
4
[RFC PATCH V2 0/2] basic device IOTLB support
This patch tries to implement an device IOTLB for vhost. This could be used with for co-operation with userspace(qemu) implementation of iommu for a secure DMA environment (DMAR) in guest. The idea is simple. When vhost meets an IOTLB miss, it will request the assistance of userspace to do the translation, this is done through: - Fill the translation request in a preset userspace address (This
2016 Apr 27
2
[RFC PATCH V2 2/2] vhost: device IOTLB API
..., > unsigned int *out_num, unsigned int *in_num, > struct vhost_log *log, unsigned int *log_num, > - struct vring_desc *indirect) > + struct vring_desc *indirect, int access) > { > struct vring_desc desc; > unsigned int i = 0, count, found = 0; > @@ -1274,9 +1500,10 @@ static int get_indirect(struct vhost_virtqueue *vq, > } > > ret = translate_desc(vq, vhost64_to_cpu(vq, indirect->addr), len, vq->indirect, > - UIO_MAXIOV); > + UIO_MAXIOV, access); > if (unlikely(ret < 0)) { > - vq_err(vq, "Translatio...
2016 Apr 27
2
[RFC PATCH V2 2/2] vhost: device IOTLB API
..., > unsigned int *out_num, unsigned int *in_num, > struct vhost_log *log, unsigned int *log_num, > - struct vring_desc *indirect) > + struct vring_desc *indirect, int access) > { > struct vring_desc desc; > unsigned int i = 0, count, found = 0; > @@ -1274,9 +1500,10 @@ static int get_indirect(struct vhost_virtqueue *vq, > } > > ret = translate_desc(vq, vhost64_to_cpu(vq, indirect->addr), len, vq->indirect, > - UIO_MAXIOV); > + UIO_MAXIOV, access); > if (unlikely(ret < 0)) { > - vq_err(vq, "Translatio...