Re: [dpdk-dev] [PATCH v8 1/2] examples/vhost: add ioat ring space count and check
From: Maxime Coquelin <hidden>
Date: 2021-01-11 14:15:49
From: Maxime Coquelin <hidden>
Date: 2021-01-11 14:15:49
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 <redacted> Reviewed-by: Jiayu Hu <redacted> --- examples/vhost/ioat.c | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-)
Reviewed-by: Maxime Coquelin <redacted> Thanks, Maxime