From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 67D335A34 for ; Tue, 26 Jan 2016 07:09:19 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 25 Jan 2016 22:09:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,348,1449561600"; d="scan'208";a="898360539" Received: from shwdeisgchi083.ccr.corp.intel.com (HELO [10.239.67.119]) ([10.239.67.119]) by orsmga002.jf.intel.com with ESMTP; 25 Jan 2016 22:09:16 -0800 To: "Qiu, Michael" , "dev@dpdk.org" References: <1446748276-132087-1-git-send-email-jianfeng.tan@intel.com> <1452426182-86851-1-git-send-email-jianfeng.tan@intel.com> <533710CFB86FA344BFBF2D6802E6028622F226FD@SHSMSX101.ccr.corp.intel.com> From: "Tan, Jianfeng" Message-ID: <56A70D89.6000308@intel.com> Date: Tue, 26 Jan 2016 14:09:13 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <533710CFB86FA344BFBF2D6802E6028622F226FD@SHSMSX101.ccr.corp.intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: "nakajima.yoshihiro@lab.ntt.co.jp" , "mst@redhat.com" , "ann.zhuangyanying@huawei.com" Subject: Re: [dpdk-dev] [PATCH 0/4] virtio support for container 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, 26 Jan 2016 06:09:19 -0000 Hi Michael, On 1/26/2016 2:02 PM, Qiu, Michael wrote: > On 1/11/2016 2:43 AM, Tan, Jianfeng wrote: ... >> >> f. Used with vhost-net >> $: modprobe vhost >> $: modprobe vhost-net >> $: docker run -i -t --privileged \ >> -v /dev/vhost-net:/dev/vhost-net \ >> -v /dev/net/tun:/dev/net/tun \ >> -v /dev/hugepages:/dev/hugepages \ >> dpdk-app-l2fwd l2fwd -c 0x4 -n 4 -m 1024 --no-pci \ >> --vdev=eth_cvio0,path=/dev/vhost-net -- -p 0x1 > We'd better add a ifname, like > --vdev=eth_cvio0,path=/dev/vhost-net,ifname=tap0, so that user could add > the tap to the bridge first. That's an awesome suggestion. Thanks, Jianfeng > > Thanks, > Michael