From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jianbo Liu Subject: Re: [PATCH v2 5/8] eal/arm64: define DMA memory barriers Date: Tue, 16 Jan 2018 10:50:16 +0800 Message-ID: <20180116025015.GC14652@arm.com> References: <20171227042824.33373-1-yskoh@mellanox.com> <20180116011050.18866-1-yskoh@mellanox.com> <20180116011050.18866-6-yskoh@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com, jerin.jacob@caviumnetworks.com, dev@dpdk.org, Thomas Speier To: Yongseok Koh Return-path: Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10082.outbound.protection.outlook.com [40.107.1.82]) by dpdk.org (Postfix) with ESMTP id 6B16CA498 for ; Tue, 16 Jan 2018 03:51:43 +0100 (CET) Content-Disposition: inline In-Reply-To: <20180116011050.18866-6-yskoh@mellanox.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" The 01/15/2018 17:10, Yongseok Koh wrote: > Cc: Thomas Speier > > Signed-off-by: Yongseok Koh > Acked-by: Thomas Speier Acked-by: Jianbo Liu > --- > lib/librte_eal/common/include/arch/arm/rte_atomic_64.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h b/lib= /librte_eal/common/include/arch/arm/rte_atomic_64.h > index b6bbd0b32..202abda79 100644 > --- a/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h > +++ b/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h > @@ -36,6 +36,10 @@ extern "C" { > > #define rte_io_rmb() rte_rmb() > > +#define rte_dma_wmb() dmb(oshst) > + > +#define rte_dma_rmb() dmb(oshld) > + > #ifdef __cplusplus > } > #endif > -- > 2.11.0 > -- IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you.