DPDK usage discussions
 help / color / mirror / Atom feed
From: Alan Kayahan <hsykay@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] vdev_probe(): failed to initialize virtio device
Date: Mon, 12 Mar 2018 15:35:49 +0100	[thread overview]
Message-ID: <CAMwPiuP=PoPiSKCp63eyM27RVR4H0XdaXgY6mSGzxQi+beVjHQ@mail.gmail.com> (raw)

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

                 reply	other threads:[~2018-03-12 14:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMwPiuP=PoPiSKCp63eyM27RVR4H0XdaXgY6mSGzxQi+beVjHQ@mail.gmail.com' \
    --to=hsykay@gmail.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).