DPDK patches and discussions
 help / color / mirror / Atom feed
* [DPDK/testpmd Bug 1437] [dpdk-24.07] DPDK should adapt ICE DDP package search path on ubuntu24.04?
@ 2024-05-07 10:27 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2024-05-07 10:27 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 3261 bytes --]

https://bugs.dpdk.org/show_bug.cgi?id=1437

            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: 
    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=vfio-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=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1' 
--force-max-simd-bitwidth=512   -- -i --nb-cores=2 --txd=1024 --rxd=1024
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=1 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 

/* 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.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.pkg.zst
root@dut245:~/dpdk#

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


[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.

[-- Attachment #2: Type: text/html, Size: 5209 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-05-07 10:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-07 10:27 [DPDK/testpmd Bug 1437] [dpdk-24.07] DPDK should adapt ICE DDP package search path on ubuntu24.04? bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).