DPDK patches and discussions
 help / color / mirror / Atom feed
From: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] DPDK passthrough to container in virtual machine
Date: Tue, 2 Oct 2018 12:42:08 +0000	[thread overview]
Message-ID: <AM5PR0701MB2755CDB4137D9223D32F73148AE80@AM5PR0701MB2755.eurprd07.prod.outlook.com> (raw)

Hi,

I'm trying to do OVS DPDK vhost port passthrough to a container resides in the VM.

Here are steps followed:

1. Add DPDK port into OVS integration bridge.
2. Bring up an Ubuntu VM using virsh with vhostuser interface configuration.
    <interface type='vhostuser'>
      <mac address='52:54:00:cd:ef:44'/>
      <source type='unix' path='/var/run/openvswitch/vhost-user-2' mode='client'/>
      <model type='virtio'/>
      <driver queues='4'/>
      <alias name='net2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x12' function='0x0'/>
    </interface>
3. In the VM, convert this virtio port into DPDK network device.

How this DPDK interface can attached with docker container ?
After the configuration, I would like to run a sample DPDK application (example: testpmd) on the container.

Thanks,
Periyasamy

                 reply	other threads:[~2018-10-02 12:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=AM5PR0701MB2755CDB4137D9223D32F73148AE80@AM5PR0701MB2755.eurprd07.prod.outlook.com \
    --to=periyasamy.palanisamy@ericsson.com \
    --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).