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 <[email protected]>
> Reviewed-by: Ruifeng Wang <[email protected]>
> ---
>  examples/vhost/virtio_net.c | 12 ++++--------
>  1 file changed, 4 insertions(+), 8 deletions(-)

Nice!

Reviewed-by: Maxime Coquelin <[email protected]>

Thanks,
Maxime

Reply via email to