Re: [dpdk-dev] [PATCH v8 1/2] examples/vhost: add ioat ring space count and check

2021-01-11 Thread Maxime Coquelin
On 1/11/21 6:52 AM, Cheng Jiang wrote: > Add ioat ring space count and check, if ioat ring space is not enough > for the next async vhost packet enqueue, then just return to prevent > enqueue failure. Add rte_ioat_completed_ops() fail handler. > > Signed-off-by: Cheng Jiang > Reviewed-by: Jiay

[dpdk-dev] [PATCH v8 1/2] examples/vhost: add ioat ring space count and check

2021-01-10 Thread Cheng Jiang
Add ioat ring space count and check, if ioat ring space is not enough for the next async vhost packet enqueue, then just return to prevent enqueue failure. Add rte_ioat_completed_ops() fail handler. Signed-off-by: Cheng Jiang Reviewed-by: Jiayu Hu --- examples/vhost/ioat.c | 24 +---