From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f179.google.com (mail-pf0-f179.google.com [209.85.192.179]) by dpdk.org (Postfix) with ESMTP id EC1C711F5 for ; Tue, 8 Dec 2015 02:12:55 +0100 (CET) Received: by pfnn128 with SMTP id n128so2836382pfn.0 for ; Mon, 07 Dec 2015 17:12: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:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=TLYiNSoPjleEaR5EVRXOuLmpDPdbu1MRD9S8SxPF8IQ=; b=wWHrUGF6iQcQyDxOnSnoNibyCf/FIYl6gFWkKCGc4JGvvSX7Z/1LLeJ0sPp88XK2mO Gy7pxlEUd3C6BoleLZPkos2+oPJ9NBh+Ht55lG2EfZP9hQZ/K0pkAeUjhc31nRN8td1U 5UNxIFJCW/WDeIePO3FieXC9RTVP8Muf2SP88bena+DTB865qeBD9/IIntvv6nTpnJ7T 8cYxnNrXD59Y4+ylhafDAXhMFCp97ja1kqiHsg9GFNJlOakCrJLML/gnCNBeWo5Z0kFO 8DqGz68/1N1exoEBOMYtru19q8sIV44nuSKwKC2Ga18egTbPxK+eAcAC3SpnILNO7bZR k6AQ== 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:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=TLYiNSoPjleEaR5EVRXOuLmpDPdbu1MRD9S8SxPF8IQ=; b=cQS+5209DCFxt/fjiLYHTnyR93eC0mtmOCjWR6Cm6QR1FfHI3AoQKL+ujmhnMQGMw5 /RdawBK53xjxH+Sc8EqOY6uI4N3Zd09DDp1o6oJhFK4kj19qOjyW+gLI2aIYADjY+ZOQ zSIwFAp6sYKwkmBQ47SKUjfiWbrn4eAoCdNxJSqG3qdj9rflh4QU0TB4Q/It+a9bzkDd fV5xoYJNym9X3RUMEOjU5PV8VerLFw0nFb9hg1Rb9ihsx31QNl1Jy/TB/AJ8zFtPfqY1 78SfetvIu1XTEgE1zEEIg6E9p9a9VZeFn8kQSCE0MBn4zdd95spl5+yXTEP2e6Qxc73G 6Ajw== X-Gm-Message-State: ALoCoQlzFOFD+cUM6AAgUV7i8DzRXFVG9F0nyA6KF53f4knDtmKnJVl5BqcA/LIBI+QnnnqTlYDuEW+PEei4pGl9LJ69UPx1GQ== X-Received: by 10.98.71.138 with SMTP id p10mr1079461pfi.61.1449537175200; Mon, 07 Dec 2015 17:12:55 -0800 (PST) Received: from [10.16.129.101] (napt.igel.co.jp. [219.106.231.132]) by smtp.googlemail.com with ESMTPSA id sm8sm507498pac.43.2015.12.07.17.12.53 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Dec 2015 17:12:54 -0800 (PST) To: dev@dpdk.org, yuanhan.liu@intel.com, huawei.xie@intel.com References: <1447392031-24970-3-git-send-email-mukawa@igel.co.jp> <1448355603-21275-1-git-send-email-mukawa@igel.co.jp> From: Tetsuya Mukawa X-Enigmail-Draft-Status: N1110 Message-ID: <56662E94.80801@igel.co.jp> Date: Tue, 8 Dec 2015 10:12: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: <1448355603-21275-1-git-send-email-mukawa@igel.co.jp> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v5 0/3] 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: Tue, 08 Dec 2015 01:12:56 -0000 Hi Xie and Yuanhan, Please let me make sure whether this patch is differed. If it is differed, I guess I may need to add ABI breakage notice before releasing DPDK-2.2, because the patches changes virtio_net structure. Tetsuya, On 2015/11/24 18:00, Tetsuya Mukawa wrote: > The patch introduces a new PMD. This PMD is implemented as thin wrapper > of librte_vhost. > > PATCH v5 changes: > - Rebase on latest master. > - Fix RX/TX routine to count RX/TX bytes. > - Fix RX/TX routine not to count as error packets if enqueue/dequeue > cannot send all packets. > - Fix if-condition checking for multiqueues. > - Add "static" to pthread variable. > - Fix format. > - Change default behavior not to receive queueing event from driver. > - Split the patch to separate rte_eth_vhost_portid2vdev(). > > PATCH v4 changes: > - Rebase on latest DPDK tree. > - Fix cording style. > - Fix code not to invoke multiple messaging handling threads. > - Fix code to handle vdev parameters correctly. > - Remove needless cast. > - Remove needless if-condition before rt_free(). > > 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 (3): > vhost: Add callback and private data for vhost PMD > vhost: Add VHOST PMD > vhost: Add helper function to convert port id to virtio device pointer > > 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 | 796 ++++++++++++++++++++++++++ > 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 | 60 +- > lib/librte_vhost/virtio-net.h | 4 +- > mk/rte.app.mk | 8 +- > 14 files changed, 1024 insertions(+), 14 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 >