From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by dpdk.org (Postfix) with ESMTP id 7037D5A76 for ; Tue, 27 Oct 2015 08:54:32 +0100 (CET) Received: by padhk11 with SMTP id hk11so215102963pad.1 for ; Tue, 27 Oct 2015 00:54:31 -0700 (PDT) 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=r4r0KAIFt78Ij+GUhDCcsmejNG97i8YlHu6i9nPXrEU=; b=yQmsqsSqWnokpeC+U5onDvRDRx7RQyrX3fwpXNERAIgoX3RKFyXENE4cac6X+Jx/rE mfuDDZA5HwkjTwfOqFL2HUrTTBYGxWobsxHXCVKOswDJojmCYEJakZ11b9hnUHYlwMKo 77s9LwIWkTef7E8JnLXkm5z5A8SVpqSUf9wRlbEKbrO37HyZzS2VV9FP8JjM35zVw+CT 607X+gI2dns506PYPiXZ2y3U6+aBDFidh6KpX9uW9PDpfXAKhrPwHzzQolTLpbfbxydT /yORsuU+B5eBzuMtYLWRMuiGuZpdDcv0dt0QsAtD4AN0CFf6ulPjAIj7zsWCmPq1GjSq Nllw== 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=r4r0KAIFt78Ij+GUhDCcsmejNG97i8YlHu6i9nPXrEU=; b=Um2bN8AztcRNDKE8446LptXy41wu5uS7tZF/DglnVSlYWj3CFMe8tvGqtv4SwYBeo+ gQWByY1L2FMXNc5M8ABeMQtpqH5RjZKWowR+a7SfqLPbFhs8mKRzZsq2g6vmvl4lUdJg 2WzOCYmfmI1iKqqAV2UJC33vNYV29ylHmFTMKPONz7DK/kCAHt9R0rcewNDMPXyIoHFI jqnun64Y48KMhT+FNf21iYAsKn+9X0RQwsLrbbQb9kGcAJ+eSaNMaUJkazAJDtbk1t2j h3LW0nNlA/G1lkB0ktLLztD6uB7tA8sBXdPnxYT9Jj+1mpBkXg0dGqDl03Ig0JcEaA+U AOaQ== X-Gm-Message-State: ALoCoQm754ynpZIOE66W2FHNQ0TiiAE18EECKdc55bSynoTksW5PueMGokM5E/1fb6du8CGMU9Uv X-Received: by 10.66.182.131 with SMTP id ee3mr26021537pac.81.1445932471843; Tue, 27 Oct 2015 00:54:31 -0700 (PDT) Received: from [10.16.129.101] (napt.igel.co.jp. [219.106.231.132]) by smtp.googlemail.com with ESMTPSA id xs2sm37910631pbb.75.2015.10.27.00.54.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Oct 2015 00:54:31 -0700 (PDT) To: dev@dpdk.org References: <1445507150-1481-2-git-send-email-mukawa@igel.co.jp> <1445926375-18986-1-git-send-email-mukawa@igel.co.jp> From: Tetsuya Mukawa Message-ID: <562F2DB4.2080508@igel.co.jp> Date: Tue, 27 Oct 2015 16:54:28 +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: <1445926375-18986-1-git-send-email-mukawa@igel.co.jp> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: ann.zhuangyanying@huawei.com Subject: Re: [dpdk-dev] [PATCH 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, 27 Oct 2015 07:54:32 -0000 Below patch has been submitted as a separate patch. - [dpdk-dev,1/3] vhost: Fix wrong handling of virtqueue array index (http://dpdk.org/dev/patchwork/patch/8038/) Tetsuya On 2015/10/27 15:12, 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 v5 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 v4 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. > > 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. > > PATCH v2 changes: > - Fix issues reported by checkpatch.pl > (Thanks to Stephen Hemminger) > > > Tetsuya Mukawa (3): > vhost: Fix wrong handling of virtqueue array index > 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 | 33 +- > lib/librte_vhost/virtio-net.c | 61 +- > lib/librte_vhost/virtio-net.h | 4 +- > mk/rte.app.mk | 8 +- > 15 files changed, 1085 insertions(+), 25 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 >