From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tetsuya Mukawa Subject: Re: [RFC PATCH] vhost: Add VHOST PMD Date: Mon, 31 Aug 2015 11:23:55 +0900 Message-ID: <55E3BABB.1010207@igel.co.jp> References: <1440732101-18704-1-git-send-email-mukawa@igel.co.jp> <1440732101-18704-2-git-send-email-mukawa@igel.co.jp> <20150828111852.0802e9c6@urahara> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, ann.zhuangyanying@huawei.com To: Stephen Hemminger 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) In-Reply-To: <20150828111852.0802e9c6@urahara> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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