From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4A885A0487 for ; Thu, 4 Jul 2019 07:58:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D73053195; Thu, 4 Jul 2019 07:58:21 +0200 (CEST) Received: from smtp1.iitd.ac.in (smtp1.iitd.ac.in [103.27.9.45]) by dpdk.org (Postfix) with ESMTP id 33BDF160 for ; Thu, 4 Jul 2019 07:58:21 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.iitd.ac.in (Postfix) with ESMTP id C266440378 for ; Thu, 4 Jul 2019 11:28:19 +0530 (IST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iitd.ac.in; h= content-transfer-encoding:content-language:content-type :content-type:mime-version:user-agent:date:date:message-id :subject:subject:from:from:received:received; s=iitd; t= 1562219895; x=1564034296; bh=DrqEt7MLeC6KJ9ZiSXYKeYk5jAThuWO3SST wujQFbUM=; b=PCT/U+rvmR/ixOIhel4p5s72md2CM0/6OS2B30thHvThheirLTe OBNotufIWp0ssF+V3A0bgLZoTSj7HFxWnRz5DvWGnhWcpIhYzneQpF3DN38cd8hq NmAtDGVFOZKZDMf20la0urpwoQY4L0EKwVAni3FqJm83cw/aadS736MI= X-Virus-Scanned: Debian amavisd-new at smtp2.iitd.ernet.in Received: from smtp1.iitd.ac.in ([127.0.0.1]) by localhost (smtp1.iitd.ac.in [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id dbutUVQsv3LF for ; Thu, 4 Jul 2019 11:28:15 +0530 (IST) Received: from [10.237.23.28] (unknown [10.237.23.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: csz168117) by smtp1.iitd.ac.in (Postfix) with ESMTPSA id 888AE408D6 for ; Thu, 4 Jul 2019 11:28:15 +0530 (IST) To: "dev@dpdk.org" From: Shailja Pandey Message-ID: <070016f7-4015-1088-1d84-da3d164d33e4@iitd.ac.in> Date: Thu, 4 Jul 2019 11:28:13 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable Subject: [dpdk-dev] Running dpdk application inside virtual machine created on VirtualBox X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, I am trying to run dpdk application inside a virtual machine (Ubuntu=20 16.04) deployed in Oracle Virtualbox. The host machine is also the same=20 Ubuntu 16.04. I am running l2fwd application in the VM and the packets=20 are being generated using pktgen-DPDK running on other physical machine.=20 The issue I am facing is=C2=A0 that I am not able to redirect packets=20 reaching the host machine to the virtual machine and hence the l2fwd=20 application running inside VM shows zero packet counts. I am=20 successfully binding network interfaces on virtual machine to use=20 DPDK-compatible driver. I think I am missing something while binding the=20 physical network interfaces to the virtual machine. Some discussion=20 forum suggests using device passthrough to achieve this. I am not able=20 to figure out exactly what is to be done. Any help would be appreciated. Output of lspci | grep Ether : 02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5720=20 Gigabit Ethernet PCIe 02:00.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5720=20 Gigabit Ethernet PCIe 03:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5720=20 Gigabit Ethernet PCIe 03:00.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5720=20 Gigabit Ethernet PCIe 04:00.0 Ethernet controller: Intel Corporation Ethernet Controller=20 10-Gigabit X540-AT2 (rev 01) 04:00.1 Ethernet controller: Intel Corporation Ethernet Controller=20 10-Gigabit X540-AT2 (rev 01) 05:00.0 Ethernet controller: Intel Corporation Ethernet Controller XL710=20 for 40GbE QSFP+ (rev 02) 05:00.1 Ethernet controller: Intel Corporation Ethernet Controller XL710=20 for 40GbE QSFP+ (rev 02) --=20 Thanks, Shailja