[PATCH 0/2] fix the problem of dma-perf infinite loop
huangdengdui
huangdengdui at huawei.com
Mon Mar 24 04:42:51 CET 2025
On 2025/3/21 15:49, David Marchand wrote:
> On Fri, Mar 21, 2025 at 5:03 AM Dengdui Huang <huangdengdui at huawei.com> wrote:
>>
>> After CPU isolation is configured, an infinite loop occurs when
>> dma-perf is executed using the default config file.
>>
>> This patchset fix it.
>>
>> Dengdui Huang (2):
>> eal: fix wake a incorrect lcore
>> app/dma-perf: fix infinite loop
>>
>> app/test-dma-perf/benchmark.c | 5 ++++-
>> lib/eal/unix/eal_unix_thread.c | 3 +++
>> lib/eal/windows/eal_thread.c | 3 +++
>> 3 files changed, 10 insertions(+), 1 deletion(-)
>
> We can make EAL launch API more resilient, but the dma-perf
> application should not post jobs on non sense lcore id, in the first
> place.
> parse_lcore() should be validating that the requested lcore_id is valid.
>
>
OK, I'll add a check to make sure dma-perf uses the correct lcore.
More information about the dev
mailing list