From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) by dpdk.org (Postfix) with ESMTP id A09A820F for ; Wed, 28 Dec 2016 13:57:42 +0100 (CET) Received: from 172.18.7.190 (EHLO lhreml702-cah.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id CXV95789; Wed, 28 Dec 2016 12:57:38 +0000 (GMT) Received: from LHREML501-MBB.china.huawei.com ([10.125.30.98]) by lhreml702-cah.china.huawei.com ([10.201.5.99]) with mapi id 14.03.0301.000; Wed, 28 Dec 2016 12:57:35 +0000 From: Avi Cohen To: "users@dpdk.org" Thread-Topic: running pkt-gen in a container Thread-Index: AdJhBzS8RyxuEvCxRg+I+AL/WcUlvAAArveQ Date: Wed, 28 Dec 2016 12:57:35 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.201.114.159] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020204.5863B6C3.030F, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 855bf43f6cb3da9c700acdec677ac239 Subject: [dpdk-users] running pkt-gen in a container X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2016 12:57:42 -0000 Hello I have the following setup: Ovs-dpdk is running in a VM. I have 1 dpdk type port in the OVS (connected to the NIC w SR-IOV).=20 I have an LXC-container (or for simplicity a network namespace) in the VM= - currently connected to the OVS via veth-pair.=20 I want to run pkt-get in the namespace - my questions: 1. I guess I have to run another DPDK instance in the namespace - to run pk= t-gen on top of DPD, correct ? (i.e. - cannot use the ovs-dpdk instance ) = 2. How to connect the namespace to the OVS in order to achieve zero copy ? = (I guess veth is not suitable for that) - can I use vHost-user netdev or i= vshmem, to connet ovs with the namespace ? 3. In cont. to question 2 - what interface should I bind to the DPDK instan= ce running in the namespace Thanks in advance Avi=20 =20