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 431DC4563C; Thu, 18 Jul 2024 05:42:41 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 30B4E402A9; Thu, 18 Jul 2024 05:42:41 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id A00DE40275 for ; Thu, 18 Jul 2024 05:42:40 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 8EEC34563E; Thu, 18 Jul 2024 05:42:40 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [DPDK/eventdev Bug 1497] [dpdk-24.07] [ABI][meson test] driver-tests/event_dma_adapter_autotest test hang when do ABI testing Date: Thu, 18 Jul 2024 03:42:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: eventdev X-Bugzilla-Version: 24.07 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=17212741600.b2aB2e.1452629 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 --17212741600.b2aB2e.1452629 Date: Thu, 18 Jul 2024 05:42:40 +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=3D1497 Bug ID: 1497 Summary: [dpdk-24.07] [ABI][meson test] driver-tests/event_dma_adapter_autotest test hang when do ABI testing Product: DPDK Version: 24.07 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: eventdev Assignee: dev@dpdk.org Reporter: yux.jiang@intel.com Target Milestone: --- [Environment] DPDK version: 24.07.0-rc2 DPDK ABI version: 23.11.0 OS: RHEL9.0/5.14.0-70.13.1.el9_0.x86_64 Compiler: gcc version 11.2.1 20220127 (Red Hat 11.2.1-9) Hardware platform: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz [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, Launch dpdk-test and run event_dma_adapter_autotest MALLOC_PERTURB_=3D132 DPDK_TEST=3Devent_dma_adapter_autotest /root/dpdk/x86_64-native-linuxapp-gcc/app/dpdk-test -c 0xff -d /root/shared_lib_dpdk --vdev=3Ddma_skeleton Show the output from the previous commands. [root@ABI-80 dpdk]# MALLOC_PERTURB_=3D132 DPDK_TEST=3Devent_dma_adapter_aut= otest /root/dpdk/x86_64-native-linuxapp-gcc/app/dpdk-test -c 0xff -d /root/shared_lib_dpdk --vdev=3Ddma_skeleton 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 skeldma_probe(): Create dma_skeleton dmadev with lcore-id -1 APP: HPET is not enabled, using TSC as default timer RTE>>event_dma_adapter_autotest + ------------------------------------------------------- + + Test Suite : Event dma adapter test suite + ------------------------------------------------------- + + TestCase [ 0] : test_dma_adapter_create succeeded + TestCase [ 1] : test_dma_adapter_vchan_add_del succeeded +------------------------------------------------------+ + DMA adapter stats for instance 0: + Event port poll count 0x0 + Event dequeue count 0x0 + DMA dev enqueue count 0x0 + DMA dev enqueue failed count 0x0 + DMA dev dequeue count 0x0 + Event enqueue count 0x0 + Event enqueue retry count 0x0 + Event enqueue fail count 0x0 +------------------------------------------------------+ + TestCase [ 2] : test_dma_adapter_stats succeeded + TestCase [ 3] : test_dma_adapter_params succeeded [Expected Result] Test ok. [Regression] Is this issue a regression: (Y/N) Y The first bad commit: commit 588dcac2361011556934166d93da62dae712ce69 Author: Pavan Nikhilesh Date: Fri Jun 7 16:06:25 2024 +0530 eventdev/dma: reorganize event DMA ops Re-organize event DMA ops structure to allow holding source and destination pointers without the need for additional memory, the mempool allocating memory for rte_event_dma_adapter_ops can size the structure to accommodate all the needed source and destination pointers. Add multiple words for holding user metadata, adapter implementation specific metadata and event metadata. Signed-off-by: Pavan Nikhilesh Acked-by: Amit Prakash Shukla -----------Note--------- Based on dpdk24.07-rc2 which includes https://bugs.dpdk.org/show_bug.cgi?id=3D1469's fix patch, also test hang. Please confirm it need fix or not on ABI compatibility testing or it needn't test for ABI compatibility testing. Thanks. --=20 You are receiving this mail because: You are the assignee for the bug.= --17212741600.b2aB2e.1452629 Date: Thu, 18 Jul 2024 05:42:40 +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
Bug ID 1497
Summary [dpdk-24.07] [ABI][meson test] driver-tests/event_dma_adapter= _autotest test hang when do ABI testing
Product DPDK
Version 24.07
Hardware All
OS All
Status UNCONFIRMED
Severity normal
Priority Normal
Component eventdev
Assignee dev@dpdk.org
Reporter yux.jiang@intel.com
Target Milestone ---

[Environment]

DPDK version: 24.07.0-rc2
DPDK ABI version: 23.11.0
OS: RHEL9.0/5.14.0-70.13.1.el9_0.x86_64
Compiler: gcc version 11.2.1 20220127 (Red Hat 11.2.1-9)
Hardware platform: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz


[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, Launch dpdk-test and run event_dma_adapter_autotest
MALLOC_PERTURB_=3D132 DPDK_TEST=3Devent_dma_adapter_autotest
/root/dpdk/x86_64-native-linuxapp-gcc/app/dpdk-test -c 0xff -d
/root/shared_lib_dpdk --vdev=3Ddma_skeleton


Show the output from the previous commands.
[root@ABI-80 dpdk]# MALLOC_PERTURB_=3D132 DPDK_TEST=3Devent_dma_adapter=
_autotest
/root/dpdk/x86_64-native-linuxapp-gcc/app/dpdk-test -c 0xff -d
/root/shared_lib_dpdk --vdev=3Ddma_skeleton
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
skeldma_probe(): Create dma_skeleton dmadev with lcore-id -1
APP: HPET is not enabled, using TSC as default timer
RTE>>event_dma_adapter_autotest
 + ------------------------------------------------------- +
 + Test Suite : Event dma adapter test suite
 + ------------------------------------------------------- +
 + TestCase [ 0] : test_dma_adapter_create succeeded
 + TestCase [ 1] : test_dma_adapter_vchan_add_del succeeded
 +------------------------------------------------------+
 + DMA adapter stats for instance 0:
 + Event port poll count         0x0
 + Event dequeue count           0x0
 + DMA dev enqueue count         0x0
 + DMA dev enqueue failed count  0x0
 + DMA dev dequeue count         0x0
 + Event enqueue count           0x0
 + Event enqueue retry count     0x0
 + Event enqueue fail count      0x0
 +------------------------------------------------------+
 + TestCase [ 2] : test_dma_adapter_stats succeeded
 + TestCase [ 3] : test_dma_adapter_params succeeded

[Expected Result]
Test ok.

[Regression]
Is this issue a regression: (Y/N) Y
The first bad commit:
commit 588dcac2361011556934166d93da62dae712ce69
Author: Pavan Nikhilesh <pbhagavatula@marvell.com>
Date:   Fri Jun 7 16:06:25 2024 +0530

    eventdev/dma: reorganize event DMA ops

    Re-organize event DMA ops structure to allow holding
    source and destination pointers without the need for
    additional memory, the mempool allocating memory for
    rte_event_dma_adapter_ops can size the structure to
    accommodate all the needed source and destination
    pointers.

    Add multiple words for holding user metadata, adapter
    implementation specific metadata and event metadata.

    Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
    Acked-by: Amit Prakash Shukla <amitprakashs@marvell.com>

-----------Note---------
Based on dpdk24.07-rc2 which includes
https://bugs.dpdk.=
org/show_bug.cgi?id=3D1469's fix patch, also test hang.

Please confirm it need fix or not on ABI compatibility testing or it needn't
test for ABI compatibility testing. Thanks.
          


You are receiving this mail because:
  • You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
= --17212741600.b2aB2e.1452629--