[dpdk-users] EAL: no driver found for virtio-user0

Sandeep Rayapudi rayapudisandeep at gmail.com
Mon Aug 29 18:50:04 CEST 2016

Hi everyone,

I'm new to DPDK and trying out this PoC:
http://dpdk.org/ml/archives/dev/2015-November/027732.html in docker

When I launch l2fwd as indicated in this thread, I get this error:

./examples/l2fwd/build/l2fwd -c 0x1f -n 4 --no-huge --no-pci
--vdev=virtio-user0,queue_num=256,rx=1,tx=1,cq=0,path=/run/usvhost -- -p

EAL: Detected 56 lcore(s)
EAL: no driver found for virtio-user0
EAL: failed to initialize virtio-user0 device
PANIC in rte_eal_init():
Cannot init pmd devices
6: [./examples/l2fwd/build/l2fwd(_start+0x29) [0x429369]]
5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)
4: [./examples/l2fwd/build/l2fwd(main+0x2e) [0x4283be]]
3: [./examples/l2fwd/build/l2fwd(rte_eal_init+0xed2) [0x45c042]]
2: [./examples/l2fwd/build/l2fwd(__rte_panic+0xc9) [0x424858]]
1: [./examples/l2fwd/build/l2fwd(rte_dump_stack+0x2b) [0x4635bb]]
Aborted (core dumped)

I built the driver in dpdk-16.07/drivers/net/virtio path but EAL is unable
to find it. Please advise how to use this example with virtio-user device.


More information about the users mailing list