From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id B1F64376D for ; Tue, 18 Oct 2016 17:35:48 +0200 (CEST) Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 17EDC3B716; Tue, 18 Oct 2016 15:35:48 +0000 (UTC) Received: from max-t460s.redhat.com (vpn1-7-65.ams2.redhat.com [10.36.7.65]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u9IFZjgv019282; Tue, 18 Oct 2016 11:35:46 -0400 From: Maxime Coquelin To: yuanhan.liu@linux.intel.com, dev@dpdk.org, mst@redhat.com Cc: zhihong.wang@intel.com, ciara.loftus@intel.com, Maxime Coquelin Date: Tue, 18 Oct 2016 17:35:37 +0200 Message-Id: <1476804939-8675-1-git-send-email-maxime.coquelin@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Tue, 18 Oct 2016 15:35:48 +0000 (UTC) Subject: [dpdk-dev] [PATCH 0/2] vhost: Add support to indirect descriptors on Rx path X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2016 15:35:49 -0000 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. 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