From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0056.outbound.protection.outlook.com [104.47.40.56]) by dpdk.org (Postfix) with ESMTP id 91545F957 for ; Tue, 17 Jan 2017 08:15:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=RuZAF5wIjUzt/6tG3WEKMxY8h+l9z9rZaIJldX5kBzc=; b=DiHlik+qg7hONYp/5tppEbIPfcO1QVKIJSUgJbMaKLtIx6lyT7MXzXWQrc41TsVinK9TcGR4pYh9tjfLWUY3ywIP70Ytgy+9+Wiaag9vj1MFipMlmbWvH0xX8AGIMgfZ1kjPasxhWMqqJNPwORNhkZItSsKN6wsv5jWn1lGwef8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.caveonetworks.com (111.93.218.67) by BY1PR0701MB1724.namprd07.prod.outlook.com (10.162.111.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Tue, 17 Jan 2017 07:15:13 +0000 From: Jerin Jacob To: CC: , , , , , , Jerin Jacob Date: Tue, 17 Jan 2017 12:43:44 +0530 Message-ID: <1484637244-7548-10-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1484637244-7548-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1484212646-10338-1-git-send-email-jerin.jacob@caviumnetworks.com> <1484637244-7548-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0030.INDPRD01.PROD.OUTLOOK.COM (10.164.137.37) To BY1PR0701MB1724.namprd07.prod.outlook.com (10.162.111.143) X-MS-Office365-Filtering-Correlation-Id: 9ffd7c69-6278-4fd5-6a2b-08d43ea89613 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BY1PR0701MB1724; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 3:KAg3f+QcnzJLa6+t2x/2upsWXan3bOUv81BFc3Zur35LOJS9YTMgHiyGdCulOr6OFJ+tRMJ5Pm2PeI9wR33pz2CjqZahIjPA051a5XRgeqK9rtcpsfK1q1zPE8oFUlzS6QTl6UBihTFHW9iSXXm6Ewhg2WgmhOr4uTYXA5kBjuvEBGO61NbrlZ0mr1IIrI4Cw4IpnCnuG/jFoR7kGwqXOPkq/If8qNZEQgsbP4g1tHYwxick6zmFAfZB8PRRTDu4cIzICiwb6wiz3jqi6gRiIg==; 25:z+MBFiOER7jz0SXCKDYBKc58FCxbb0i25PIDQkluZAmI6F3gnw72HydZgJqOLCbVfluTqXjOr7hAX5U5pEek0L/1xXr8VkYMO5614WqpSUo8yDTcyD3mA0BWdkIoQE6WvVnKisoeoIVxdaAedgh4EPtGE2K2fSqGSCDY8+ScOt7Sr05W33cRc/rD8HLf/hoEv0rmHbGGESUpkuRKqY1BM9Q412B4MteGEm1p1qPjd7XJ6wUb4cFMSCXBh957YN84SJHeN+HsbtYMM7o395mXcHfWGY3krInZI4B7m3OGDuGGjaV7NZkuPOiNthW3lnY0ACrbf/CrKgLnlN7fU2upP1iiaiUJllYGH3hNxVb5D3mf/FIQCSW226jusdkc6K+P+GMs8Oc4zr+eb2rgziPTOOvUXfT9BZ91FCsnEB5P6ZcOCYRWtbw2NuYICX4Ir2N23XS7PvL2s0OGqWWQgzzYgg== X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 31:EKCpcZEtFFQEPYToMqXhGonlHUCP7x3Vvf7Wp0bcj8oy+dOaREiuFxinV11HghNpREHkL8Cn9JqkuPkj/tuLUWVPimHKYee0E48VxTGJxe62OYZtcHkNY8IQNAGxmNhnlxV1G4/pg0TXhDg8sl5zBHfS0FIHXnCzr1+8i+61epQwj9yOjdJd2mFkhwRekL3cRYMKok73S7s021bP9KP4+DectNA7wIkRcwDRfg0HCYuIGOIiU7WBPWZr7eqEqIhM/6wyXXFdM7A2VTbcvL8jPw==; 20:iWLEVql1dYOwaZPlIdEInMXwIEkhlTGe+qYhYuL9TArREKKLm6V6OUBuq8cRFVpxPXmDADhAAQ51hSGZV4jFF0FjSd7BMQnzTb/xyst4qbWXuzG96vt67iABg+InkmxxB4uJhAdq2H/R4XTAeOFLL07GSMmGfyCvbz6JtnQio2cJFNjmXsfADdHuSMshaeZE/nX1eFi/nBtBlKCsbFlZGbmITQC1jzm9W2dBMH+unCkXZKmedwQonJBeDf8n5sUGo+N/0qKHgYUWHiHSIoS/FbgJ2/kpo705FfwzKQnvwKfn+6O3P0rr4VCX8SkysTb21lU4StkedbEvU4KTZ0q1CVY8XkiU9j5yXdhEYqgh6tg6VdtIKWpdbIpgN7+ZVYjAp7s7vmRQbdQZhuiX8AdA4o3hsbIRQzcykG5ME/X85PlEa3bKDKp1heTFRYbgb5ERE9WyEFLi+qS1tcg32lAx/ze6RAUGxkzoqtQBX/UbkuVaZt1JcTpIGFxxqWrD8U73FpS89KDgrYEcEgCB9vG7OmbMiG3av3iqhYcOW/xzW4akj2ZjBdEswIcwcRmUXpTSfbDYVt9nnA3WN8o+eGOHkTOUncHJyOZrnec3gHqpaiw= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(6072148); SRVR:BY1PR0701MB1724; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0701MB1724; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 4:W+SE/dsxAlMTmcdtc+6/qdwWR0DcdkKVdTq0j5mDJvdC7gKqp1D5misolWNKkcPRS65BH5ES7Z4qc1X1Zqp9Cy9D7tdoxlKOgXuby3Iyr+G6DH1pe9sVZdPrzatS5u4trj5JrjQTMvFGJImxYDrCA+MZB9G0xzoEIsscAfZxRe0hf+2EblubpQMSXb/Mj9zyw8FVlhdbGycvRkAL8SmieAu9fmZNiSAtrFRAptQdybrx6DHI4m9g9UlxoQ8YCBYJGfdzcTCvdjtQGHFx+L9Hfs6sqzHHyTn8ANjaVLRbe4un7kARmAHQSWM28YYOHxHFbsgL/kb/aEzez1hhoENglo3oWkWyywdA7ylolDasRzvjYW/tfAcNECDeMCj1DcGzwqDunzP2HkPJIOuKKbQ5CpESmlD0Uz/IR9/IODV/f0sQUPsIo+0mJ8Y6DCqLxhsxT1pP5g/CfXDzh2t79om2AxsJehnlUvJBOBGxrjiyodKZAB1TMZ4qxY2qqRcRv53S/Q2rwZTRla4RPCd05GF7lyRDwEtlxwzWzGPvQn+/9WV++d65yklftSnVp+Nq6Eq5YGOoyVIEb6FJ+PY1QVxvjw== X-Forefront-PRVS: 01901B3451 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(39450400003)(199003)(189002)(2906002)(4326007)(76506005)(107886002)(53416004)(189998001)(92566002)(106356001)(38730400001)(575784001)(47776003)(25786008)(6486002)(54906002)(66066001)(6506006)(305945005)(7736002)(6512007)(5009440100003)(81156014)(3846002)(50226002)(5003940100001)(68736007)(4001430100002)(6116002)(76176999)(50986999)(2351001)(97736004)(81166006)(5660300001)(8676002)(105586002)(69596002)(42186005)(48376002)(6666003)(36756003)(33646002)(101416001)(2950100002)(6916009)(110136003)(50466002)(42882006)(30001)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701MB1724; H:localhost.caveonetworks.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-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MBteXCjyqU9VcEor/A6CJk9jcoD48LNTJqXSbkgv6PR0UQgdW29QJlM1d+RA6Fi1BlAPCt1OtAfxfMFqDg1pP61eKKAXpSOdVC0BzzXDGOt1th1LWBycjH/Boy7/3wXe5gvnPyHxQ==; 24:xOpvm+MPCPrhS7upRGvw1TcAJncTkUYnPNnzxXFYE1PQhg52JgbyI6wH49vCdZOCoe0LwRp1Hi9WSm44iUQwVEEwQpBllWldScuS9jD04JU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 7:iywS/e2UUZM6qMWt1Pg+rvHC95Wk+jQ4sKsE9d950WwcA+wwkNHtCwImzraKe0z6SbRRb9d01WWOeTElUg5Z/SrJ+TD7nwy1UMlHEyBoiwG3FlPaBKtr2c2J5DjVE1DXOGpifIrTg8sx05f9nPoDo8t2WtpEgQ7C8uXJeWPLOiQXz+faFXDJypG0ZuIak8evWOPrMj4XmiiuTw9frhUd1cU2zKxZkzEsyBK4Ym+mJ1sylZ3zxxdjm5QHCGHdl28AOcrRSmQxHSzGE7q/WczaOjR1Yi4fjSlEyuOncazAs1scXyw/ExDqzSyiulia0eFAnRl3JtJo8hXWrvvdvcsp0xd0WFHrYVsXIMeej96TfYcWUKXu37MCuAcrlAHQxocP5ZeuNnzxdk1ynI4oW4i80T+Aac+UZFBhO/NACbkqtQMvN5eGLN8ZDEBblVV9qkD9Or8KF4q7CK70k9vcgkGkTQ== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jan 2017 07:15:13.0231 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1724 Subject: [dpdk-dev] [PATCH v4 09/29] eal/arm64: define I/O device memory barriers for arm64 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2017 07:15:19 -0000 CC: Jianbo Liu Signed-off-by: Jerin Jacob --- lib/librte_eal/common/include/arch/arm/rte_atomic_64.h | 6 ++++++ 1 file changed, 6 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 78ebea2..ef0efc7 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 @@ -88,6 +88,12 @@ static inline void rte_rmb(void) #define rte_smp_rmb() dmb(ishld) +#define rte_io_mb() rte_mb() + +#define rte_io_wmb() rte_wmb() + +#define rte_io_rmb() rte_rmb() + #ifdef __cplusplus } #endif -- 2.5.5