From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 69DC95938 for ; Mon, 9 Nov 2015 06:39:05 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP; 08 Nov 2015 21:39:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,265,1444719600"; d="scan'208";a="845817917" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.66.49]) by orsmga002.jf.intel.com with ESMTP; 08 Nov 2015 21:39:03 -0800 Date: Mon, 9 Nov 2015 13:42:35 +0800 From: Yuanhan Liu To: Tetsuya Mukawa Message-ID: <20151109054235.GM2326@yliu-dev.sh.intel.com> References: <1446436737-25606-2-git-send-email-mukawa@igel.co.jp> <1447046221-20811-1-git-send-email-mukawa@igel.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1447046221-20811-1-git-send-email-mukawa@igel.co.jp> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: dev@dpdk.org, ann.zhuangyanying@huawei.com Subject: Re: [dpdk-dev] [PATCH v3 0/2] Add VHOST PMD 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: Mon, 09 Nov 2015 05:39:05 -0000 On Mon, Nov 09, 2015 at 02:16:59PM +0900, Tetsuya Mukawa wrote: > The patch introduces a new PMD. This PMD is implemented as thin wrapper > of librte_vhost. > > * Known issue. > We may see issues while handling RESET_OWNER message. > These handlings are done in vhost library, so not a part of vhost PMD. > So far, we are waiting for QEMU fixing. I will try to fix them in this week. --yliu > > PATCH v3 changes: > - Rebase on latest matser > - Specify correct queue_id in RX/TX function. > > PATCH v2 changes: > - Remove a below patch that fixes vhost library. > The patch was applied as a separate patch. > - vhost: fix crash with multiqueue enabled > - Fix typos. > (Thanks to Thomas, Monjalon) > - Rebase on latest tree with above bernard's patches. > > PATCH v1 changes: > - Support vhost multiple queues. > - Rebase on "remove pci driver from vdevs". > - Optimize RX/TX functions. > - Fix resource leaks. > - Fix compile issue. > - Add patch to fix vhost library. > > RFC PATCH v3 changes: > - Optimize performance. > In RX/TX functions, change code to access only per core data. > - Add below API to allow user to use vhost library APIs for a port managed > by vhost PMD. There are a few limitations. See "rte_eth_vhost.h". > - rte_eth_vhost_portid2vdev() > To support this functionality, vhost library is also changed. > Anyway, if users doesn't use vhost PMD, can fully use vhost library APIs. > - Add code to support vhost multiple queues. > Actually, multiple queues functionality is not enabled so far. > > RFC PATCH v2 changes: > - Fix issues reported by checkpatch.pl > (Thanks to Stephen Hemminger) > > > Tetsuya Mukawa (2): > vhost: Add callback and private data for vhost PMD > vhost: Add VHOST PMD > > config/common_linuxapp | 6 + > doc/guides/nics/index.rst | 1 + > doc/guides/rel_notes/release_2_2.rst | 2 + > drivers/net/Makefile | 4 + > drivers/net/vhost/Makefile | 62 +++ > drivers/net/vhost/rte_eth_vhost.c | 768 ++++++++++++++++++++++++++ > drivers/net/vhost/rte_eth_vhost.h | 65 +++ > drivers/net/vhost/rte_pmd_vhost_version.map | 8 + > lib/librte_vhost/rte_vhost_version.map | 6 + > lib/librte_vhost/rte_virtio_net.h | 3 + > lib/librte_vhost/vhost_user/virtio-net-user.c | 13 +- > lib/librte_vhost/virtio-net.c | 56 +- > lib/librte_vhost/virtio-net.h | 4 +- > mk/rte.app.mk | 8 +- > 14 files changed, 993 insertions(+), 13 deletions(-) > create mode 100644 drivers/net/vhost/Makefile > create mode 100644 drivers/net/vhost/rte_eth_vhost.c > create mode 100644 drivers/net/vhost/rte_eth_vhost.h > create mode 100644 drivers/net/vhost/rte_pmd_vhost_version.map > > -- > 2.1.4