<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 - [dpdk24.03] cbdma: Failed to launch dpdk-dma app"
href="https://bugs.dpdk.org/show_bug.cgi?id=1387">1387</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[dpdk24.03] cbdma: Failed to launch dpdk-dma app
</td>
</tr>
<tr>
<th>Product</th>
<td>DPDK
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>examples
</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:
92c0ad70ca (HEAD -> main, tag: v24.03-rc1, origin/main, origin/HEAD) version:
24.03-rc1
Other software versions: name/version for QEMU, OVS, etc. Repeat as required.
OS: Ubuntu 22.04.3 LTS/5.15.0-92-generic
Compiler: gcc version 11.4.0
Hardware platform: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
NIC hardware: Ethernet Controller E810-C for QSFP 1592
NIC firmware:
driver: ice
version: 1.13.7
firmware-version: 4.40 0x8001c967 1.3534.0
[Test Setup]
Steps to reproduce
List the steps to reproduce the issue.
1, Build app
rm -rf x86_64-native-linuxapp-gcc
CC=gcc meson -Denable_kmods=True -Dlibdir=lib --default-library=static
x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc -j 100 meson configure -Dexamples=dma
x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc
ls x86_64-native-linuxapp-gcc/examples/dpdk-dma
2, Bind nic and dma to vfio-pci
./usertools/dpdk-devbind.py --force --bind=vfio-pci 0000:4b:00.0 0000:00:01.0
3, Launch app
x86_64-native-linuxapp-gcc/examples/dpdk-dma -l 5-6 -n 8 -a 0000:4b:00.0 -a
0000:00:01.0 --file-prefix=cbdma_690149_20240219131328
--proc-type=primary -- -p 0x1 -q 1 --mac-updating -c hw
Show the output from the previous commands:
x86_64-native-linuxapp-gcc/examples/dpdk-dma -l 5-6 -n 8 -a 0000:4b:00.0 -a
0000:00:01.0 --file-prefix=cbdma_690149_20240219131328
--proc-type=primary -- -p 0x1 -q 1 --mac-updating -c hw
Exception happened in [x86_64-native-linuxapp-gcc/examples/dpdk-dma -l 5-6 -n
8 -a 0000:4b:00.0 -a 0000:00:01.0 --file-prefix=cbdma_690149_20240219131328
--proc-type=primary -- -p 0x1 -q 1 --mac-updating -c hw] and output is [EAL:
Detected CPU lcores: 80
EAL: Detected NUMA nodes: 2
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/cbdma_690149_20240219131328/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: 4096 hugepages of size 2097152 reserved, but no mounted hugetlbfs found
for that size
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:0b00) device: 0000:00:01.0 (socket 0)
IOAT: ioat_dmadev_probe(): Init 0000:00:01.0 on NUMA node 0
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_type(): Active package is: 1.3.36.0, ICE OS Default Package
(double VLAN mode)
Invalid max frame size, 0.
EAL: Error - exiting with code: 1
Cause: Invalid DMA arguments
IOAT: ioat_dmadev_remove(): Closing 0000:00:01.0 on NUMA node 0]
[Expected Result]
Launch app successfully
[Regression]
Is this issue a regression: (Y/N) Y
Version the regression was introduced:
commit 8d85afb19af706de662e7ee686e6e437f835c6e3
Author: Chengwen Feng <<a href="mailto:fengchengwen@huawei.com">fengchengwen@huawei.com</a>>
Date: Fri Jan 26 06:10:13 2024 +0000
examples/dma: replace getopt with argparse
Replace getopt with argparse.
Signed-off-by: Chengwen Feng <<a href="mailto:fengchengwen@huawei.com">fengchengwen@huawei.com</a>>
</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=1387">
<meta itemprop="name" content="View bug">
</div>
<meta itemprop="description" content="Bugzilla bug update notification">
</div>
</body>
</html>