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 134D843063;
Mon, 14 Aug 2023 17:26:06 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
by mails.dpdk.org (Postfix) with ESMTP id DA510410F1;
Mon, 14 Aug 2023 17:26:05 +0200 (CEST)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
by mails.dpdk.org (Postfix) with ESMTP id 2955540A8A
for ; Mon, 14 Aug 2023 17:26:04 +0200 (CEST)
Received: by inbox.dpdk.org (Postfix, from userid 33)
id 1FB8643064; Mon, 14 Aug 2023 17:26:04 +0200 (CEST)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 1273] eth_memif_rx segfault when burst size is greater than 32
Date: Mon, 14 Aug 2023 15:26:03 +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: 23.03
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sunnylandh@gmail.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: multipart/alternative; boundary=16920267630.d49D4A0C.4047475
Content-Transfer-Encoding: 7bit
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
--16920267630.d49D4A0C.4047475
Date: Mon, 14 Aug 2023 17:26:03 +0200
MIME-Version: 1.0
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
https://bugs.dpdk.org/show_bug.cgi?id=3D1273
Bug ID: 1273
Summary: eth_memif_rx segfault when burst size is greater than
32
Product: DPDK
Version: 23.03
Hardware: All
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: ethdev
Assignee: dev@dpdk.org
Reporter: sunnylandh@gmail.com
Target Milestone: ---
When rte_eth_rx_burst() is called on an memif device with a burst size grea=
ter
than 32, there's a segfault in eth_memif_rx() function.
Thread 1 "x" received signal SIGSEGV, Segmentation fault.
0x00007ffff7a116d1 in eth_memif_rx (queue=3D0x1b73051c0, bufs=3D0x7ffffff=
fd320,
nb_pkts=3D) at ../drivers/net/memif/rte_eth_memif.c:360
360 mbuf =3D mbuf_head;
(gdb) bt
#0 0x00007ffff7a116d1 in eth_memif_rx (queue=3D0x1b73051c0,
bufs=3D0x7fffffffd320, nb_pkts=3D) at
../drivers/net/memif/rte_eth_memif.c:360
#1 0x000055555555554e in rte_eth_rx_burst (nb_pkts=3D,
rx_pkts=3D0x7fffffffd220, queue_id=3D0, port_id=3D0) at
/usr/local/include/rte_ethdev.h:5918
#2 rxloop (queue=3D0, mp=3D, burstSize=3D,=
port=3D0)
at x.c:51
#3 main (argc=3D, argv=3D) at x.c:103
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--16920267630.d49D4A0C.4047475
Date: Mon, 14 Aug 2023 17:26:03 +0200
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
eth_memif_rx segfault when burst size is greater than 32
Product
DPDK
Version
23.03
Hardware
All
OS
Linux
Status
UNCONFIRMED
Severity
normal
Priority
Normal
Component
ethdev
Assignee
dev@dpdk.org
Reporter
sunnylandh@gmail.com
Target Milestone
---
When rte_eth_rx_burst() is called =
on an memif device with a burst size greater
than 32, there's a segfault in eth_memif_rx() function.
Thread 1 "x" received signal SIGSEGV, Segmentation fault.
0x00007ffff7a116d1 in eth_memif_rx (queue=3D0x1b73051c0, bufs=3D0x7ffffff=
fd320,
nb_pkts=3D<optimized out>) at ../drivers/net/memif/rte_eth_memif.c:360
360 mbuf =3D mbuf_head;
(gdb) bt
#0 0x00007ffff7a116d1 in eth_memif_rx (queue=3D0x1b73051c0,
bufs=3D0x7fffffffd320, nb_pkts=3D<optimized out>) at
../drivers/net/memif/rte_eth_memif.c:360
#1 0x000055555555554e in rte_eth_rx_burst (nb_pkts=3D<optimized out&g=
t;,
rx_pkts=3D0x7fffffffd220, queue_id=3D0, port_id=3D0) at
/usr/local/include/rte_ethdev.h:5918
#2 rxloop (queue=3D0, mp=3D<optimized out>, burstSize=3D<optimi=
zed out>, port=3D0)
at x.c:51
#3 main (argc=3D<optimized out>, argv=3D<optimized out>) at =
x.c:103