From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) by dpdk.org (Postfix) with ESMTP id D04D78E96 for ; Thu, 5 Nov 2015 03:17:55 +0100 (CET) Received: by pasz6 with SMTP id z6so73408013pas.2 for ; Wed, 04 Nov 2015 18:17:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=igel_co_jp.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=6GZmMVC/cFt/5hDpSGRg6FL8msv3fOF4xrhuOO4DoOM=; b=V3j/u57flpZlz03qb4ph63zwvhAwS0NuS7ElsMyyU2s5+LJGlYv5QwwttEuSPjvAam g7KXZva8khnmkrId3yk8giz4A8305IFu+hkP7UGtJvLcOJ19Xkzcj3AtuguGd+tjEEXF QnrJ9CcmsPeNoRaveGdJQcp6qzVpqsYSZ4e356hlqcuZHVGVaj8UpU7fk0/6FHA+BL1Z 3eMAqNIDWi+GTVfLBcAezPzMgymjNGTXvzqnEacMgQ4AgfPtNuFt/OMr8hNCw5c0QdxU qlZmdeWo+j05fPgtO2QbJR6akFoDGrLUidawuqrO9Tboq1U+4De/587wUOviRAivCUTO ebDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=6GZmMVC/cFt/5hDpSGRg6FL8msv3fOF4xrhuOO4DoOM=; b=KtAIQ1aHa9OkukBAEzEpvRKn09khKoL2hxgSPjV4HqW/7gfgoFH+KSMhQUwCRX8Rcr s5yF4CLvhgL9j/JVaX28o1lz6VxvpTfYa4mR8i4ITgnrDkN3mOMT6aVjIuS+i/iK9dz3 Paem6vrptyh7XT03J/+mbVyatCpBUuky7wx9gqYWIvK6uQC1z5cJF3rX8O181AFdnlFv tbdCLMtup6GESxNwN7PsxfPfZNMv5QIpubdkQUgTz1St5lYqamMvQQG44y/EKq3Vwrr5 qev+smmYQgqYJgamrH3N/IZ8udecAYITSzD/xgxo7nf7sQB5kk3Eno4X99B0gDYE13em 9TxA== X-Gm-Message-State: ALoCoQlC4lfKz81KAeyjeKrYvCKZvmIXzpQepP7BFfZHO1zoyzWU3x/faqQjhLmYpf3EUQoDXbuB X-Received: by 10.66.249.201 with SMTP id yw9mr6220241pac.90.1446689875174; Wed, 04 Nov 2015 18:17:55 -0800 (PST) Received: from [10.16.129.101] (napt.igel.co.jp. [219.106.231.132]) by smtp.googlemail.com with ESMTPSA id cn4sm4442789pbc.94.2015.11.04.18.17.52 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 04 Nov 2015 18:17:54 -0800 (PST) To: dev@dpdk.org References: <1445926375-18986-4-git-send-email-mukawa@igel.co.jp> <1446436737-25606-1-git-send-email-mukawa@igel.co.jp> From: Tetsuya Mukawa X-Enigmail-Draft-Status: N1110 Message-ID: <563ABC50.8010200@igel.co.jp> Date: Thu, 5 Nov 2015 11:17:52 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1446436737-25606-1-git-send-email-mukawa@igel.co.jp> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Cc: ann.zhuangyanying@huawei.com Subject: Re: [dpdk-dev] [PATCH v2 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: Thu, 05 Nov 2015 02:17:56 -0000 Hi, Could someone please review below patch series? Regards, Tetsuya On 2015/11/02 12:58, Tetsuya Mukawa wrote: > The patch introduces a new PMD. This PMD is implemented as thin wrapper > of librte_vhost. The patch will work on below patch series. > - [PATCH v7 00/28] remove pci driver from vdevs > > * 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. > > 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/nics/vhost.rst | 82 +++ > 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 | 765 ++++++++++++++++++++++++++ > 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 +- > 15 files changed, 1072 insertions(+), 13 deletions(-) > create mode 100644 doc/guides/nics/vhost.rst > 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 >