dpdk-testpmd works but dpdk pktgen crashes on startup with MLX5 card

Antonio Di Bacco a.dibacco.ks at gmail.com
Tue Jul 11 23:52:21 CEST 2023


If I try to use dpdk-pktgen on a MLX5 card, I get this SIGSEGV

[user at dhcp-10-84-89-229 pktgen-dpdk]$  sudo
LD_LIBRARY_PATH=/usr/local/lib64 ./usr/local/bin/pktgen -l50-54  -n 2
 --allow c1:00.0 -- -P -m "52.1"

*** Copyright(c) <2010-2023>, Intel Corporation. All rights reserved.
*** Pktgen  created by: Keith Wiles -- >>> Powered by DPDK <<<

    0: mlx5_pci        9      1   15b3:1019/c1:00.0



*** Unable to create capture memzone for socket ID 2
*** Unable to create capture memzone for socket ID 3
*** Unable to create capture memzone for socket ID 4
*** Unable to create capture memzone for socket ID 5
*** Unable to create capture memzone for socket ID 6
*** Unable to create capture memzone for socket ID 7
---- repeating message
----
*** Unable to create capture memzone for socket ID 219
*** Unable to create capture memzone for socket ID 220
*** Unable to create capture memzone for socket ID 221
*** Unable to create capture memzone for socket ID 222
WARNING: Nothing to do on lcore 51: exiting
WARNING: Nothing to do on lcore 53: exiting
WARNING: Nothing to do on lcore 54: exiting
- Ports 0-0 of 1   <Main Page>  Copyright(c) <2010-2023>, Intel Corporation
  Port:Flags        :
Link State          :
Pkts/s Rx           :
       Tx           :
MBits/s Rx/Tx       :
Pkts/s Rx Max       :
       Tx Max       :
Broadcast           :
Multicast           :
Sizes 64            :
      65-127        :
      128-255       :
      256-511       :
      512-1023      :
      1024-1518     :
Runts/Jumbos        :
ARP/ICMP Pkts       :
Errors Rx/Tx        :
Total Rx Pkts       :
      Tx Pkts       :
      Rx/Tx MBs     :
TCP Flags           :
TCP Seq/Ack         :
Pattern Type        :
Tx Count/% Rate     :
Pkt Size/Rx:Tx Burst:
TTL/Port Src/Dest   :
Pkt Type:VLAN ID    :
802.1p CoS/DSCP/IPP :
VxLAN Flg/Grp/vid   :
IP  Destination     :
    Source          :
MAC Destination     :
    Source          :
NUMA/Vend:ID/PCI    :
-- Pktgen 23.06.1 (DPDK 22.11.2)  Powered by DPDK  (pid:20433) ----------------


====== Pktgen got a Segment Fault

Obtained 11 stack frames.
./usr/local/bin/pktgen() [0x43f1b8]
/lib64/libc.so.6(+0x54df0) [0x7fe22a2a3df0]
./usr/local/bin/pktgen() [0x458859]
./usr/local/bin/pktgen() [0x4592cc]
./usr/local/bin/pktgen() [0x43d6d9]
./usr/local/bin/pktgen() [0x43d73a]
./usr/local/bin/pktgen() [0x41cd10]
./usr/local/bin/pktgen() [0x43f601]
/lib64/libc.so.6(+0x3feb0) [0x7fe22a28eeb0]
/lib64/libc.so.6(__libc_start_main+0x80) [0x7fe22a28ef60]
./usr/local/bin/pktgen() [0x404bf5]


Testpmd works fine on the same card.

Anyone can give me a suggestion?

Best regards.


More information about the users mailing list