<html>
    <head>
      <base href="https://bugs.dpdk.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8" class="bz_new_table">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - [dpdk-24.07] DPDK should adapt ICE DDP package search path on ubuntu24.04?"
   href="https://bugs.dpdk.org/show_bug.cgi?id=1437">1437</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[dpdk-24.07] DPDK should adapt ICE DDP package search path on ubuntu24.04?
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DPDK
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>24.07
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>testpmd
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dev@dpdk.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>yux.jiang@intel.com
          </td>
        </tr>

        <tr>
          <th>Target Milestone</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div class="bz_comment_block">
          <pre class="bz_comment_text">[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.
          </pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
      <div itemscope itemtype="http://schema.org/EmailMessage">
        <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
          
          <link itemprop="url" href="https://bugs.dpdk.org/show_bug.cgi?id=1437">
          <meta itemprop="name" content="View bug">
        </div>
        <meta itemprop="description" content="Bugzilla bug update notification">
      </div>
    </body>
</html>