From: Sudharshan Krishnakumar <sudhar.ckrishna@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] Issue moving to DPDK 20.11 release
Date: Wed, 26 May 2021 10:27:56 -0700 [thread overview]
Message-ID: <CAEm3rU=pmPOnvCk=ARigWCP_Eb9e1iHNJcQXkNefGyDNTvYUFA@mail.gmail.com> (raw)
Hi All,
Previously, I had DPDK-19.11 working fine on my server system, which runs
on Ubuntu 18.04.
Have a 4-Port 10 Gigabit Network card, with ports bound to use VFIO-PCI
driver.
But had to move to DPDK-20.11, and running into issues.
I installed on DPDK-20.11 on the server to /usr/local.
And did binding of ports using the dpdk-devbind script to use VFIO-PCI
driver.
But when running DPDK sample application such as->
dpdk-20.11/examples/packet_ordering,
noticed DPDK is NOT able to detect any available ports.
Getting error-> Cause: Error: no ethernet ports detected
Also when I pass parameter to block certain interfaces(Bus:Device.Function)
on a NIC, EAL throws an
Error-> EAL: failed to parse device "0000:31.00.0"
On the same system, using the same 10 Gigbit Network card, DPDK sample
applications were
working fine with older version of DPDK->19.11
Below, I have the output of commands:
~/dpdk-20.11$ sudo ./usertools/dpdk-devbind.py --status
Network devices using DPDK-compatible driver
============================================
0000:31:00.0 'Ethernet Controller X710 for 10GbE SFP+ 1572' drv=vfio-pci
unused=i40e
0000:31:00.1 'Ethernet Controller X710 for 10GbE SFP+ 1572' drv=vfio-pci
unused=i40e
0000:31:00.2 'Ethernet Controller X710 for 10GbE SFP+ 1572' drv=vfio-pci
unused=i40e
0000:31:00.3 'Ethernet Controller X710 for 10GbE SFP+ 1572' drv=vfio-pci
unused=i40e
Network devices using kernel driver
===================================
0000:01:00.0 'I210 Gigabit Network Connection 1533' if=enp1s0 drv=igb
unused=vfio-pci *Active*
0000:17:00.0 'Ethernet Controller 10G X550T 1563' if=ens6f0 drv=ixgbe
unused=vfio-pci *Active*
0000:17:00.1 'Ethernet Controller 10G X550T 1563' if=ens6f1 drv=ixgbe
unused=vfio-pci *Active*
cat /proc/meminfo | grep -i huge
AnonHugePages: 8192 kB
ShmemHugePages: 0 kB
HugePages_Total: 2048
HugePages_Free: 2048
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
:~/dpdk-20.11/examples/packet_ordering$ sudo ./build/packet_ordering-shared
-l 4-6 -n 2 --log-level 7 -m 1024
--file-prefix packet_order -- -p 0xf --disable-reorder
EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/packet_order/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: No legacy callbacks, legacy socket not created
reorder disabled
EAL: Error - exiting with code: 1
Cause: Error: no ethernet ports detected
~/dpdk-20.11/examples/packet_ordering/build$ sudo ./packet_ordering -l 4-6
-n 2 --proc-type auto --log-level 7 -m 1024
--file-prefix packet_ordering -b 0000:31:00.0 -b 0000:31:00.1
-b 0000:05:00.0 -b 0000:06:00.0 -b 0000:07:00.0 -b 0000:08:00.0 -- -p 0xf
--disable-reorder
EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Auto-detected process type: PRIMARY
EAL: failed to parse device "0000:31:00.0"
EAL: Unable to parse device '0000:31:00.0'
EAL: Error - exiting with code: 1
Cause: Invalid EAL arguments
Please let me know, if you have any suggestions.
Thanks,
Sudha
next reply other threads:[~2021-05-26 17:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-26 17:27 Sudharshan Krishnakumar [this message]
2021-05-26 17:53 ` Stephen Hemminger
2021-05-26 18:10 ` Sudharshan Krishnakumar
2021-05-26 19:41 ` Sudharshan Krishnakumar
2021-05-26 20:03 ` Stephen Hemminger
2021-05-26 20:27 ` Sudharshan Krishnakumar
2021-05-26 20:43 ` Sudharshan Krishnakumar
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='CAEm3rU=pmPOnvCk=ARigWCP_Eb9e1iHNJcQXkNefGyDNTvYUFA@mail.gmail.com' \
--to=sudhar.ckrishna@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).