net/virtio: use virtio barrier in packed ring
authorTiwei Bie <tiwei.bie@intel.com>
Tue, 22 Jan 2019 17:01:42 +0000 (01:01 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 24 Jan 2019 09:08:31 +0000 (10:08 +0100)
commit18f42d78864836d25bff30714f3bc77eb2c0b67e
tree4cbbe0d3556c6c0f1228a010d6e9aa1e358b43e8
parent45c224e73a3057bf62cb04f83fc1e97457a21ffa
net/virtio: use virtio barrier in packed ring

Always use the virtio variants which support the platform
memory ordering.

Fixes: 9230ab8d7913 ("net/virtio: support platform memory ordering")

Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Acked-by: Ilya Maximets <i.maximets@samsung.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_rxtx.c