DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] DPDK passthrough to container in virtual machine
@ 2018-10-02 12:42 Periyasamy Palanisamy
  0 siblings, 0 replies; only message in thread
From: Periyasamy Palanisamy @ 2018-10-02 12:42 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-10-02 12:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-02 12:42 [dpdk-dev] DPDK passthrough to container in virtual machine Periyasamy Palanisamy

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).