DPDK-dev Archive mirror
 help / color / mirror / Atom feed
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	[thread overview]
Message-ID: <bug-1437-3@http.bugs.dpdk.org/> (raw)

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

                 reply	other threads:[~2024-05-07 10:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-1437-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).