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 140B62946 for ; Fri, 4 Mar 2016 10:58:13 +0100 (CET) Received: by mail-pa0-f47.google.com with SMTP id fl4so32430341pad.0 for ; Fri, 04 Mar 2016 01:58:13 -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-transfer-encoding; bh=11V1q0TSwLMjvPu2vPRJIL3b5FSDO8fg+arDOv8lQ8w=; b=VjLoMEtn8eWvv8u6U8VlL+XhhNkEIYvMDMjMAZKDcA4+9vfBAL8luGwzBmqK8PMdwq S2vBTeCrDHVhJtYuKPIJ7B2BlkMu33X2eVS5Ybqz0hUhvEJlZCSvDruqdccYY3hlkUpt rQihiphagUXyy3wS6sPp2Rsf1uT5AXfWzMNJ4TKUwUFGOXlkSAr4p+HojFl3U97wGsXJ nz4NVfyy/z4r8k42irxNd1ByTvF6dCsNapLjnVh/zVeSWAnLicaGapYKLfHgvZchy+eH 8ZENw9tyhORlsxWlVVDhRgr0fXw3czvkYxHjhszvMHc9gvOQtYSfoxR3q/lGb4D+wOzN sCmA== 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-transfer-encoding; bh=11V1q0TSwLMjvPu2vPRJIL3b5FSDO8fg+arDOv8lQ8w=; b=T0HAnaJC5uEhHgnQac59Axzvf5bemcWJYvYuXV0CeoMSqnnXWfMROAIFA8abGrEncm 1gZkUDNFWE1UO05WVA0XR4lVoTHw1vqCUcjCfDi0oezFjjwTpvUz559hZnC9qH1zO2E/ JPVkSuwjOxFrJUBzo8PE3UUqQ8p2U8KnqamJWs6gidQLuHyTH1h0QS2EwXGNnGeMreXn DYIhRvxkj/AeITBIX7jjimFUKx95HWvCKBKB8p2HK7y3zT2eX5f9s3dri2EnP7HWOZUR qitqnibuEhNjXcvTdhz3TpYTL/g2UYgWO+M2n+kUAbgelOWO/Gk8Nq2ejs6KaJI93JWM HliA== X-Gm-Message-State: AD7BkJLkSbLDyLIBJOecYSkKvTidsCFfcXwBL7cze/55Npst3b3YqS+YPrxLdFywXpv78A== X-Received: by 10.66.246.165 with SMTP id xx5mr10653192pac.87.1457085492502; Fri, 04 Mar 2016 01:58:12 -0800 (PST) Received: from [10.16.129.101] (napt.igel.co.jp. [219.106.231.132]) by smtp.googlemail.com with ESMTPSA id l81sm4196577pfb.73.2016.03.04.01.58.10 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Mar 2016 01:58:11 -0800 (PST) To: Yuanhan Liu References: <1455010686-21802-2-git-send-email-mukawa@igel.co.jp> <1457065062-4423-3-git-send-email-mukawa@igel.co.jp> <20160304083920.GW14300@yliu-dev.sh.intel.com> From: Tetsuya Mukawa Message-ID: <56D95C34.2080303@igel.co.jp> Date: Fri, 4 Mar 2016 18:58:12 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160304083920.GW14300@yliu-dev.sh.intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, ann.zhuangyanying@huawei.com, yuanhan.liu@intel.com Subject: Re: [dpdk-dev] [PATCH v10 2/2] vhost: 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: Fri, 04 Mar 2016 09:58:13 -0000 On 2016/03/04 17:39, Yuanhan Liu wrote: > On Fri, Mar 04, 2016 at 01:17:42PM +0900, Tetsuya Mukawa wrote: >> The patch introduces a new PMD. This PMD is implemented as thin wrapper >> of librte_vhost. It means librte_vhost is also needed to compile the PMD. >> The vhost messages will be handled only when a port is started. So start >> a port first, then invoke QEMU. >> >> The PMD has 2 parameters. >> - iface: The parameter is used to specify a path to connect to a >> virtio-net device. >> - queues: The parameter is used to specify the number of the queues >> virtio-net device has. >> (Default: 1) >> >> Here is an example. >> $ ./testpmd -c f -n 4 --vdev 'eth_vhost0,iface=/tmp/sock0,queues=1' -- -i >> >> To connect above testpmd, here is qemu command example. >> >> $ qemu-system-x86_64 \ >> >> -chardev socket,id=chr0,path=/tmp/sock0 \ >> -netdev vhost-user,id=net0,chardev=chr0,vhostforce,queues=1 \ >> -device virtio-net-pci,netdev=net0,mq=on >> >> Signed-off-by: Tetsuya Mukawa >> Acked-by: Ferruh Yigit > You should carry my Acked-by that I gave few versions before, as well > as the Reviewed-by and Tested-by from Rich, if my memory serves me > right. It's also a way to show respects to the reivew/test efforts > from them. Sure, I will submit one more patch, and will add them. >> --- >> MAINTAINERS | 4 + > Mind to add me to the MAINTAINER list as well if you send another > version? :) If so, don't put my email address wrongly, which you > have done many times ;-) Thank you so much for it. And sorry I get wrong your email address. I will add you in MAINTAINERS in next patch. Thanks, Tetsuya > --yliu