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 EA68B4317A;
Mon, 16 Oct 2023 08:53:05 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
by mails.dpdk.org (Postfix) with ESMTP id B7A48402EC;
Mon, 16 Oct 2023 08:53:05 +0200 (CEST)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
by mails.dpdk.org (Postfix) with ESMTP id 98DA7402BE
for ; Mon, 16 Oct 2023 08:53:03 +0200 (CEST)
Received: by inbox.dpdk.org (Postfix, from userid 33)
id 836FD4317B; Mon, 16 Oct 2023 08:53:03 +0200 (CEST)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 1301] [dpdk-23.11] meson_tests/driver: core dumped occurred
after link_bonding_autotest test
Date: Mon, 16 Oct 2023 06:53:03 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: meson
X-Bugzilla-Version: 23.11
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: songx.jiale@intel.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=16974391830.9D5A7.1780327
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
--16974391830.9D5A7.1780327
Date: Mon, 16 Oct 2023 08:53: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=3D1301
Bug ID: 1301
Summary: [dpdk-23.11] meson_tests/driver: core dumped occurred
after link_bonding_autotest test
Product: DPDK
Version: 23.11
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: meson
Assignee: dev@dpdk.org
Reporter: songx.jiale@intel.com
Target Milestone: ---
[Environment]
DPDK version:=20
dpdk-23.11=EF=BC=9A77f913752a55c0262bfda99a1b69ca0bd804c6c7
Other software versions: name/version for QEMU, OVS, etc. Repeat as require=
d.
OS: Ubuntu 22.04.3 LTS/5.15.0-82-generic
Compiler: gcc version 11.4.0
Hardware platform: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
NIC hardware:
Intel Corporation Ethernet Controller E810-C for SFP [8086:1593] (rev 02)
NIC firmware:=20
driver: ice
version: 5.15.0-82-generic
firmware-version: 4.40 0x8001af8b 1.3444.0
[Test Setup]
1. compile dpdk
rm -rf x86_64-native-linuxapp-gcc
CC=3Dgcc meson -Denable_kmods=3DFalse -Dlibdir=3Dlib --default-library=3Dst=
atic
x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc -j 72=20
2. blind port to vfio-pci
./usertools/dpdk-devbind.py -b vfio-pci 05:00.0 08:00.0
3. start test
DPDK_TEST=3Dlink_bonding_autotest MALLOC_PERTURB_=3D94
/root/dpdk/x86_64-native-linuxapp-gcc/app/dpdk-test -c 0xff -a 0000:05:00.0=
-a
0000:08:00.0
[Show the output from the previous commands.]
+ TestCase [62] : test_broadcast_verify_member_link_status_change_behaviour
succeeded
+ TestCase [63] : test_reconfigure_bonding_device succeeded
+ TestCase [64] : test_close_bonding_device succeeded
Invalid port_id=3D8
EAL: Test assert remove_members_and_stop_bonding_device line 658 failed: Fa=
iled
to stop bonding port 8
+ ------------------------------------------------------- +
+ Test Suite Summary : Link Bonding Unit Test Suite
+ ------------------------------------------------------- +
+ Tests Total : 65
+ Tests Skipped : 0
+ Tests Executed : 65
+ Tests Unsupported: 0
+ Tests Passed : 65
+ Tests Failed : 0
+ ------------------------------------------------------- +
Test OK
RTE>>Segmentation fault (core dumped)
[Expected Result]
no core dumped.
+ TestCase [62] : test_broadcast_verify_member_link_status_change_behaviour
succeeded
+ TestCase [63] : test_reconfigure_bonding_device succeeded
+ TestCase [64] : test_close_bonding_device succeeded
Invalid port_id=3D8
EAL: Test assert remove_members_and_stop_bonding_device line 658 failed: Fa=
iled
to stop bonding port 8
+ ------------------------------------------------------- +
+ Test Suite Summary : Link Bonding Unit Test Suite
+ ------------------------------------------------------- +
+ Tests Total : 65
+ Tests Skipped : 0
+ Tests Executed : 65
+ Tests Unsupported: 0
+ Tests Passed : 65
+ Tests Failed : 0
+ ------------------------------------------------------- +
Test OK
RTE>>
[Regression]
Is this issue a regression: (Y/N)Y
commit 36c46e738120c381cf663c96692454c5aa75e203
Author: David Marchand
Date: Wed Sep 27 13:45:15 2023 +0200
ethdev: cleanup shared data with the last port
If no port is allocated and no port owner is still registered,
ethdev from a primary process may release the memzone used to store
port data.
This makes it possible for the DPDK memory allocator to release
associated resources back to the OS.
Signed-off-by: David Marchand
Acked-by: Morten Br=C3=B8rup
lib/ethdev/ethdev_driver.c | 6 ++++++
lib/ethdev/ethdev_private.c | 21 ++++++++++++++++++++-
lib/ethdev/ethdev_private.h | 4 ++++
lib/ethdev/rte_ethdev.c | 3 +++
4 files changed, 33 insertions, 1 deletion
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--16974391830.9D5A7.1780327
Date: Mon, 16 Oct 2023 08:53: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
[dpdk-23.11] meson_tests/driver: core dumped occurred after l=
ink_bonding_autotest test
Product
DPDK
Version
23.11
Hardware
x86
OS
Linux
Status
UNCONFIRMED
Severity
normal
Priority
Normal
Component
meson
Assignee
dev@dpdk.org
Reporter
songx.jiale@intel.com
Target Milestone
---
[Environment]
DPDK version:=20
dpdk-23.11=EF=BC=9A77f913752a55c0262bfda99a1b69ca0bd804c6c7
Other software versions: name/version for QEMU, OVS, etc. Repeat as require=
d.
OS: Ubuntu 22.04.3 LTS/5.15.0-82-generic
Compiler: gcc version 11.4.0
Hardware platform: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
NIC hardware:
Intel Corporation Ethernet Controller E810-C for SFP [8086:1593] (rev 02)
NIC firmware:=20
driver: ice
version: 5.15.0-82-generic
firmware-version: 4.40 0x8001af8b 1.3444.0
[Test Setup]
1. compile dpdk
rm -rf x86_64-native-linuxapp-gcc
CC=3Dgcc meson -Denable_kmods=3DFalse -Dlibdir=3Dlib --default-library=3Dst=
atic
x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc -j 72=20
2. blind port to vfio-pci
./usertools/dpdk-devbind.py -b vfio-pci 05:00.0 08:00.0
3. start test
DPDK_TEST=3Dlink_bonding_autotest MALLOC_PERTURB_=3D94
/root/dpdk/x86_64-native-linuxapp-gcc/app/dpdk-test -c 0xff -a 0000:05:00.0=
-a
0000:08:00.0
[Show the output from the previous commands.]
+ TestCase [62] : test_broadcast_verify_member_link_status_change_behaviour
succeeded
+ TestCase [63] : test_reconfigure_bonding_device succeeded
+ TestCase [64] : test_close_bonding_device succeeded
Invalid port_id=3D8
EAL: Test assert remove_members_and_stop_bonding_device line 658 failed: Fa=
iled
to stop bonding port 8
+ ------------------------------------------------------- +
+ Test Suite Summary : Link Bonding Unit Test Suite
+ ------------------------------------------------------- +
+ Tests Total : 65
+ Tests Skipped : 0
+ Tests Executed : 65
+ Tests Unsupported: 0
+ Tests Passed : 65
+ Tests Failed : 0
+ ------------------------------------------------------- +
Test OK
RTE>>Segmentation fault (core dumped)
[Expected Result]
no core dumped.
+ TestCase [62] : test_broadcast_verify_member_link_status_change_behaviour
succeeded
+ TestCase [63] : test_reconfigure_bonding_device succeeded
+ TestCase [64] : test_close_bonding_device succeeded
Invalid port_id=3D8
EAL: Test assert remove_members_and_stop_bonding_device line 658 failed: Fa=
iled
to stop bonding port 8
+ ------------------------------------------------------- +
+ Test Suite Summary : Link Bonding Unit Test Suite
+ ------------------------------------------------------- +
+ Tests Total : 65
+ Tests Skipped : 0
+ Tests Executed : 65
+ Tests Unsupported: 0
+ Tests Passed : 65
+ Tests Failed : 0
+ ------------------------------------------------------- +
Test OK
RTE>>
[Regression]
Is this issue a regression: (Y/N)Y
commit 36c46e738120c381cf663c96692454c5aa75e203
Author: David Marchand <david.marchand@redhat.com>
Date: Wed Sep 27 13:45:15 2023 +0200
ethdev: cleanup shared data with the last port
If no port is allocated and no port owner is still registered,
ethdev from a primary process may release the memzone used to store
port data.
This makes it possible for the DPDK memory allocator to release
associated resources back to the OS.
Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Morten Br=C3=B8rup <mb@smartsharesystems.com>
lib/ethdev/ethdev_driver.c | 6 ++++++
lib/ethdev/ethdev_private.c | 21 ++++++++++++++++++++-
lib/ethdev/ethdev_private.h | 4 ++++
lib/ethdev/rte_ethdev.c | 3 +++
4 files changed, 33 insertions, 1 deletion