Re: [dpdk-dev] [PATCH v3 2/2] virtio: one way barrier for packed vring desc used flags

2019-09-09 Thread Maxime Coquelin
On 9/9/19 11:14 AM, Joyce Kong wrote: > In case VIRTIO_F_ORDER_PLATFORM(36) is not negotiated, then the frontend > and backend are assumed to be implemented in software, that is they can > run on identical CPUs in an SMP configuration. > Thus a weak form of memory barriers like rte_smp_r/wmb, ot

[dpdk-dev] [PATCH v3 2/2] virtio: one way barrier for packed vring desc used flags

2019-09-09 Thread Joyce Kong
In case VIRTIO_F_ORDER_PLATFORM(36) is not negotiated, then the frontend and backend are assumed to be implemented in software, that is they can run on identical CPUs in an SMP configuration. Thus a weak form of memory barriers like rte_smp_r/wmb, other than rte_cio_r/wmb, is sufficient for this ca