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 EE1F2432E3; Thu, 9 Nov 2023 10:22:16 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8916A40267; Thu, 9 Nov 2023 10:22:16 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id DB95E4021F for ; Thu, 9 Nov 2023 10:22:14 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id B7CFD432E4; Thu, 9 Nov 2023 10:22:14 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 1311] [dpdk-23.11] vhost_virtio_user_interrupt_with_power_monitor: Launch dpdk-l3fwd-power core dumped on SPR Date: Thu, 09 Nov 2023 09:22:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: vhost/virtio X-Bugzilla-Version: 23.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: linglix.chen@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=16995217340.E4f1eEae4.319553 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 --16995217340.E4f1eEae4.319553 Date: Thu, 9 Nov 2023 10:22:14 +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=3D1311 Bug ID: 1311 Summary: [dpdk-23.11] vhost_virtio_user_interrupt_with_power_monitor: Launch dpdk-l3fwd-power core dumped on SPR Product: DPDK Version: 23.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: vhost/virtio Assignee: dev@dpdk.org Reporter: linglix.chen@intel.com Target Milestone: --- [Environment] DPDK version: dpdk 23.11-rc1: 5f9426b061 OS: Ubuntu 22.04.3 LTS/5.15.0-84-generic Compiler: gcc version 11.4.0 Hardware platform: SPR(Intel(R) Xeon(R) Platinum 8490H) NIC hardware: Ethernet Controller E810-C for QSFP 1592 NIC firmware: 4.40 0x8001c2f1 1.3492.0 NIC kdriver: ice-1.13.0_rc99_4_gb8ad35697 [Test Setup] Steps to reproduce 1. ssh root@dpdk-yingya-spr2 =C2=A0 2.bind NIC port to vfio-pci, =C2=A0 ./usertools/dpdk-devbind.py -b vfio-pci 45:00.0 3. Launch vhost by below command::=20 ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --file-prefix=3Dv= host --vdev 'net_vhost0,iface=3D./vhost-net,queues=3D1' -- -i --rxq=3D1 --txq=3D1 4. Launch virtio with l3fwd-power:: =C2=A0 =C2=A0 =C2=A0 ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power -l 3-4 -n 4 --no-pci --file-prefix=3Dl3fwd-power --vdev=3Dvirtio_user0,path=3D./vhost-net --log-level=3D'user1,7' -- -p 1 --config=3D"(0,0,4)" --parse-ptype --pmd-mgmt=3Dmonitor [Show the output from the previous commands] EAL: Detected CPU lcores: 128 EAL: Detected NUMA nodes: 2 EAL: Detected static linkage of DPDK EAL: Multi-process socket /var/run/dpdk/l3fwd-power/mp_socket EAL: Selected IOVA mode 'VA' EAL: VFIO support initialized virtio_user_dev_init_mac(): (./vhost-net) No valid MAC in devargs or device, use random soft parse-ptype is enabled PMD power mgmt mode is enabled L3FWD_POWER: Selected operation mode: pmd mgmt Initializing port 0 ... Creating queues: nb_rxq=3D1 nb_txq=3D1... Port 0 mo= dified RSS hash function based on hardware support,requested:0x20820 configured:0 Address:06:8F:52:89:DE:C0, Allocated mbuf pool on socket 0 LPM: Adding route 0x01010100 / 24 (0) LPM: Adding route 0x02010100 / 24 (1) LPM: Adding route 0x03010100 / 24 (2) LPM: Adding route 0x04010100 / 24 (3) LPM: Adding route 0x05010100 / 24 (4) LPM: Adding route 0x06010100 / 24 (5) LPM: Adding route 0x07010100 / 24 (6) LPM: Adding route 0x08010100 / 24 (7) txq=3D3,0,0 Initializing rx queues on lcore 3 ... Initializing rx queues on lcore 4 ... rxq=3D0,0,0 Port 0: softly parse pack= et type info Checking link statusdone Port 0 Link up at Unknown FDX Autoneg L3FWD_POWER: entering main telemetry loop on lcore 4 L3FWD_POWER: -- lcoreid=3D4 portid=3D0 rxqueueid=3D0 L3FWD_POWER: lcore 3 has nothing to do Segmentation fault (core dumped) [Expected Result] Launch dpdk-l3fwd-power normal. Regression Is this issue a regression: (Y/N) Y First bad commit 60943c04f3bcd0ed32a9844993d1182c917b978b=C2=A0 Author: Tyler Retzlaff Date:=C2=A0 =C2=A0Fri Aug 11 12:20:47 2023 -0700 =C2=A0 =C2=A0 eal/x86: use intrinsics for power management =C2=A0 =C2=A0 Inline assembly is not supported for MSVC x64 instead use _um= onitor, =C2=A0 =C2=A0 _umwait and _tpause intrinsics. =C2=A0 =C2=A0 Signed-off-by: Tyler Retzlaff =C2=A0 =C2=A0 Acked-by: Morten Br=C3=B8rup =C2=A0 =C2=A0 Acked-by: Konstantin Ananyev test on SPR only The bad commit 60943c04f3 will build failed, fixed commit ac1d4db91e (eal/x= 86: fix build on systems with WAITPKG) --=20 You are receiving this mail because: You are the assignee for the bug.= --16995217340.E4f1eEae4.319553 Date: Thu, 9 Nov 2023 10:22:14 +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 1311
Summary [dpdk-23.11] vhost_virtio_user_interrupt_with_power_monitor: = Launch dpdk-l3fwd-power core dumped on SPR
Product DPDK
Version 23.11
Hardware All
OS All
Status UNCONFIRMED
Severity normal
Priority Normal
Component vhost/virtio
Assignee dev@dpdk.org
Reporter linglix.chen@intel.com
Target Milestone ---

[Environment]
DPDK version: dpdk 23.11-rc1: 5f9426b061
OS: Ubuntu 22.04.3 LTS/5.15.0-84-generic
Compiler: gcc version 11.4.0
Hardware platform: SPR(Intel(R) Xeon(R) Platinum 8490H)
NIC hardware: Ethernet Controller E810-C for QSFP 1592
NIC firmware: 4.40 0x8001c2f1 1.3492.0
NIC kdriver: ice-1.13.0_rc99_4_gb8ad35697

[Test Setup]
Steps to reproduce
1. ssh root@dpdk-yingya-spr2 =C2=A0

2.bind NIC port to vfio-pci, =C2=A0
./usertools/dpdk-devbind.py -b vfio-pci 45:00.0

3. Launch vhost by below command::=20
./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --file-prefix=3Dv=
host
--vdev 'net_vhost0,iface=3D./vhost-net,queues=3D1' -- -i --rxq=3D1 --txq=3D1

4. Launch virtio with l3fwd-power:: =C2=A0 =C2=A0 =C2=A0
 ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power -l 3-4 -n 4 --no-pci
--file-prefix=3Dl3fwd-power --vdev=3Dvirtio_user0,path=3D./vhost-net
--log-level=3D'user1,7' -- -p 1 --config=3D"(0,0,4)" --parse-ptype
--pmd-mgmt=3Dmonitor

[Show the output from the previous commands]
EAL: Detected CPU lcores: 128
EAL: Detected NUMA nodes: 2
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/l3fwd-power/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: VFIO support initialized
virtio_user_dev_init_mac(): (./vhost-net) No valid MAC in devargs or device,
use random
soft parse-ptype is enabled
PMD power mgmt mode is enabled
L3FWD_POWER: Selected operation mode: pmd mgmt
Initializing port 0 ... Creating queues: nb_rxq=3D1 nb_txq=3D1... Port 0 mo=
dified
RSS hash function based on hardware support,requested:0x20820 configured:0
 Address:06:8F:52:89:DE:C0, Allocated mbuf pool on socket 0
LPM: Adding route 0x01010100 / 24 (0)
LPM: Adding route 0x02010100 / 24 (1)
LPM: Adding route 0x03010100 / 24 (2)
LPM: Adding route 0x04010100 / 24 (3)
LPM: Adding route 0x05010100 / 24 (4)
LPM: Adding route 0x06010100 / 24 (5)
LPM: Adding route 0x07010100 / 24 (6)
LPM: Adding route 0x08010100 / 24 (7)
txq=3D3,0,0

Initializing rx queues on lcore 3 ...
Initializing rx queues on lcore 4 ... rxq=3D0,0,0 Port 0: softly parse pack=
et
type info

Checking link statusdone
Port 0 Link up at Unknown FDX Autoneg
L3FWD_POWER: entering main telemetry loop on lcore 4
L3FWD_POWER:  -- lcoreid=3D4 portid=3D0 rxqueueid=3D0
L3FWD_POWER: lcore 3 has nothing to do
Segmentation fault (core dumped)

[Expected Result]
Launch dpdk-l3fwd-power normal.

Regression
Is this issue a regression: (Y/N) Y

First bad commit 60943c04f3bcd0ed32a9844993d1182c917b978b=C2=A0

Author: Tyler Retzlaff <roretzla@linux.microsoft.com>
Date:=C2=A0 =C2=A0Fri Aug 11 12:20:47 2023 -0700


=C2=A0 =C2=A0 eal/x86: use intrinsics for power management


=C2=A0 =C2=A0 Inline assembly is not supported for MSVC x64 instead use _um=
onitor,
=C2=A0 =C2=A0 _umwait and _tpause intrinsics.


=C2=A0 =C2=A0 Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
=C2=A0 =C2=A0 Acked-by: Morten Br=C3=B8rup <mb@smartsharesystems.com>
=C2=A0 =C2=A0 Acked-by: Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>


test on SPR only
The bad commit 60943c04f3 will build failed, fixed commit ac1d4db91e (eal/x=
86:
fix build on systems with WAITPKG)
          


You are receiving this mail because:
  • You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
= --16995217340.E4f1eEae4.319553--