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

Jens Freimann jfreimann at redhat.com
Fri Jan 25 13:48:21 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

I don't thing cc stable is required as a76290c8f1cf is only in
v19.02-rc1 and newer.

regards,
Jens 


More information about the dev mailing list