Hi All,

   I am trying to bind virtio interface with my dpdk application.

Binding was successful but LINK create is failed in the log I am seeing

Port which was bound not probed in startup.

Please suggest how to bind the virtio interface into dpdk.

 

Steps I have tried to bind the port:

  1. modprobe uio_pci_generic
  2. dpdk-devbind.py -b uio_pci_generic  0000:02:00.0 0000:03:00.0
  3. dpdk-devbind.py -s

 

Network devices using DPDK-compatible driver

============================================

0000:02:00.0 'Virtio network device 1041' drv=uio_pci_generic unused=virtio_pci,igb_uio,vfio-pci

0000:03:00.0 'Virtio network device 1041' drv=uio_pci_generic unused=virtio_pci,igb_uio,vfio-pci

 

Startup log:

IPv4 IP : 4.4.4.4

IPv6 IP : 0::0

EAL: Detected 24 lcore(s)

EAL: Detected 1 NUMA nodes

EAL: Multi-process socket /var/run/dpdk/rte/mp_socket

EAL: Selected IOVA mode 'PA'

EAL: Probing VFIO support...

EAL: VFIO support initialized

EAL: No legacy callbacks, legacy socket not created

mempool MEMPOOL0 buffer 2304 pool 4096k cache 512 cpu 0

mempool MEMPOOL1 buffer 2304 pool 4096k cache 128 cpu 0

mempool MEMPOOL2 buffer 2304 pool 2048k cache 128 cpu 0

 

link LINK0 dev 0000:02:00.0 rxq 2 512 MEMPOOL0 txq 2 512 promiscuous on

Command "link" failed.

 

 

Regards,

Bala