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

2021-01-04 Thread Jiang, Cheng1
Hi Jiayu, > -Original Message- > From: Hu, Jiayu > Sent: Tuesday, January 5, 2021 9:20 AM > To: Jiang, Cheng1 ; maxime.coque...@redhat.com; > Xia, Chenbo > Cc: dev@dpdk.org; Yang, YvonneX ; Wang, Yinan > > Subject: RE: [PATCH v6 1/2] examples/vhost: add ioat ring space count and > check

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

2021-01-04 Thread Hu, Jiayu
Hi Cheng, > -Original Message- > From: Jiang, Cheng1 > Sent: Monday, January 4, 2021 12:58 PM > To: maxime.coque...@redhat.com; Xia, Chenbo > Cc: dev@dpdk.org; Hu, Jiayu ; Yang, YvonneX > ; Wang, Yinan ; Jiang, > Cheng1 > Subject: [PATCH v6 1/2] examples/vhost: add ioat ring space count

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

2021-01-03 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 --- examples/vhost/ioat.c | 22 -- 1 file changed,