DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] vdev_probe(): failed to initialize virtio device
@ 2018-03-12 14:35 Alan Kayahan
  0 siblings, 0 replies; only message in thread
From: Alan Kayahan @ 2018-03-12 14:35 UTC (permalink / raw)
  To: users

Hello,

I am trying to connect testpmd to an OVS port. Port in OVS is created using
the following command

ovs-vsctl add-port br0 vhost-user1 -- set Interface vhost-user1
type=dpdkvhostuser

The command above creates the unix socket file
/usr/local/var/run/openvswitch/vhost-user1. Then I launch testpmd as
following

export DPDK_PARAMS=" -l 3-4 --master-lcore 3 -n 1 \
-m 1024 --file-prefix testpmd --no-pci --log-level=8 \
--vdev=net_virtio_user1,mac=00:00:91:00:00:01,
path=/usr/local/var/run/openvswitch/vhost-user1"

export TESTPMD_PARAMS="--burst=64 -i --disable-hw-vlan --txd=2048
--rxd=2048 --forward-mode=io --auto-start --coremask=0x18"

/usr/src/dpdk-17.11/x86_64-native-linuxapp-gcc/app# ./testpmd $DPDK_PARAMS
-- $TESTPMD_PARAMS

testpmd launches, however prompts the following error during loading

vdev_probe(): failed to initialize net_virtio_user1 device
Mar 12 15:29:54 tdev testpmd[7367]: EAL: Bus (vdev) probe failed.

I don know if I set the debugging level right but I don't get further
information about why the initialization fails. Any ideas?

Thanks,
Alan

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-03-12 14:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-12 14:35 [dpdk-users] vdev_probe(): failed to initialize virtio device Alan Kayahan

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