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 F033443FC8; Tue, 7 May 2024 12:27:45 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8159F4327A; Tue, 7 May 2024 12:27:45 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id C833E402C8 for ; Tue, 7 May 2024 12:27:44 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id A608343FC9; Tue, 7 May 2024 12:27:44 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [DPDK/testpmd Bug 1437] [dpdk-24.07] DPDK should adapt ICE DDP package search path on ubuntu24.04? Date: Tue, 07 May 2024 10:27:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: testpmd 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=17150776640.021d.3665957 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 --17150776640.021d.3665957 Date: Tue, 7 May 2024 12:27:44 +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=3D1437 Bug ID: 1437 Summary: [dpdk-24.07] DPDK should adapt ICE DDP package search path on ubuntu24.04? Product: DPDK Version: 24.07 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: testpmd Assignee: dev@dpdk.org Reporter: yux.jiang@intel.com Target Milestone: --- [Environment] DPDK version: 24.07.0-rc0 OS: Ubuntu 24.04 LTS (Noble Numbat); 6.8.0-31-generic Compiler: gcc version 13.2.0 Hardware platform: Intel(R) Xeon(R) Platinum 8380 CPU @ 2.30GHz NIC hardware & NIC firmware:=20 root@dut245:~/dpdk# ethtool -i ens801f0np0 driver: ice version: 6.8.0-31-generic firmware-version: 4.30 0x80019938 1.3403.0 [Test Setup] Steps to reproduce List the steps to reproduce the issue. 1.Bind 1 port to vfio-pci driver: dpdk-devbind.py --force --bind=3Dvfio-pci 0000:4b:00.0 2.Start dpdk-testpmd as the following command: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 5-7 -n 8 -a 0000:4b:00.0 --file-prefix=3Dvhost --vdev 'net_vhost0,iface=3Dvhost-net,queues=3D1'=20 --force-max-simd-bitwidth=3D512 -- -i --nb-cores=3D2 --txd=3D1024 --rxd= =3D1024 dut.10.239.252.245_vhost-user: EAL: Detected CPU lcores: 80 EAL: Detected NUMA nodes: 2 EAL: Detected static linkage of DPDK EAL: Multi-process socket /var/run/dpdk/vhost/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_ice (8086:1592) device: 0000:4b:00.0 (socket 0) ice_load_pkg(): failed to search file path ice_dev_init(): Failed to load the DDP package,Use safe-mode-support=3D1 to= enter Safe Mode EAL: Releasing PCI mapped resource for 0000:4b:00.0 EAL: Calling pci_unmap_resource for 0000:4b:00.0 at 0x2101000000 EAL: Calling pci_unmap_resource for 0000:4b:00.0 at 0x2103000000 EAL: Requested device 0000:4b:00.0 cannot be used EAL: Bus (pci) probe failed. Interactive-mode selected [Trace log] DPDK code: root@dut245:~/dpdk# grep -nr ICE_PKG_FILE_DEFAULT * drivers/net/ice/ice_ethdev.h:50:#define ICE_PKG_FILE_DEFAULT=20 /* DDP package search path */ #define ICE_PKG_FILE_DEFAULT "/lib/firmware/intel/ice/ddp/ice.pkg.zst" #define ICE_PKG_FILE_UPDATES "/lib/firmware/updates/intel/ice/ddp/ice.pkg.z= st" #define ICE_PKG_FILE_SEARCH_PATH_DEFAULT "/lib/firmware/intel/ice/ddp/" #define ICE_PKG_FILE_SEARCH_PATH_UPDATES "/lib/firmware/updates/intel/ice/d= dp/" Server's actual file name as below: root@dut245:~/dpdk# ll /lib/firmware/intel/ice/ddp/ total 40 drwxr-xr-x 2 root root 4096 May 7 10:55 ./ drwxr-xr-x 6 root root 4096 May 7 10:55 ../ -rw-r--r-- 1 root root 30847 Apr 9 22:14 ice-1.3.36.0.pkg.zst lrwxrwxrwx 1 root root 20 Apr 9 22:14 ice.pkg.zst -> ice-1.3.36.0.pkg.z= st root@dut245:~/dpdk# [Expected Result] Start dpdk-testpmd successed and no error info.=20 [Regression] Is this issue a regression: (N) The first time to test on Ubuntu 24.04. --=20 You are receiving this mail because: You are the assignee for the bug.= --17150776640.021d.3665957 Date: Tue, 7 May 2024 12:27:44 +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 1437
Summary [dpdk-24.07] DPDK should adapt ICE DDP package search path on= ubuntu24.04?
Product DPDK
Version 24.07
Hardware All
OS All
Status UNCONFIRMED
Severity normal
Priority Normal
Component testpmd
Assignee dev@dpdk.org
Reporter yux.jiang@intel.com
Target Milestone ---

[Environment]

DPDK version: 24.07.0-rc0
OS: Ubuntu 24.04 LTS (Noble Numbat); 6.8.0-31-generic
Compiler: gcc version 13.2.0
Hardware platform: Intel(R) Xeon(R) Platinum 8380 CPU @ 2.30GHz
NIC hardware & NIC firmware:=20
    root@dut245:~/dpdk# ethtool -i ens801f0np0
    driver: ice
    version: 6.8.0-31-generic
    firmware-version: 4.30 0x80019938 1.3403.0

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

1.Bind 1 port to vfio-pci driver:

dpdk-devbind.py --force --bind=3Dvfio-pci 0000:4b:00.0

2.Start dpdk-testpmd as the following command:

x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 5-7 -n 8 -a 0000:4b:00.0
--file-prefix=3Dvhost --vdev 'net_vhost0,iface=3Dvhost-net,queues=3D1'=20
--force-max-simd-bitwidth=3D512   -- -i --nb-cores=3D2 --txd=3D1024 --rxd=
=3D1024
dut.10.239.252.245_vhost-user: EAL: Detected CPU lcores: 80
EAL: Detected NUMA nodes: 2
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/vhost/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_ice (8086:1592) device: 0000:4b:00.0 (socket 0)
ice_load_pkg(): failed to search file path

ice_dev_init(): Failed to load the DDP package,Use safe-mode-support=3D1 to=
 enter
Safe Mode
EAL: Releasing PCI mapped resource for 0000:4b:00.0
EAL: Calling pci_unmap_resource for 0000:4b:00.0 at 0x2101000000
EAL: Calling pci_unmap_resource for 0000:4b:00.0 at 0x2103000000
EAL: Requested device 0000:4b:00.0 cannot be used
EAL: Bus (pci) probe failed.
Interactive-mode selected


[Trace log]
DPDK code:
root@dut245:~/dpdk# grep -nr ICE_PKG_FILE_DEFAULT *
drivers/net/ice/ice_ethdev.h:50:#define ICE_PKG_FILE_DEFAULT=20

/* DDP package search path */
#define ICE_PKG_FILE_DEFAULT "/lib/firmware/intel/ice/ddp/ice.pkg.zst&=
quot;
#define ICE_PKG_FILE_UPDATES "/lib/firmware/updates/intel/ice/ddp/ice.=
pkg.zst"
#define ICE_PKG_FILE_SEARCH_PATH_DEFAULT "/lib/firmware/intel/ice/ddp/=
"
#define ICE_PKG_FILE_SEARCH_PATH_UPDATES "/lib/firmware/updates/intel/=
ice/ddp/"


Server's actual file name as below:
root@dut245:~/dpdk# ll /lib/firmware/intel/ice/ddp/
total 40
drwxr-xr-x 2 root root  4096 May  7 10:55 ./
drwxr-xr-x 6 root root  4096 May  7 10:55 ../
-rw-r--r-- 1 root root 30847 Apr  9 22:14 ice-1.3.36.0.pkg.zst
lrwxrwxrwx 1 root root    20 Apr  9 22:14 ice.pkg.zst -> ice-1.3.36.0.pk=
g.zst
root@dut245:~/dpdk#

[Expected Result]
Start dpdk-testpmd successed and no error info.=20


[Regression]
Is this issue a regression: (N)
The first time to test on Ubuntu 24.04.
          


You are receiving this mail because:
  • You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
= --17150776640.021d.3665957--