From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH 0/2] vhost: Add support to indirect descriptors on Rx path Date: Fri, 21 Oct 2016 23:58:58 +0800 Message-ID: <20161021155858.GU16751@yliu-dev.sh.intel.com> References: <1476804939-8675-1-git-send-email-maxime.coquelin@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, mst@redhat.com, zhihong.wang@intel.com, ciara.loftus@intel.com To: Maxime Coquelin Return-path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 9828B2716 for ; Fri, 21 Oct 2016 17:58:05 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1476804939-8675-1-git-send-email-maxime.coquelin@redhat.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Oct 18, 2016 at 05:35:37PM +0200, Maxime Coquelin wrote: > Indirect descriptor feature has been enabled in v16.11-rc1, but only TX path > was implemented. > However, some configurations expect it is supported for the Rx path: > - Windows guests with and without mergeable buffers enabled > - Linux guests with Kernel drivr with mergeable buffers disabled > > This series add the support of indirect descs for the Rx path, and has been > tested with following configurations: > - Windows guest with indirect ON, mergeeable ON/OFF > - Linux guest with Kernel driver with indirect ON/OFF, mergeable ON/OFF > - Linux guest with Virtio PMD with mergeable ON/OFF > > The performance degradation measured with/without this series with Virtio PMD > is around 1% (which doesn't use indirect descs for the Rx path). > > The series is based on top of "vhost: optimize mergeable Rx path" v7. Series applied to dpdk-next-virtio. Thanks. --yliu > > Maxime Coquelin (2): > vhost: Add indirect desc support to Rx mergeable path > vhost: Add indirect desc support to the Rx no-mergeable path > > lib/librte_vhost/virtio_net.c | 73 ++++++++++++++++++++++++++++++------------- > 1 file changed, 51 insertions(+), 22 deletions(-) > > -- > 2.7.4