From: Paul Tsvika <mozloverinweb@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] [dpdk][pktgen] - execute pktgen with mlx4 (40G) with some errors
Date: Mon, 31 Jul 2017 18:14:11 +0800 [thread overview]
Message-ID: <CAGi_MXkhoMRC0c-JxgHaNf59XygSoj_ctdxNgOS4=-RzUFe2fQ@mail.gmail.com> (raw)
Hi,
Below is my configuration:
AOC: Mellanox MT27500 Family [ConnectX-3]
OS: Ubuntu 16.04
DPDK version: 17.05.1
Pktgen: 3.3.8
Memory: 16G
CPU: Intel(R) Xeon(R) CPU D-1557 (12C)
I've enabled the configuration in dpdk (CONFIG_RTE_LIBRTE_MLX4_PMD=y) and
installed Mellanox OFED
<http://www.mellanox.com/page/products_dyn?product_family=26&mtag=linux_sw_drivers>
driver and recompiled DPDK. It all worked.
Below is my pci network class information:
pci@0000:03:00.0 eno3 network Ethernet Connection X552/X557-AT
10GBAS
pci@0000:03:00.1 eno4 network Ethernet Connection X552/X557-AT
10GBAS
pci@0000:04:00.0 ib0 network MT27500 Family [ConnectX-3]
pci@0000:05:00.0 eno1 network I350 Gigabit Network Connection
pci@0000:05:00.1 eno2 network I350 Gigabit Network Connection
pci@0000:04:00.0 ens2d1 network Ethernet interface
And my step to run pktgen is shown in the following:
$test: modprobe -a ib_uverbs mlx4_en mlx4_core mlx4_ib
$test: /etc/init.d/openibd restart
$test: sudo ./app/x86_64-native-linuxapp-gcc/pktgen -l 0-6 -n 1 --proc-type
auto --file-prefix pg -b 03:00.0 -b 03:00.1 -b 05:00.0 -b 05:00.1 -- -P -m
"[1-5.0]"
Looks like in order to use mlx4, i need to blacklist other ports so that i
-b other ports.
However, when i run the command above to execute pktgen, i got the
following error:
>>> Packet Burst 32, RX Desc 512, TX Desc 1024, mbufs/port 8192, mbuf cache
1024
!PANIC!: *** Did not find any ports to use ***
PANIC in pktgen_config_ports():
*** Did not find any ports to use ***6:
[./app/x86_64-native-linuxapp-gcc/pktgen(_start+0x29) [0x447239]]
5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)
[0x7f0ec0931830]]
4: [./app/x86_64-native-linuxapp-gcc/pktgen(main+0x580) [0x444710]]
3: [./app/x86_64-native-linuxapp-gcc/pktgen(pktgen_config_ports+0x1614)
[0x46e324]]
2: [./app/x86_64-native-linuxapp-gcc/pktgen(__rte_panic+0xc3) [0x43ead4]]
1: [./app/x86_64-native-linuxapp-gcc/pktgen(rte_dump_stack+0x2b) [0x4b7ecb]]
Aborted (core dumped)
Anyone might have related experience please provide advise.
Thanks
P.T
--
P.T
next reply other threads:[~2017-07-31 10:14 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-31 10:14 Paul Tsvika [this message]
2017-07-31 12:54 ` zhilong zheng
2017-07-31 13:07 ` Paul Tsvika
2017-07-31 13:14 ` zhilong zheng
2017-07-31 13:25 ` Paul Tsvika
2017-07-31 13:40 ` zhilong zheng
2017-07-31 14:00 ` Paul Tsvika
2017-07-31 16:11 ` Olga Shern
2017-08-01 3:38 ` Paul Tsvika
2017-08-01 4:15 ` zhilong zheng
2017-08-01 8:15 ` Paul Tsvika
2017-08-01 8:53 ` Zhilong Zheng
2017-08-01 9:04 ` Paul Tsvika
2017-08-01 9:12 ` Zhilong Zheng
2017-08-01 9:37 ` Paul Tsvika
2017-08-01 9:49 ` Zhilong Zheng
2017-08-01 14:05 ` Wiles, Keith
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='CAGi_MXkhoMRC0c-JxgHaNf59XygSoj_ctdxNgOS4=-RzUFe2fQ@mail.gmail.com' \
--to=mozloverinweb@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).