Re: [dpdk-dev] [PATCH v1 3/8] vhost: remove unnecessary smp barrier for desc flags

2021-01-07 Thread Maxime Coquelin
On 12/21/20 4:50 PM, Joyce Kong wrote: > As function desc_is_avail performs a load-acquire barrier to > enforce the ordering between desc flags and desc content, it is > unnecessary to add a rte_smp_rmb barrier around the trace which > follows desc_is_avail. > > Signed-off-by: Joyce Kong > Rev

[dpdk-dev] [PATCH v1 3/8] vhost: remove unnecessary smp barrier for desc flags

2020-12-21 Thread Joyce Kong
As function desc_is_avail performs a load-acquire barrier to enforce the ordering between desc flags and desc content, it is unnecessary to add a rte_smp_rmb barrier around the trace which follows desc_is_avail. Signed-off-by: Joyce Kong Reviewed-by: Ruifeng Wang --- lib/librte_vhost/virtio_net