Re: [dpdk-dev] [PATCH v1 2/8] examples/vhost_blk: replace smp with thread fence

2021-01-07 Thread Maxime Coquelin
On 12/21/20 4:50 PM, Joyce Kong wrote: > Simply replace the rte_smp_mb barriers with SEQ_CST atomic thread fence, > if there is no load/store operations. > > Signed-off-by: Joyce Kong > Reviewed-by: Ruifeng Wang > --- > examples/vhost_blk/vhost_blk.c | 8 > 1 file changed, 4 inserti

[dpdk-dev] [PATCH v1 2/8] examples/vhost_blk: replace smp with thread fence

2020-12-21 Thread Joyce Kong
Simply replace the rte_smp_mb barriers with SEQ_CST atomic thread fence, if there is no load/store operations. Signed-off-by: Joyce Kong Reviewed-by: Ruifeng Wang --- examples/vhost_blk/vhost_blk.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/vhost_blk/vh