From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by dpdk.org (Postfix) with ESMTP id 8C72E8E98 for ; Mon, 31 Aug 2015 04:23:57 +0200 (CEST) Received: by pacrd3 with SMTP id rd3so6033302pac.3 for ; Sun, 30 Aug 2015 19:23:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=KUwfaCeFVN3J23QqATHPL9WCytsjVRrL1NlZUbrBzxc=; b=gdt3tY/3agKwe1Q9cvU4CTaewWhqllyxXV93if6vtxC1T1YGS9SuBGe/Je7IMhJvnF 99VZzX7fdrmsMe0qU8a5ri/OUCh08svipkAdLjanBhN9amVWd2uSbtIWqhS+0YpHsMv6 bokA+GXDnSCZWI07UvK70h8GouT+rNo9UPGJ2bzehWzFOydE152eCodyWQmE/Z+RHSUY yVuC7166uD2SiHMf3G5q+ftbISS6BzgAhlz5pphVXZwxHN3d5E+y8sgPnEZ1tmPY2nCL m2Qp8r2ormbZj5jGNeKHiXr873nX4lQyiiSYTTP3k661fF7wkauNajt+udWLDuRp7a3w Z2nA== X-Gm-Message-State: ALoCoQkl6vsgZZlwvUI1BrjC+BYvdYxPQdKydt5VWl6yAJzXv2atzTUlFVzh5Is8QMXgHM94Jlid X-Received: by 10.66.222.68 with SMTP id qk4mr33234194pac.96.1440987836654; Sun, 30 Aug 2015 19:23:56 -0700 (PDT) Received: from [10.16.129.101] (napt.igel.co.jp. [219.106.231.132]) by smtp.googlemail.com with ESMTPSA id kw3sm12538718pbc.30.2015.08.30.19.23.55 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Aug 2015 19:23:56 -0700 (PDT) Message-ID: <55E3BABB.1010207@igel.co.jp> Date: Mon, 31 Aug 2015 11:23:55 +0900 From: Tetsuya Mukawa User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Stephen Hemminger References: <1440732101-18704-1-git-send-email-mukawa@igel.co.jp> <1440732101-18704-2-git-send-email-mukawa@igel.co.jp> <20150828111852.0802e9c6@urahara> In-Reply-To: <20150828111852.0802e9c6@urahara> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, ann.zhuangyanying@huawei.com Subject: Re: [dpdk-dev] [RFC PATCH] 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: Mon, 31 Aug 2015 02:23:58 -0000 On 2015/08/29 3:18, Stephen Hemminger wrote: > On Fri, 28 Aug 2015 12:21:41 +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 PMD can have 'iface' parameter like below to specify a path to connect >> to a virtio-net device. >> >> $ ./testpmd -c f -n 4 --vdev 'eth_vhost0,iface=/tmp/sock0' -- -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 \ >> -device virtio-net-pci,netdev=net0 >> >> Signed-off-by: Tetsuya Mukawa > Lots of minor nits from checkpatch... Sorry for that. I forgot that I have disabled the checkpatch.pl testing of my submitting script. I will fix them, and submit it again. Tetsuya