* How to bind virtio interface in dpdk
@ 2022-12-07 12:33 Balakrishnan K
0 siblings, 0 replies; only message in thread
From: Balakrishnan K @ 2022-12-07 12:33 UTC (permalink / raw)
To: users
[-- Attachment #1: Type: text/plain, Size: 1310 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 7082 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-07 12:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-07 12:33 How to bind virtio interface in dpdk Balakrishnan K
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).