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

Tan, Jianfeng jianfeng.tan at intel.com
Tue Aug 30 06:50:31 CEST 2016


Hi Sandeep,

Please change "virtio-user0" to "virtio_user0".

> -----Original Message-----
> From: users [mailto:users-bounces at dpdk.org] On Behalf Of Sandeep
> Rayapudi
> Sent: Tuesday, August 30, 2016 12:50 AM
> To: users at dpdk.org
> Subject: [dpdk-users] EAL: no driver found for virtio-user0
> 
> Hi everyone,
> 
> I'm new to DPDK and trying out this PoC:
> http://dpdk.org/ml/archives/dev/2015-November/027732.html in docker
> container.
> 
> 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
>  0x1
> 
> 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)
> [0x7f7b2e003830]]
> 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.
> 
> Thanks,
> Sandeep


More information about the users mailing list