Re: [dpdk-dev] [PATCH] net/virtio: add platform memory ordering feature support

2018-12-14 Thread Ilya Maximets
On 14.12.2018 20:00, Michael S. Tsirkin wrote: > On Fri, Dec 14, 2018 at 06:38:12PM +0300, Ilya Maximets wrote: >> VIRTIO_F_ORDER_PLATFORM is required to use proper memory barriers >> in case of HW vhost implementations like vDPA. >> >> DMA barriers (rte_cio_*) are sufficent for that purpose. >> >>

Re: [dpdk-dev] [PATCH] net/virtio: add platform memory ordering feature support

2018-12-14 Thread Michael S. Tsirkin
On Fri, Dec 14, 2018 at 06:38:12PM +0300, Ilya Maximets wrote: > VIRTIO_F_ORDER_PLATFORM is required to use proper memory barriers > in case of HW vhost implementations like vDPA. > > DMA barriers (rte_cio_*) are sufficent for that purpose. > > Previously known as VIRTIO_F_IO_BARRIER. > > Signed

[dpdk-dev] [PATCH] net/virtio: add platform memory ordering feature support

2018-12-14 Thread Ilya Maximets
VIRTIO_F_ORDER_PLATFORM is required to use proper memory barriers in case of HW vhost implementations like vDPA. DMA barriers (rte_cio_*) are sufficent for that purpose. Previously known as VIRTIO_F_IO_BARRIER. Signed-off-by: Ilya Maximets --- Based on "[RFC] net/virtio: use real barriers for