[dpdk-users] [dpdk][pktgen] - execute pktgen with mlx4 (40G) with some errors
Olga Shern
olgas at mellanox.com
Mon Jul 31 18:11:04 CEST 2017
Hi Paul,
Looks like your ConnectX-3 configured to be IB and not ETH
> pci at 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 at dpdk.org] On Behalf Of Paul Tsvika
> Sent: Monday, July 31, 2017 1:14 PM
> To: users at 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 at 0000:03:00.0 eno3 network Ethernet Connection X552/X557-AT
> 10GBAS
> pci at 0000:03:00.1 eno4 network Ethernet Connection X552/X557-AT
> 10GBAS
> pci at 0000:04:00.0 ib0 network MT27500 Family [ConnectX-3]
> pci at 0000:05:00.0 eno1 network I350 Gigabit Network Connection
> pci at 0000:05:00.1 eno2 network I350 Gigabit Network Connection
> pci at 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
More information about the users
mailing list