[dpdk-dev] [PATCH 3/3] net/virtio: add missing read barrier for packed dequeue

Jens Freimann jfreimann at redhat.com
Fri Jan 25 13:44:45 CET 2019


On Thu, Jan 24, 2019 at 07:59:02PM +0300, Ilya Maximets wrote:
>Read barrier is required between reading the flags (desc_is_used)
>and the content of descriptor to ensure the ordering.
>Otherwise, speculative read of desc.id could be reordered with
>reading of the desc.flags.
>
>Fixes: a76290c8f1cf ("net/virtio: implement Rx path for packed queues")
>Cc: stable at dpdk.org
>
>Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
>---
> drivers/net/virtio/virtio_rxtx.c | 1 +
> 1 file changed, 1 insertion(+)
>

Reviewed-by: Jens Freimann <jfreimann at redhat.com>




More information about the dev mailing list