https://bugs.dpdk.org/show_bug.cgi?id=1386 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: 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=gcc meson -Denable_kmods=True -Dlibdir=lib --default-library=shared x86_64-native-linuxapp-gcc ninja -C x86_64-native-linuxapp-gcc rm -rf /root/tmp/dpdk_share_lib /root/shared_lib_dpdk DESTDIR=/root/tmp/dpdk_share_lib ninja -C x86_64-native-linuxapp-gcc -j 110 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=.*#export LD_LIBRARY_PATH=/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=gcc meson -Denable_kmods=True -Dlibdir=lib --default-library=shared 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=vfio-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ørup Acked-by: Konstantin Ananyev Reviewed-by: Ferruh Yigit -- You are receiving this mail because: You are the assignee for the bug.