From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0616C42E65 for ; Thu, 13 Jul 2023 20:21:46 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 57DDF41143; Thu, 13 Jul 2023 20:21:45 +0200 (CEST) Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) by mails.dpdk.org (Postfix) with ESMTP id D14D740DDB for ; Thu, 13 Jul 2023 20:21:43 +0200 (CEST) Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-992ca792065so144613166b.2 for ; Thu, 13 Jul 2023 11:21:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689272503; x=1691864503; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=zNjPwDnlsmVHfbsAY0ckyM7X7VreIl2B2gS5U5ogxzw=; b=qjxa8zgbkW7jNjgZMKT/hDDQCt9N3t8VhdBxZQC18HD+BCqJ2VoXAS1Y8bzZuTHP2V 2KiK6vVANIjYYkSXUKRVN3DR84S8o2XaTfFNOApVpHFsSeg655YirDef3QJcxVmJikmy 4E6hAeyde5PhqMDvbfBFqVueE/HpP9EFdsX5fPB4Ibjzam4fGA7NIcwabE/PZjklV5e1 4jaSoA0VXnVZFFsseifztlx5KW6qXvZ/EMyQlcHrdQ9Fee7cnW7Gm7itiJqU1h6RGYsi Cvma1BpC81U+bInDxabTOR6zWDqeLh+DSOeOC0LrD4n1lHrs3T26fMCDueHpPmJUhwg9 F0FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689272503; x=1691864503; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zNjPwDnlsmVHfbsAY0ckyM7X7VreIl2B2gS5U5ogxzw=; b=J/+2q/sepcuLWuxSMkBH6UfItxI4yCR5ZtPmh31qWW8bbiZ+GPPAsPKTg3XxwvvV+7 /s0qatjvmsd+8KW7Bd7zifzt4cNZHhmAMvb2O4i1imSjDv1wccVuKGAwQyxK5WHrCw0B HLX8tjP6CMQH//Vnnf4XSXE8LjTVnsyXXhpbwbUVW0s9/OcMeh6D+vMocidL1Ajsi84q EUiS/bKgBx763/9kO6S9G1sXdQihXJ0ytTjO3nQV6zKWkseq6HGjZ6e7T9DUYAdaOEpO mMPXcn6xbxF80iOCcUybJdGnFr1Kb9X4xdSim3bWVag5Dak08Bd51nrECK0PaDW+q1ic lzTA== X-Gm-Message-State: ABy/qLZaTopaBFQC9Yc4YfRO6jdOJsAjl7Sz+XouYWVEycLcr4YGjPCn yesqe0e7+uEGKMszg/mfgUm0N6ltVcZGSB0Ansc= X-Google-Smtp-Source: APBJJlGIP0OODfJy6OV/XmdXPRpfnlZMGSDoG84mXgXwaqsseOm1qqO0doJlMOq8bmxZHUbcNzbpfX4pKsJ0EafjFvM= X-Received: by 2002:a17:907:6da2:b0:991:b292:695 with SMTP id sb34-20020a1709076da200b00991b2920695mr2271811ejc.55.1689272503253; Thu, 13 Jul 2023 11:21:43 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Antonio Di Bacco Date: Thu, 13 Jul 2023 20:21:32 +0200 Message-ID: Subject: Re: dpdk-testpmd works but dpdk pktgen crashes on startup with MLX5 card To: "Wiles, Keith" Cc: Maayan Kashani , "users@dpdk.org" , Raslan Darawsheh , Ali Alnubani Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org The problem was on my side, the mellanox card was on NUMA 1 but I provided only cores on NUMA 0. Thank you On Wed, Jul 12, 2023 at 4:40=E2=80=AFPM Wiles, Keith wrote: > > From: Maayan Kashani > Date: Wednesday, July 12, 2023 at 8:57 AM > To: Antonio Di Bacco , users@dpdk.org > Cc: Raslan Darawsheh , Ali Alnubani > Subject: RE: dpdk-testpmd works but dpdk pktgen crashes on startup with M= LX5 card > > Hi, Antonio, > Sorry for the late reply, > Thanks for bringing this issue to our attention. > We need to investigate it, and share more data once we have it. > > Regards, > Maayan Kashani > > > -----Original Message----- > > From: Antonio Di Bacco > > Sent: Wednesday, 12 July 2023 0:52 > > To: users@dpdk.org > > Subject: dpdk-testpmd works but dpdk pktgen crashes on startup with MLX= 5 > > card > > > > External email: Use caution opening links or attachments > > > > > > If I try to use dpdk-pktgen on a MLX5 card, I get this SIGSEGV > > > > [user@dhcp-10-84-89-229 pktgen-dpdk]$ sudo > > LD_LIBRARY_PATH=3D/usr/local/lib64 ./usr/local/bin/pktgen -l50-54 -n 2= --allow > > c1:00.0 -- -P -m "52.1" > > > > Hope the format is correct I told macos outlook to reply as text, but it = never seems to work. =E2=98=B9 > > > > I noticed here you define lcores -l 50-54, which means 50 is used for ti= mers and display output. Then 51-54 are used for ports. > > The one thing I see here is that you define a lcore.port mapping of -m = =E2=80=9C52.1=E2=80=9D meaning lcore 52 and port 1. You only have 1 port, w= hich means it should be -m =E2=80=9C52.0=E2=80=9D the other unused lcores w= ill be reported as not used. Looks like I need to add some tests to detect = this problem. =E2=98=B9 > > > > I hope this helps. I did not see this email as I have a filter set to det= ect a subject line with Pktgen in the text. > > > > > > *** 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
Copyright(c) <2010-2023>, Intel Corpora= tion > > 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) --------= -------- > > > > > > =3D=3D=3D=3D=3D=3D 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.