<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 - drivers/dma/skeleton/ is not setting pthread affinity based on the lcore shared as arguments"
href="https://bugs.dpdk.org/show_bug.cgi?id=1270">1270</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>drivers/dma/skeleton/ is not setting pthread affinity based on the lcore shared as arguments
</td>
</tr>
<tr>
<th>Product</th>
<td>DPDK
</td>
</tr>
<tr>
<th>Version</th>
<td>23.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>critical
</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">Issue: when using dpdk skeleton DMA with lcore arguments, we expect the
Software DMA to be affinitized to the selected lcore. Currently this is not
working.
Example: `./buildgcc/app/dpdk-test-dma-perf --config app/test-dma-perf/my.ini
--log-level=pmd.dma,8`
Logs:
```
config file parsing...
config file parsing complete.
Running cases...
Running case 1
EAL: Detected CPU lcores: 32
EAL: Detected NUMA nodes: 4
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: No free 2048 kB hugepages reported on node 2
EAL: No free 2048 kB hugepages reported on node 3
skeldma_parse_vdev_args(): Parse lcore_id = 20
skeldma_probe(): Create dma_skeleton dmadev with lcore-id 20
TELEMETRY: No legacy callbacks, legacy socket not created
Number of used lcores: 31.
Running scenario 1
Number of used dmadevs: 1.
Start testing....
lcore 3, DMA dma_skeleton, DMA Ring Size: 1024, Kick Batch Size: 32.
Average Cycles/op: 526, Buffer Size: 64 B, Buffer Number: 81920, Memory: 10.00
MB, Frequency: 3.840 Ghz.
```
Current Behavior: currently dma core is running on free available core.
Configuration:
```
[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=lcore3@dma_skeleton
│·································································
eal_args=--in-memory --vdev=dma_skeleton,lcore=20 --no-pci -l1-31
```
</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=1270">
<meta itemprop="name" content="View bug">
</div>
<meta itemprop="description" content="Bugzilla bug update notification">
</div>
</body>
</html>