From: Olga Shern <olgas@mellanox.com>
To: Paul Tsvika <mozloverinweb@gmail.com>, "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] [dpdk][pktgen] - execute pktgen with mlx4 (40G) with some errors
Date: Mon, 31 Jul 2017 16:11:04 +0000 [thread overview]
Message-ID: <DB6PR0501MB2757E41CDB6D9C8040142CD3D3B20@DB6PR0501MB2757.eurprd05.prod.outlook.com> (raw)
In-Reply-To: <CAGi_MXkhoMRC0c-JxgHaNf59XygSoj_ctdxNgOS4=-RzUFe2fQ@mail.gmail.com>
Hi Paul,
Looks like your ConnectX-3 configured to be IB and not ETH
> pci@0000:04:00.0 ib0 network MT27500 Family [ConnectX-3]
Use connectx_port_config script.
Set all the ports to Ethernet, and follow the instructions on the screen.
You can use -w to specify ConnectX-3 PCI address, you don't need to use -b
Make sure you compile DPDK with mlx4 PMD, it is not enabled by default
Best Regards,
Olga
> -----Original Message-----
> From: users [mailto:users-bounces@dpdk.org] On Behalf Of Paul Tsvika
> Sent: Monday, July 31, 2017 1:14 PM
> To: users@dpdk.org
> Subject: [dpdk-users] [dpdk][pktgen] - execute pktgen with mlx4 (40G) with
> some errors
>
> 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
> <https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fw
> ww.mellanox.com%2Fpage%2Fproducts_dyn%3Fproduct_family%3D26%26
> mtag%3Dlinux_sw_drivers&data=02%7C01%7Colgas%40mellanox.com%7C4f
> e2f94155994a2a579008d4d7fce66a%7Ca652971c7d2e4d9ba6a4d149256f461b
> %7C0%7C0%7C636370928586578406&sdata=%2FPnEAOJFsGtQRY%2FP5u0Hpl
> L6kDbnhwRGIgSV%2B31w40Q%3D&reserved=0>
> 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 prev parent reply other threads:[~2017-07-31 16:11 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-31 10:14 Paul Tsvika
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 [this message]
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=DB6PR0501MB2757E41CDB6D9C8040142CD3D3B20@DB6PR0501MB2757.eurprd05.prod.outlook.com \
--to=olgas@mellanox.com \
--cc=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).