On 12/21/20 4:50 PM, Joyce Kong wrote:
> The ordering between avail index and desc reads has been enforced
> by load-acquire for split vring, so smp_rmb barrier is not needed
> behind it.
>
> Signed-off-by: Joyce Kong
> Reviewed-by: Ruifeng Wang
> ---
> lib/librte_vhost/virtio_net.c | 7 ++--
The ordering between avail index and desc reads has been enforced
by load-acquire for split vring, so smp_rmb barrier is not needed
behind it.
Signed-off-by: Joyce Kong
Reviewed-by: Ruifeng Wang
---
lib/librte_vhost/virtio_net.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff
2 matches
Mail list logo