[dpdk-users] vdev_probe(): failed to initialize virtio device
Alan Kayahan
hsykay at gmail.com
Mon Mar 12 15:35:49 CET 2018
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
More information about the users
mailing list