[dpdk-dev] [PATCH v2 10/16] vhost: split enqueue and dequeue flush functions

Gavin Hu (Arm Technology China) Gavin.Hu at arm.com
Wed Sep 25 06:11:24 CEST 2019


Similarly the rte_smp_wmb can be out of and right above the loop. 

> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Marvin Liu
> Sent: Friday, September 20, 2019 12:37 AM
> To: maxime.coquelin at redhat.com; tiwei.bie at intel.com;
> zhihong.wang at intel.com
> Cc: dev at dpdk.org; Marvin Liu <yong.liu at intel.com>
> Subject: [dpdk-dev] [PATCH v2 10/16] vhost: split enqueue and dequeue
> flush functions
> 
> Vhost enqueue descriptors are updated by burst number, while vhost
> dequeue descriptors are buffered. Meanwhile in dequeue function only
> first descriptor is buffered. Due to these differences, split vhost
> enqueue and dequeue flush functions.
> 
> Signed-off-by: Marvin Liu <yong.liu at intel.com>
> 



More information about the dev mailing list