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 15842A034E; Wed, 22 Dec 2021 18:05:14 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D7BF0410F1; Wed, 22 Dec 2021 18:05:13 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 266D340687 for ; Wed, 22 Dec 2021 18:05:13 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 16BF7A034F; Wed, 22 Dec 2021 18:05:12 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 917] [20.11.4-rc1][mlx5] application with MPRQ enabled crashes when receiving a packet Date: Wed, 22 Dec 2021 17:05:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: ethdev X-Bugzilla-Version: 20.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alialnu@nvidia.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org https://bugs.dpdk.org/show_bug.cgi?id=3D917 Bug ID: 917 Summary: [20.11.4-rc1][mlx5] application with MPRQ enabled crashes when receiving a packet Product: DPDK Version: 20.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: alialnu@nvidia.com Target Milestone: --- To reproduce, build with assert and debug enabled: $ meson build --werror --buildtype=3Ddebug -Dc_args=3D'-DRTE_ENABLE_ASSERT= =3D1 -DRTE_LIBRTE_MLX5_DEBUG' && ninja -C build Run the app: $ build/app/dpdk-testpmd -n 4 -a 0000:00:07.0,rxqs_min_mprq=3D1,mprq_en=3D1= -a 0000:00:08.0,rxqs_min_mprq=3D1,mprq_en=3D1 --iova-mode=3D"va" -- -ia --txd= =3D8192 --rxd=3D8192 Then send the following packet with scapy: >>> sendp(Ether()/IP()/TCP()/Raw(load=3Db'X'*1460), iface =3D 'ens7', count= =3D 1) Result: testpmd> PANIC in mprq_buf_to_pkt(): line 893 assert "pkt->ol_flags =3D=3D (1ULL << 61)" failed 12: [/lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7f995daa3293]] 11: [/lib/x86_64-linux-gnu/libpthread.so.0(+0x9609) [0x7f995db7c609]] 10: [build-meson/app/dpdk-testpmd(eal_thread_loop+0x5e4) [0x55de625b5c1c]] 9: [build-meson/app/dpdk-testpmd(+0x21bc8e) [0x55de62129c8e]] 8: [build-meson/app/dpdk-testpmd(+0x21bb92) [0x55de62129b92]] 7: [build-meson/app/dpdk-testpmd(+0x1e9550) [0x55de620f7550]] 6: [build-meson/app/dpdk-testpmd(+0x1e8e22) [0x55de620f6e22]] 5: [build-meson/app/dpdk-testpmd(mlx5_rx_burst_mprq_vec+0x81) [0x55de63c172= 71]] 4: [build-meson/app/dpdk-testpmd(+0x1d090a0) [0x55de63c170a0]] 3: [build-meson/app/dpdk-testpmd(+0x1d049e7) [0x55de63c129e7]] 2: [build-meson/app/dpdk-testpmd(__rte_panic+0xee) [0x55de6257a485]] 1: [build-meson/app/dpdk-testpmd(rte_dump_stack+0x3d) [0x55de625a80fd]] Aborted OS: Ubuntu 20.04 NIC: ConnectX-5 MLNX_OFED: MLNX_OFED_LINUX-5.5-1.0.3.2 FW: 16.32.1010 --=20 You are receiving this mail because: You are the assignee for the bug.=