DPDK patches and discussions
 help / color / mirror / Atom feed
From: Shailja Pandey <csz168117@iitd.ac.in>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] Running dpdk application inside virtual machine created on VirtualBox
Date: Thu, 4 Jul 2019 11:28:13 +0530	[thread overview]
Message-ID: <070016f7-4015-1088-1d84-da3d164d33e4@iitd.ac.in> (raw)

Hi,

I am trying to run dpdk application inside a virtual machine (Ubuntu 
16.04) deployed in Oracle Virtualbox. The host machine is also the same 
Ubuntu 16.04. I am running l2fwd application in the VM and the packets 
are being generated using pktgen-DPDK running on other physical machine. 
The issue I am facing is  that I am not able to redirect packets 
reaching the host machine to the virtual machine and hence the l2fwd 
application running inside VM shows zero packet counts. I am 
successfully binding network interfaces on virtual machine to use 
DPDK-compatible driver. I think I am missing something while binding the 
physical network interfaces to the virtual machine. Some discussion 
forum suggests using device passthrough to achieve this. I am not able 
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 
Gigabit Ethernet PCIe
02:00.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5720 
Gigabit Ethernet PCIe
03:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5720 
Gigabit Ethernet PCIe
03:00.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5720 
Gigabit Ethernet PCIe
04:00.0 Ethernet controller: Intel Corporation Ethernet Controller 
10-Gigabit X540-AT2 (rev 01)
04:00.1 Ethernet controller: Intel Corporation Ethernet Controller 
10-Gigabit X540-AT2 (rev 01)
05:00.0 Ethernet controller: Intel Corporation Ethernet Controller XL710 
for 40GbE QSFP+ (rev 02)
05:00.1 Ethernet controller: Intel Corporation Ethernet Controller XL710 
for 40GbE QSFP+ (rev 02)


-- 

Thanks,
Shailja


             reply	other threads:[~2019-07-04  5:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-04  5:58 Shailja Pandey [this message]
2019-07-04 14:43 ` Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=070016f7-4015-1088-1d84-da3d164d33e4@iitd.ac.in \
    --to=csz168117@iitd.ac.in \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).