From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752018AbdIVJHg (ORCPT ); Fri, 22 Sep 2017 05:07:36 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:37428 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751808AbdIVJHe (ORCPT ); Fri, 22 Sep 2017 05:07:34 -0400 X-Google-Smtp-Source: AOwi7QCi8vQynHP4F8458jZV4RMFbg8radUFNHYm6UUCoudqrtRx/6Cz/PFWZyPt+f70iCRMMyriYQ== Date: Fri, 22 Sep 2017 10:07:30 +0100 From: Stefan Hajnoczi To: Jason Wang Cc: mst@redhat.com, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: Re: [PATCH net-next RFC 3/5] vhost: introduce vhost_add_used_idx() Message-ID: <20170922090730.GC9243@stefanha-x1.localdomain> References: <1506067355-5771-1-git-send-email-jasowang@redhat.com> <1506067355-5771-4-git-send-email-jasowang@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1506067355-5771-4-git-send-email-jasowang@redhat.com> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 +++++++++++++++++++++++++++++++++ > drivers/vhost/vhost.h | 1 + > 2 files changed, 34 insertions(+) Reviewed-by: Stefan Hajnoczi