Re: [PATCH net-next RFC 3/5] vhost: introduce vhost_add_used_idx()
From: Stefan Hajnoczi <hidden>
Date: 2017-09-22 09:07:36
Also in:
kvm, lkml
From: Stefan Hajnoczi <hidden>
Date: 2017-09-22 09:07:36
Also in:
kvm, lkml
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 <jasowang@redhat.com> --- drivers/vhost/vhost.c | 33 +++++++++++++++++++++++++++++++++ drivers/vhost/vhost.h | 1 + 2 files changed, 34 insertions(+)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>