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 via email to