<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-test-dma-perf hang on Ubuntu24.04"
   href="https://bugs.dpdk.org/show_bug.cgi?id=1445">1445</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[dpdk-24.07] dpdk-test-dma-perf hang 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>Linux
          </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>other
          </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 2 CBDMA to vfio-pci driver:

./usertools/dpdk-devbind.py --force --bind=vfio-pci 0000:00:04.0 0000:00:04.1

2.Create test_config.ini
/root/dpdk/test_default_config.ini

root@dut220:~/dpdk# cat /root/dpdk/test_default_config.ini
[case1]
type = DMA_MEM_COPY
mem_size = 10
buf_size = 64,8192,2,MUL
dma_ring_size = 1024
kick_batch = 32
src_numa_node = 0
dst_numa_node = 0
cache_flush = 0
test_seconds = 2
lcore_dma = lcore1@0000:00:04.0,lcore2@0000:00:04.1
eal_args = --in-memory --file-prefix=test

[case2]
type = CPU_MEM_COPY
mem_size = 10
buf_size = 64,8192,2,MUL
src_numa_node = 0
dst_numa_node = 0
cache_flush = 0
test_seconds = 2
lcore = 1,2
eal_args = --in-memory --no-pci

3, launch dma-perf testing
x86_64-native-linuxapp-gcc/app/dpdk-test-dma-perf  --config
/root/dpdk/test_default_config.ini --result /root/dpdk/test_default_config.csv

root@dut220:~/dpdk# x86_64-native-linuxapp-gcc/app/dpdk-test-dma-perf  --config
/root/dpdk/test_default_config.ini
config file parsing...
Transfer direction not configured. Defaulting it to MEM to MEM transfer.
config file parsing complete.

Running cases...

Running case 1

EAL: Detected CPU lcores: 112
EAL: Detected NUMA nodes: 2
EAL: Detected static linkage of DPDK
EAL: Selected IOVA mode 'VA'
EAL: No free 2048 kB hugepages reported on node 0
EAL: No free 2048 kB hugepages reported on node 1
EAL: VFIO support initialized
EAL: Using IOMMU type 1 (Type 1)
EAL: Ignore mapping IO port bar(1)
EAL: Probe PCI driver: dmadev_ioat (8086:2021) device: 0000:00:04.0 (socket 0)
IOAT: ioat_dmadev_probe(): Init 0000:00:04.0 on NUMA node 0
EAL: Ignore mapping IO port bar(1)
EAL: Probe PCI driver: dmadev_ioat (8086:2021) device: 0000:00:04.1 (socket 0)
IOAT: ioat_dmadev_probe(): Init 0000:00:04.1 on NUMA node 0
Number of used lcores: 44.

Running scenario 1
Number of used dmadevs: 2.
Start testing....


[Actual Result]
dpdk-test-dma-perf hang

[Expected Result]
Test OK


[Regression]
Is this issue a regression: (N)
The first time to test on Ubuntu 24.04.
Notes: test passed on Ubuntu22.04.3
          </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=1445">
          <meta itemprop="name" content="View bug">
        </div>
        <meta itemprop="description" content="Bugzilla bug update notification">
      </div>
    </body>
</html>