Re: [PATCH v3] examples/kni: add interrupt mode to receive packets

2022-04-08 Thread Stephen Hemminger
On Fri, 8 Apr 2022 17:12:06 +0800 Tianli Lai wrote: > + if (status[lcore].wakeup) { > + RTE_LOG(INFO, APP, > + "lcore %u sleeps until interrupt triggers\n", > + rte_lcore_id()); > + } Shouldn't the be at DEBUG level. >

[PATCH v3] examples/kni: add interrupt mode to receive packets

2022-04-07 Thread Tianli Lai
kni application have two main-loop threads that they CPU utilization are up to 100 percent, this two theads are writing thread and reading thread. I thank set interrupt mode at reading thread would reduce this thread CPU utilization. Signed-off-by: Tianli Lai --- examples/kni/main.c | 134 ++