[PATCH v2] app/dma_perf: skip case if worker maps to main lcore

fengchengwen fengchengwen at huawei.com
Wed Jun 24 08:09:10 CEST 2026


Acked-by: Chengwen Feng <fengchengwen at huawei.com>

On 6/24/2026 1:42 PM, Rupesh Chiluka wrote:
> When a configured worker lcore is same as EAL main lcore, the main
> thread calls `rte_eal_remote_launch()` on itself and then waits for
> `worker_info.ready_flag`. The worker function cannot run on the main
> lcore while the main thread is blocked in that loop, and the test hangs.
> 
> Reject such cases early in the `run_test()`.
> 
> Fixes: 623dc9364dc6 ("app/dma-perf: introduce DMA performance test")
> CC: stable at dpdk.org
> 
> Signed-off-by: Rupesh Chiluka <rchiluka at marvell.com>



More information about the dev mailing list