DPDK patches and discussions
 help / color / mirror / Atom feed
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	[thread overview]
Message-ID: <bug-917-3@http.bugs.dpdk.org/> (raw)

https://bugs.dpdk.org/show_bug.cgi?id=917

            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=debug -Dc_args='-DRTE_ENABLE_ASSERT=1
-DRTE_LIBRTE_MLX5_DEBUG' && ninja -C build

Run the app:
$ build/app/dpdk-testpmd -n 4 -a 0000:00:07.0,rxqs_min_mprq=1,mprq_en=1 -a
0000:00:08.0,rxqs_min_mprq=1,mprq_en=1 --iova-mode="va" -- -ia --txd=8192
--rxd=8192

Then send the following packet with scapy:
>>> sendp(Ether()/IP()/TCP()/Raw(load=b'X'*1460), iface = 'ens7', count = 1)

Result:

testpmd> PANIC in mprq_buf_to_pkt():
line 893        assert "pkt->ol_flags == (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) [0x55de63c17271]]
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

-- 
You are receiving this mail because:
You are the assignee for the bug.

                 reply	other threads:[~2021-12-22 17:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-917-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).