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

Maxime Coquelin maxime.coquelin at redhat.com
Mon Jan 11 15:15:38 CET 2021



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 <Cheng1.jiang at intel.com>
> Reviewed-by: Jiayu Hu <jiayu.hu at intel.com>
> ---
>  examples/vhost/ioat.c | 24 +++++++++++++-----------
>  1 file changed, 13 insertions(+), 11 deletions(-)
> 

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime



More information about the dev mailing list