On 12/21/20 4:50 PM, Joyce Kong wrote: > Use C11 atomic APIs with one-way barriers to replace two-way > barriers when operating enqueue/dequeue. Used->idx and avail->idx > are the synchronization points for split vring. > > Signed-off-by: Joyce Kong <joyce.k...@arm.com> > Reviewed-by: Ruifeng Wang <ruifeng.w...@arm.com> > --- > examples/vhost/virtio_net.c | 12 ++++-------- > 1 file changed, 4 insertions(+), 8 deletions(-) Nice! Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com> Thanks, Maxime
- [dpdk-dev] [PATCH v1 0/8] replace smp barriers in vhost wi... Joyce Kong
- [dpdk-dev] [PATCH v1 1/8] examples/vhost: relax memor... Joyce Kong
- Re: [dpdk-dev] [PATCH v1 1/8] examples/vhost: rel... Maxime Coquelin
- [dpdk-dev] [PATCH v1 2/8] examples/vhost_blk: replace... Joyce Kong
- Re: [dpdk-dev] [PATCH v1 2/8] examples/vhost_blk:... Maxime Coquelin
- [dpdk-dev] [PATCH v1 3/8] vhost: remove unnecessary s... Joyce Kong
- Re: [dpdk-dev] [PATCH v1 3/8] vhost: remove unnec... Maxime Coquelin
- [dpdk-dev] [PATCH v1 4/8] vhost: remove unnecessary s... Joyce Kong
- Re: [dpdk-dev] [PATCH v1 4/8] vhost: remove unnec... Maxime Coquelin
- [dpdk-dev] [PATCH v1 5/8] vhost: relax full barriers ... Joyce Kong
- Re: [dpdk-dev] [PATCH v1 5/8] vhost: relax full b... Maxime Coquelin
- [dpdk-dev] [PATCH v1 6/8] vhost: relax full barriers ... Joyce Kong
- Re: [dpdk-dev] [PATCH v1 6/8] vhost: relax full b... Maxime Coquelin