From: Subbu CS <developer.subodh@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] basic forwarding example not working
Date: Tue, 19 Apr 2016 21:30:09 +0530 [thread overview]
Message-ID: <CAFSK5y3HW8S29Ef9uAf4CgCTe6n1LqLk7x=bFAytN=YYTQhWSQ@mail.gmail.com> (raw)
I am using two virtio network adapter on VM on KVM host.
As in following output, I have bound both interface with igb_uio driver
./dpdk_nic_bind.py --bind=igb_uio 00:0a.0
./dpdk_nic_bind.py --bind=igb_uio 00:0b.0
[root@localhost tools]# ./dpdk_nic_bind.py --status
Network devices using DPDK-compatible driver
============================================
0000:00:0a.0 'Virtio network device' drv=igb_uio unused=
0000:00:0b.0 'Virtio network device' drv=igb_uio unused=
Network devices using kernel driver
===================================
0000:00:03.0 'RTL-8100/8101L/8139 PCI Fast Ethernet Adapter' if=ens3
drv=8139cp unused=igb_uio *Active*
0000:00:08.0 'Virtio network device' if= drv=virtio-pci unused=igb_uio
0000:00:09.0 'Virtio network device' if= drv=virtio-pci unused=igb_uio
Other network devices
=====================
<none>
But when I run basic fowarding example from skeleton, I get following error
./basicfwd -c 1 -n 2
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Support maximum 128 logical core(s) by configuration.
EAL: Detected 1 lcore(s)
EAL: Probing VFIO support...
EAL: Module /sys/module/vfio_pci not found! error 2 (No such file or
directory)
EAL: VFIO modules not loaded, skipping VFIO support...
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f75de400000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f75de000000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f75ddc00000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f75dd800000 (size = 0x200000)
EAL: Ask a virtual area of 0x27400000 bytes
EAL: Virtual area found at 0x7f75b6200000 (size = 0x27400000)
EAL: Ask a virtual area of 0x4a00000 bytes
EAL: Virtual area found at 0x7f75b1600000 (size = 0x4a00000)
EAL: Ask a virtual area of 0x1200000 bytes
EAL: Virtual area found at 0x7f75b0200000 (size = 0x1200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f75afe00000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f75afa00000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f75af600000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f75af200000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f75aee00000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f75aea00000 (size = 0x200000)
EAL: Requesting 370 pages of size 2MB from socket 0
EAL: TSC frequency is ~1696081 KHz
EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable
clock cycles !
EAL: Master lcore 0 is ready (tid=df5298c0;cpuset=[0])
EAL: PCI device 0000:00:08.0 on NUMA socket -1
EAL: probe driver: 1af4:1000 rte_virtio_pmd
EAL: Not managed by a supported kernel driver, skipped
Segmentation fault
Please let me know what is the correct method to run the basic forwarding
application.
next reply other threads:[~2016-04-19 16:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-19 16:00 Subbu CS [this message]
2016-04-19 16:23 ` Christian Ehrhardt
[not found] ` <CAFSK5y3AjiyGkz_zzFopqWu8sD-+FdVBZa1KC_rdUFiF8HW4Lg@mail.gmail.com>
2016-04-20 5:56 ` Christian Ehrhardt
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='CAFSK5y3HW8S29Ef9uAf4CgCTe6n1LqLk7x=bFAytN=YYTQhWSQ@mail.gmail.com' \
--to=developer.subodh@gmail.com \
--cc=dev@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).