On 2017年09月28日 06:58, Michael S. Tsirkin wrote:
On Wed, Sep 27, 2017 at 08:38:24AM +0800, Jason Wang wrote:
On 2017年09月27日 03:13, Michael S. Tsirkin wrote:
On Fri, Sep 22, 2017 at 04:02:33PM +0800, Jason Wang wrote:
This patch introduces a helper which just increase the used idx. This
will b
>> > > @@ -199,6 +199,7 @@ int __vhost_get_vq_desc(struct vhost_virtqueue *vq,
>> > > void vhost_discard_vq_desc(struct vhost_virtqueue *, int n);
>> > > int vhost_vq_init_access(struct vhost_virtqueue *);
>> > > +int vhost_add_used_idx(struct vhost_virtqueue *vq, int n);
>> > > int vhost_add
On Wed, Sep 27, 2017 at 08:38:24AM +0800, Jason Wang wrote:
>
>
> On 2017年09月27日 03:13, Michael S. Tsirkin wrote:
> > On Fri, Sep 22, 2017 at 04:02:33PM +0800, Jason Wang wrote:
> > > This patch introduces a helper which just increase the used idx. This
> > > will be used in pair with vhost_prefe
On 2017年09月27日 03:13, Michael S. Tsirkin wrote:
On Fri, Sep 22, 2017 at 04:02:33PM +0800, Jason Wang wrote:
This patch introduces a helper which just increase the used idx. This
will be used in pair with vhost_prefetch_desc_indices() by batching
code.
Signed-off-by: Jason Wang
---
drivers/
On Fri, Sep 22, 2017 at 04:02:33PM +0800, Jason Wang wrote:
> This patch introduces a helper which just increase the used idx. This
> will be used in pair with vhost_prefetch_desc_indices() by batching
> code.
>
> Signed-off-by: Jason Wang
> ---
> drivers/vhost/vhost.c | 33 +
On Fri, Sep 22, 2017 at 04:02:33PM +0800, Jason Wang wrote:
> This patch introduces a helper which just increase the used idx. This
> will be used in pair with vhost_prefetch_desc_indices() by batching
> code.
>
> Signed-off-by: Jason Wang
> ---
> drivers/vhost/vhost.c | 33 +
This patch introduces a helper which just increase the used idx. This
will be used in pair with vhost_prefetch_desc_indices() by batching
code.
Signed-off-by: Jason Wang
---
drivers/vhost/vhost.c | 33 +
drivers/vhost/vhost.h | 1 +
2 files changed, 34 insertions