From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ilya Maximets Subject: [PATCH v3 0/3] Missing barriers and VIRTIO_F_ORDER_PLATFORM. Date: Wed, 9 Jan 2019 17:50:12 +0300 Message-ID: <20190109145015.3010-1-i.maximets@samsung.com> References: <20181226163712.31596-1-i.maximets@samsung.com> Content-Type: text/plain; charset="utf-8" Cc: Tiwei Bie , Zhihong Wang , jfreimann@redhat.com, Jason Wang , xiaolong.ye@intel.com, alejandro.lucero@netronome.com, Ilya Maximets To: dev@dpdk.org, Maxime Coquelin , "Michael S . Tsirkin" , Xiao Wang Return-path: Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) by dpdk.org (Postfix) with ESMTP id 054371B483 for ; Wed, 9 Jan 2019 15:50:24 +0100 (CET) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190109145023euoutp018228480fd51767c32810e91d0bc15a66~4NZ2p8CKB2918329183euoutp01S for ; Wed, 9 Jan 2019 14:50:23 +0000 (GMT) In-Reply-To: <20181226163712.31596-1-i.maximets@samsung.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Version 3: * Added 2 patches with fixes for current virtio driver. Not directly connected with the new feature. Version 2: * rebased on current master (packed rings). RFC --> Version 1: * Dropped vendor-specific hack to determine if we need real barriers. * Added VIRTIO_F_ORDER_PLATFORM feature definition and checking. Note: Patch to change the name of the feature from VIRTIO_F_IO_BARRIER to VIRTIO_F_ORDER_PLATFORM is not merged yet: https://www.mail-archive.com/virtio-dev@lists.oasis-open.org/msg04114.html Ilya Maximets (3): net/virtio: add missing barrier before reading the flags net/virtio: update memory ordering comment for vq notify net/virtio: add platform memory ordering feature support drivers/net/virtio/virtio_ethdev.c | 2 ++ drivers/net/virtio/virtio_ethdev.h | 3 +- drivers/net/virtio/virtio_pci.h | 7 ++++ drivers/net/virtio/virtio_rxtx.c | 16 ++++----- drivers/net/virtio/virtqueue.h | 56 +++++++++++++++++++++++------- 5 files changed, 63 insertions(+), 21 deletions(-) -- 2.17.1