Re: [dpdk-dev] [PATCH v6 08/13] vhost: flush batched enqueue descs directly

2019-10-16 Thread Maxime Coquelin
On 10/15/19 6:07 PM, Marvin Liu wrote: > Flush used elements when batched enqueue function is finished. > Descriptor's flags are pre-calculated as they will be reset by vhost. > > Signed-off-by: Marvin Liu > Reviewed-by: Gavin Hu > Reviewed-by: Maxime Coquelin

[dpdk-dev] [PATCH v6 08/13] vhost: flush batched enqueue descs directly

2019-10-15 Thread Marvin Liu
Flush used elements when batched enqueue function is finished. Descriptor's flags are pre-calculated as they will be reset by vhost. Signed-off-by: Marvin Liu Reviewed-by: Gavin Hu diff --git a/lib/librte_vhost/vhost.h b/lib/librte_vhost/vhost.h index a60b88d89..bf3c30f43 100644 --- a/lib/librt