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 4444E43C14; Wed, 28 Feb 2024 04:18:51 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CEA65402AE; Wed, 28 Feb 2024 04:18:50 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 4D7FF402AC for ; Wed, 28 Feb 2024 04:18:49 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 158CD43C15; Wed, 28 Feb 2024 04:18:49 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [DPDK/ethdev Bug 1386] [dpdk-24.03] [ABI][meson test] driver-tests/link_bonding_autotest test failed: Segmentation fault when do ABI testing Date: Wed, 28 Feb 2024 03:18:48 +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: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yux.jiang@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=17090903280.18D7DFFe.3496250 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 --17090903280.18D7DFFe.3496250 Date: Wed, 28 Feb 2024 04:18:48 +0100 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=3D1386 Bug ID: 1386 Summary: [dpdk-24.03] [ABI][meson test] driver-tests/link_bonding_autotest test failed: Segmentation fault when do ABI testing Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: yux.jiang@intel.com Target Milestone: --- [Environment] DPDK version: 92c0ad70ca version: 24.03-rc1 OS: RHEL9.0/5.14.0-70.13.1.el9_0.x86_64 Compiler: gcc version 11.2.1 Hardware platform: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz NIC hardware: Ethernet Controller XL710 for 40GbE QSFP+ 1583 NIC firmware:=20 driver: i40e version: 2.24.6 firmware-version: 9.40 0x8000ece4 1.3429.0 [Test Setup] Steps to reproduce List the steps to reproduce the issue. 1, Build latest main dpdk24.03-rc1 rm -rf x86_64-native-linuxapp-gcc CC=3Dgcc meson -Denable_kmods=3DTrue -Dlibdir=3Dlib --default-library=3Dsh= ared x86_64-native-linuxapp-gcc ninja -C x86_64-native-linuxapp-gcc rm -rf /root/tmp/dpdk_share_lib /root/shared_lib_dpdk DESTDIR=3D/root/tmp/dpdk_share_lib ninja -C x86_64-native-linuxapp-gcc -j 1= 10 install mv /root/tmp/dpdk_share_lib/usr/local/lib /root/shared_lib_dpdk ll /root/shared_lib_dpdk cat /root/.bashrc | grep LD_LIBRARY_PATH sed -i 's#export LD_LIBRARY_PATH=3D.*#export LD_LIBRARY_PATH=3D/root/shared_lib_dpdk#g' /root/.bashrc 2, Build LTS dpdk23.11.0 rm /root/dpdk tar zxvf dpdk_abi.tar.gz -C ~ cd ~/dpdk/ rm -rf x86_64-native-linuxapp-gcc CC=3Dgcc meson -Denable_kmods=3DTrue -Dlibdir=3Dlib --default-library=3Dsh= ared x86_64-native-linuxapp-gcc ninja -C x86_64-native-linuxapp-gcc rm -rf x86_64-native-linuxapp-gcc/lib rm -rf x86_64-native-linuxapp-gcc/drivers 3, Bind nic rmmod vfio_pci rmmod vfio_iommu_type1 rmmod vfio modprobe vfio modprobe vfio-pci usertools/dpdk-devbind.py --force --bind=3Dvfio-pci 0000:18:00.0 0000:1a:00= .0 4, Launch dpdk-test and run link_bonding_autotest x86_64-native-linuxapp-gcc/app/dpdk-test -c 0xff -d /root/shared_lib_dpdk -a 0000:18:00.0 -a 0000:1a:00.0 RTE>>link_bonding_autotest Show the output from the previous commands. [root@ABI-80 dpdk]# x86_64-native-linuxapp-gcc/app/dpdk-test -c 0xff -d /root/shared_lib_dpdk -a 0000:18:00.0 -a 0000:1a:00.0 EAL: Detected CPU lcores: 112 EAL: Detected NUMA nodes: 2 EAL: Detected shared linkage of DPDK EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'VA' EAL: VFIO support initialized EAL: Using IOMMU type 1 (Type 1) EAL: Ignore mapping IO port bar(1) EAL: Ignore mapping IO port bar(4) EAL: Probe PCI driver: net_i40e (8086:1583) device: 0000:18:00.0 (socket 0) i40e_GLQF_reg_init(): i40e device 0000:18:00.0 changed global register [0x002689a0]. original: 0x00000021, new: 0x00000029 EAL: Ignore mapping IO port bar(1) EAL: Ignore mapping IO port bar(4) EAL: Probe PCI driver: net_i40e (8086:1583) device: 0000:1a:00.0 (socket 0) i40e_GLQF_reg_init(): i40e device 0000:1a:00.0 changed global register [0x002689a0]. original: 0x00000021, new: 0x00000029 TELEMETRY: No legacy callbacks, legacy socket not created APP: HPET is not enabled, using TSC as default timer RTE>>link_bonding_autotest + ------------------------------------------------------- + + Test Suite : Link Bonding Unit Test Suite Segmentation fault (core dumped) [Expected Result] Test ok. [Regression] Is this issue a regression: (Y/N) Y The first bad commit: commit d4b9235f95de4f46f368627af256ed8080f20d65 Author: Jerin Jacob Date: Thu Jan 18 15:17:42 2024 +0530 ethdev: add Tx queue used count query Introduce a new API to retrieve the number of used descriptors in a Tx queue. Applications can leverage this API in the fast path to inspect the Tx queue occupancy and take appropriate actions based on the available free descriptors. A notable use case could be implementing Random Early Discard (RED) in software based on Tx queue occupancy. Signed-off-by: Jerin Jacob Reviewed-by: Andrew Rybchenko Acked-by: Morten Br=C3=B8rup Acked-by: Konstantin Ananyev Reviewed-by: Ferruh Yigit --=20 You are receiving this mail because: You are the assignee for the bug.= --17090903280.18D7DFFe.3496250 Date: Wed, 28 Feb 2024 04:18:48 +0100 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
Bug ID 1386
Summary [dpdk-24.03] [ABI][meson test] driver-tests/link_bonding_auto= test test failed: Segmentation fault when do ABI testing
Product DPDK
Version unspecified
Hardware All
OS All
Status UNCONFIRMED
Severity normal
Priority Normal
Component ethdev
Assignee dev@dpdk.org
Reporter yux.jiang@intel.com
Target Milestone ---

[Environment]

DPDK version: 92c0ad70ca version: 24.03-rc1
OS: RHEL9.0/5.14.0-70.13.1.el9_0.x86_64
Compiler: gcc version 11.2.1
Hardware platform: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
NIC hardware: Ethernet Controller XL710 for 40GbE QSFP+ 1583
NIC firmware:=20
driver: i40e
version: 2.24.6
firmware-version: 9.40 0x8000ece4 1.3429.0

[Test Setup]
Steps to reproduce
List the steps to reproduce the issue.

1, Build latest main dpdk24.03-rc1
rm -rf x86_64-native-linuxapp-gcc
CC=3Dgcc meson -Denable_kmods=3DTrue -Dlibdir=3Dlib  --default-library=3Dsh=
ared
x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc
rm -rf /root/tmp/dpdk_share_lib /root/shared_lib_dpdk
DESTDIR=3D/root/tmp/dpdk_share_lib ninja -C x86_64-native-linuxapp-gcc -j 1=
10
install
mv /root/tmp/dpdk_share_lib/usr/local/lib /root/shared_lib_dpdk
ll /root/shared_lib_dpdk
cat /root/.bashrc | grep LD_LIBRARY_PATH
sed -i 's#export LD_LIBRARY_PATH=3D.*#export
LD_LIBRARY_PATH=3D/root/shared_lib_dpdk#g' /root/.bashrc

2, Build LTS dpdk23.11.0
rm /root/dpdk
tar zxvf dpdk_abi.tar.gz -C ~
cd ~/dpdk/
rm -rf x86_64-native-linuxapp-gcc
CC=3Dgcc meson -Denable_kmods=3DTrue -Dlibdir=3Dlib  --default-library=3Dsh=
ared
x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc
rm -rf x86_64-native-linuxapp-gcc/lib
rm -rf x86_64-native-linuxapp-gcc/drivers

3, Bind nic
rmmod vfio_pci
rmmod vfio_iommu_type1
rmmod vfio
modprobe vfio
modprobe vfio-pci
usertools/dpdk-devbind.py --force --bind=3Dvfio-pci 0000:18:00.0 0000:1a:00=
.0

4, Launch dpdk-test and run link_bonding_autotest
x86_64-native-linuxapp-gcc/app/dpdk-test -c 0xff -d /root/shared_lib_dpdk -a
0000:18:00.0 -a 0000:1a:00.0
RTE>>link_bonding_autotest

Show the output from the previous commands.
[root@ABI-80 dpdk]# x86_64-native-linuxapp-gcc/app/dpdk-test -c 0xff -d
/root/shared_lib_dpdk -a 0000:18:00.0 -a 0000:1a:00.0
EAL: Detected CPU lcores: 112
EAL: Detected NUMA nodes: 2
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: VFIO support initialized
EAL: Using IOMMU type 1 (Type 1)
EAL: Ignore mapping IO port bar(1)
EAL: Ignore mapping IO port bar(4)
EAL: Probe PCI driver: net_i40e (8086:1583) device: 0000:18:00.0 (socket 0)
i40e_GLQF_reg_init(): i40e device 0000:18:00.0 changed global register
[0x002689a0]. original: 0x00000021, new: 0x00000029
EAL: Ignore mapping IO port bar(1)
EAL: Ignore mapping IO port bar(4)
EAL: Probe PCI driver: net_i40e (8086:1583) device: 0000:1a:00.0 (socket 0)
i40e_GLQF_reg_init(): i40e device 0000:1a:00.0 changed global register
[0x002689a0]. original: 0x00000021, new: 0x00000029
TELEMETRY: No legacy callbacks, legacy socket not created
APP: HPET is not enabled, using TSC as default timer
RTE>>link_bonding_autotest
 + ------------------------------------------------------- +
 + Test Suite : Link Bonding Unit Test Suite
Segmentation fault (core dumped)

[Expected Result]
Test ok.

[Regression]
Is this issue a regression: (Y/N) Y
The first bad commit:
commit d4b9235f95de4f46f368627af256ed8080f20d65
Author: Jerin Jacob <jerinj=
4;marvell.com>
Date:   Thu Jan 18 15:17:42 2024 +0530

    ethdev: add Tx queue used count query

    Introduce a new API to retrieve the number of used descriptors
    in a Tx queue. Applications can leverage this API in the fast path to
    inspect the Tx queue occupancy and take appropriate actions based on the
    available free descriptors.

    A notable use case could be implementing Random Early Discard (RED)
    in software based on Tx queue occupancy.

    Signed-off-by: Jerin Jacob <jerinj@marvell.com>
    Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
    Acked-by: Morten Br=C3=B8rup <mb@smartsharesystems.com>
    Acked-by: Konstantin Ananyev <konstantin.ananyev@huawei.com>
    Reviewed-by: Ferruh Yigit <ferruh.yigit@amd.com>
          


You are receiving this mail because:
  • You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
= --17090903280.18D7DFFe.3496250--