<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 - dma/idxd appends extra characters which makes test-dma-perf to fail."
href="https://bugs.dpdk.org/show_bug.cgi?id=1268">1268</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>dma/idxd appends extra characters which makes test-dma-perf to fail.
</td>
</tr>
<tr>
<th>Product</th>
<td>DPDK
</td>
</tr>
<tr>
<th>Version</th>
<td>23.07
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86
</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>vipin.varghese@amd.com
</td>
</tr>
<tr>
<th>Target Milestone</th>
<td>---
</td>
</tr></table>
<p>
<div class="bz_comment_block">
<pre class="bz_comment_text">Created <span class=""><a href="attachment.cgi?id=256" name="attach_256" title="name change before-after">attachment 256</a> <a href="attachment.cgi?id=256&action=edit" title="name change before-after">[details]</a></span>
name change before-after
setup details:
1. CPU: Intel(R) Xeon(R) Gold 6421N
2. OS: Ubuntu 22.04.2 LTS
3. gcc: gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04.1)
4. DPDk version: `<a href="https://git.dpdk.org/dpdk/tag/?id=v23.07-rc4">https://git.dpdk.org/dpdk/tag/?id=v23.07-rc4</a>`
5. DSA Acceleration: `f2:01.0 System peripheral: Intel Corporation Device 0b25`
6. application: `./build/app/dpdk-test-dma-perf`
7. arguments: `-l8-31 --log-level=pmd,8 -a 0000:f2:01.0 --config
app/test-dma-perf/my.ini`
8. driver used: vfio-pci on PF
INI config file:
```
[case1]
type=DMA_MEM_COPY
mem_size=10
buf_size=64,64,0,ADD
dma_ring_size=1024
kick_batch=32
src_numa_node=0
dst_numa_node=0
cache_flush=0
test_seconds=10
lcore_dma=lcore10@0000:f2:01.0
#lcore_dma=lcore10@0000:00:04.2, lcore11@0000:00:04.3
eal_args=--in-memory --file-prefix=test-dma-hw
```
issue logs:
```
Running scenario 1
Error: Fail to find DMA 0000:f2:01.0.
Not enough dmadevs (0) for all workers (1).
Stopping dmadev 0
dma: Device 0 already stopped.
No proper operation for variable entry.
```
reason for failure: the device name is populated from `idxd_pci.c` as
`0000:f2:01.0-q0`
actions tried:
1. modified by forcing `--proc-type=primary`. same issue
2. modified name in ini `0000:f2:01.0-q0`, worked.
Checking the driver/dma/idxd_pci.c show cases the issue comes because the
application is identified as `RTE_SECONDARY`. attaching screen shot for the
same.
</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=1268">
<meta itemprop="name" content="View bug">
</div>
<meta itemprop="description" content="Bugzilla bug update notification">
</div>
</body>
</html>