DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] EAL: no driver found for virtio-user0
@ 2016-08-29 16:50 Sandeep Rayapudi
  2016-08-30  4:50 ` Tan, Jianfeng
  0 siblings, 1 reply; 2+ messages in thread
From: Sandeep Rayapudi @ 2016-08-29 16:50 UTC (permalink / raw)
  To: users

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-users] EAL: no driver found for virtio-user0
  2016-08-29 16:50 [dpdk-users] EAL: no driver found for virtio-user0 Sandeep Rayapudi
@ 2016-08-30  4:50 ` Tan, Jianfeng
  0 siblings, 0 replies; 2+ messages in thread
From: Tan, Jianfeng @ 2016-08-30  4:50 UTC (permalink / raw)
  To: Sandeep Rayapudi, users

Hi Sandeep,

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

> -----Original Message-----
> From: users [mailto:users-bounces@dpdk.org] On Behalf Of Sandeep
> Rayapudi
> Sent: Tuesday, August 30, 2016 12:50 AM
> To: users@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-30  4:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-29 16:50 [dpdk-users] EAL: no driver found for virtio-user0 Sandeep Rayapudi
2016-08-30  4:50 ` Tan, Jianfeng

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).