RE: [EXTERNAL] [PATCH] app/crypto-perf: avoid infinite loop

2025-05-21 Thread Akhil Goyal
> The enqueue/dequeue loop's exit condition is > (ops_enqd_total >= total_ops). If the PMD driver cannot process the > ops (returns zero), ops_enqd_total won't increase, resulting in an > infinite loop. A check is added to process one op to determine > whether PMD can process the packet. > > Signe

[PATCH] app/crypto-perf: avoid infinite loop

2025-03-12 Thread Rupesh Chiluka
The enqueue/dequeue loop's exit condition is (ops_enqd_total >= total_ops). If the PMD driver cannot process the ops (returns zero), ops_enqd_total won't increase, resulting in an infinite loop. A check is added to process one op to determine whether PMD can process the packet. Signed-off-by: Rupe