DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] [dpdk][pktgen] - execute pktgen with mlx4 (40G) with some errors
@ 2017-07-31 10:14 Paul Tsvika
  2017-07-31 12:54 ` zhilong zheng
  2017-07-31 16:11 ` Olga Shern
  0 siblings, 2 replies; 17+ messages in thread
From: Paul Tsvika @ 2017-07-31 10:14 UTC (permalink / raw)
  To: users

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2017-08-01 14:06 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-31 10:14 [dpdk-users] [dpdk][pktgen] - execute pktgen with mlx4 (40G) with some errors 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
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

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).