From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0075.outbound.protection.outlook.com [104.47.34.75]) by dpdk.org (Postfix) with ESMTP id 1F393377E for ; Wed, 18 Jan 2017 02:22:37 +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=QGxrrX56f3lb4GbY7beLtDwshif054kcwBYaznjKRDM=; b=KrF7mB0OHAO4fsfsPhAhEEZNApUF+eje3Toxjx+FaO+nE4fFK4vhe58tEI7ihYUejiwlWvXo+V+kNrCPuL61gfhkqTU6WxxpvrYaKN7Wae3e7WD9jZWex+iJf9V7LvBUuDQ/1ogNeFgf4TBYDSISqM36mWlaPnX4OlYHgJs+W4o= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from jerin.caveonetworks.com (111.93.218.67) by BY1PR0701MB1721.namprd07.prod.outlook.com (10.162.111.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Wed, 18 Jan 2017 01:22:33 +0000 From: Jerin Jacob To: CC: , , , , , , Jerin Jacob Date: Wed, 18 Jan 2017 06:51:19 +0530 Message-ID: <1484702502-25451-7-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1484702502-25451-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1484637244-7548-1-git-send-email-jerin.jacob@caviumnetworks.com> <1484702502-25451-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: MA1PR01CA0115.INDPRD01.PROD.OUTLOOK.COM (10.174.56.159) To BY1PR0701MB1721.namprd07.prod.outlook.com (10.162.111.140) X-MS-Office365-Filtering-Correlation-Id: 098ff244-1f2a-427e-af4c-08d43f407c0a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BY1PR0701MB1721; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1721; 3:uf2BHQorwjIEhuV0llQbLtmklCdty87hwU/aFNxMNt/aJls+BD3myUr1tm7wLkdDvJt/30agfx7thlj9K0WrMCUmeIv8yY/NQEXxuj+HC2BoZ5Kldw17czM1JNfGqFvfSp2I4qNMmy6StwP1bKxRswx2Ba8VllBibXBe1I0kuy3BB9iayykVKMkIdNFXwma7WNiVi1ErIG4RYJX3cSkCGOyBvUfzsVTZdNEJXkoPV11WlczU2uXoT5y7C48SqEH5L47eUsZt8WpSvXRRc1d3lg== X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1721; 25:oeED/jHrll6AjSDc1aY8jxFnXsDDZ5DbGp9ATmSHTJ0hENMGwxPB+EbqjAl7V0g/11uhOjbrKPqQVEK3BeyuLXvU0WUVlRxQiu+Ybp5ErXYkHymF3pJtHrVQ2UNOimyd2etYYXRrRU1jKyacPJAaF235KEUosaYLT7U+LoJSRuiBVN1S4aaEp7H0JuuZs0am1N5Ormq0iRPIzNKZzxi0dHiMnHJ/bDtLYBnbR8k9cVDnKcf6TucrHZ2P2okEzuLvOG53mRyjh18EhufWhXTKU/NJ/Gf5cBk7HE8LzP6SZx3BKXAyME69uxcsnLW96Pn3P1jK9gAgqpMq3pNQ7jQshOZPaVvoX8clHjXwBZ0Gijd4XEpvSuNLnfSTJwYNaTwb1XfA27uNvB1jIC9Dwxp7b4HD5a2Hp8eMexyeff/th26j2eKkermc9YcqcyB2+wobHAvhDe4tDMOn3OUQRAaEV6ywQzyFbtw9jA7TAfmLMVSDMeq1z1OGqsyv6TBWIOCKpHhULGT5SBR80m71RvxImNdFgPi4QAA5VpW0pomA/Iz520UFBZsZwwJnWfTmbiI+DBmrGSakLVLuMDj2T939vUdMJ0xMI1+rjlGF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j4U8= 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)(20161123560025)(20161123564025)(20161123555025)(20161123562025)(6072148); SRVR:BY1PR0701MB1721; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0701MB1721; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1721; 4:LMtxubu4V+NYEJT4duAtqgFM+yPLCHUUmZG/MC1rQMl1stdkgIFH8lP+qxzDEyZNT1cqmzjyFw8YMUHIYqtB45BJF71hePVSgrqx1UPFiKBpSlRD5qsjltiKEGuKvsYHKTHVyLweiq4BhD+RoEOeChhfcTLLNOXLdKCzYQibOB59ljFCsb8gc1JeOjzsY1BTu6wHDvPajlGWzUurAiiDx/qadPMAXJUoA7FEmaCTg2/yAxiVJ39q2YjcrA3CkYw3ucc3Gj8F/ZFE4+yEqaMbtlAMOniY+eoBpbpI8gGcDleXT2czvVMtuGlerOkKSzZM0yZyZZrqH3UQM8L/uwbs1vOr9E8upo/bqFInO5PEXmxdkju86Mfoz66nABRmm2gKxnOpdSCr5Vu63R3iKVau93L8y6QdyFU2PD5OhSgE2zw8vCsqg1eHv8bVXrnk2cUA5p2Qg4GoLWtUSxFo+J5vub50XP5HP8JyPFGheyWv651gDwTFL2vJa4yy8lbc7bwdlili/m00FgpImUzUT7B59lLCqkSNW2VLKfr14YeVBmqc2kk+h7imxiTK7UMLJHPEyrjpP1vcUq6w7DwUVQN3QA== X-Forefront-PRVS: 01917B1794 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(39450400003)(199003)(189002)(4326007)(6506006)(50986999)(97736004)(47776003)(107886002)(25786008)(189998001)(54906002)(66066001)(92566002)(101416001)(38730400001)(81156014)(81166006)(6486002)(2906002)(42186005)(53936002)(50226002)(8676002)(2351001)(68736007)(305945005)(53416004)(3846002)(50466002)(6666003)(105586002)(33646002)(6116002)(4001430100002)(5660300001)(6512007)(48376002)(69596002)(76176999)(42882006)(5003940100001)(5009440100003)(36756003)(7736002)(110136003)(6916009)(106356001)(2950100002)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701MB1721; H:jerin.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-ascii?Q?1; BY1PR0701MB1721; 23:Kta1QWhBbUKrUTJY7IPFdLrNYdo6JwpA/YlD1g+?= =?us-ascii?Q?mnxMtLMctKjn7yEFfytjB/PuMw9521FsU9WdHJ9QySWiPfGdjCYXNKSinLf5?= =?us-ascii?Q?ngCNgG+8afzM3NABuQ5//mNdrp4KGyB0jvTzg2cUEnCJg1V1AOakyeu5VWet?= =?us-ascii?Q?VnrXFzm9ffvlXMOI4rupCfKEHfQHGX+sGvjTJ8+h+H1PFExEN1gzNnWTxcW5?= =?us-ascii?Q?f7ZsCSQKRaxIi8cOvMixBKj3RuKXQw+zGrAGj71SErrfE9xZpcLaFz5V07tR?= =?us-ascii?Q?/vMZK2B2mNdqHgkWlbtFVWN3y7XozrqGD7f1mk1sptaCUUNr0qVaGsCbATob?= =?us-ascii?Q?qW+0Ti8JgHiNYpT/s0ge8eGZRQiSKe/8eUv6hqkobZbQMNZEkhPe3XiGHwdF?= =?us-ascii?Q?ORPJCpDauT66utCVPL+lTNUuz52Gcq25KHXL/mMM4uRSXfoAuAyRuJkqGMHr?= =?us-ascii?Q?kr1Vy3KUPpEa6M7BLGcZx5r9EpFKr2idexYdDqzcoPyc3lt5OIq6o1oYG6RR?= =?us-ascii?Q?EyVI7aTlT1vWvVSSGPu/ttS6TSylucs+gsXIxrSE6BjRZ+TKWPkTmGrrLiZY?= =?us-ascii?Q?M/4VdfdqGb7Jk5G8T6iQCM1WN5UjDiUtya+vb0IN85qxWH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ALpalQ== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jan 2017 01:22:33.0301 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1721 Subject: [dpdk-dev] [PATCH v5 06/29] eal/armv7: define I/O device memory barriers for ARMv7 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: Wed, 18 Jan 2017 01:22:37 -0000 The patch does not provide any functional change for ARMv7. I/O barriers are mapped to existing smp barriers. CC: Jan Viktorin CC: Jianbo Liu Signed-off-by: Jerin Jacob --- lib/librte_eal/common/include/arch/arm/rte_atomic_32.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/librte_eal/common/include/arch/arm/rte_atomic_32.h b/lib/librte_eal/common/include/arch/arm/rte_atomic_32.h index dd627a0..14c0486 100644 --- a/lib/librte_eal/common/include/arch/arm/rte_atomic_32.h +++ b/lib/librte_eal/common/include/arch/arm/rte_atomic_32.h @@ -73,6 +73,12 @@ extern "C" { #define rte_smp_rmb() rte_rmb() +#define rte_io_mb() rte_mb() + +#define rte_io_wmb() rte_wmb() + +#define rte_io_rmb() rte_rmb() + #ifdef __cplusplus } #endif -- 2.5.5