From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0042.outbound.protection.outlook.com [104.47.42.42]) by dpdk.org (Postfix) with ESMTP id 556B42E8B for ; Wed, 18 Jan 2017 02:22:30 +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=6PgEB1nXiMk9k544L5kjSiWCi5KjdFspJyDT4JnzxOU=; b=Ow8vf56300beGmbqWFegDsL+On1PevfFgzY5PqRgAAmMOBdjB0YSikeHZAcclcq+AeGZzrEB0SYI+UtKaq64RmXWRZ8l0I5k6DGanX5w0p4oOnKsm3lXvm5M2a4NE8z6CPaxUzOsOY2BjRaYYlhK5HKEudz9aB7V9ymeREKtDzo= 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:25 +0000 From: Jerin Jacob To: CC: , , , , , , Jerin Jacob , Chao Zhu Date: Wed, 18 Jan 2017 06:51:17 +0530 Message-ID: <1484702502-25451-5-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: 8c7e6931-c793-45c8-bb12-08d43f4077e2 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BY1PR0701MB1721; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1721; 3:aMBzbLsvQ3iSY/WgRzLyZK7CFbogyU0LEYd2kLrbP4+ABOvgyg8laXc7nA+uTwKWdTY2tpOiykWRV5Ubv13G/GgdKMySKRMDKmPKYfYjsWzhz0Kqr/0KH2SoOtLOMEpTisPls3SO1mDZiHyyksvCcyrXek45OLxi3gJxwlBK+u8/B48DjXjGJXR/zh4vEqmtMF+Upk+Yk31bCfJFk+bQmpwgBp7GnBV8MEAGfsoll/f8Qvzby+xP3BXZApta5sv3FZEA/Y93PQ6pEmGZYZwCIA== X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1721; 25:Id0vdrn6cuYo+ItAYZEsbdwFIsvW5ZYVJ/JwFDl1Xp52EWQDMHegKd0c7wAH6Ha1lwEWzF2mScbJK6QfOJh+cTmjh709kcBFf0oBcp3XkGp911rjzx12PmfhHUKCKxuczv213+7V1UUbekGaH6hm2GyNdUaONM8vqxfIyqN3jbqvUtRjohKeFlKO+57MxNQ5g2qrCpCi7zUg4tpaahUVOQ2FTs9w5SE5qHDuMBh73VEFypCWpsTHraIb/TUEUgPYR+1MJOhqM6CONwRsbN5ct1LmYEsfv/PnEd815fIpUFJ+YysKC27dQOrZu+OkFpFxGVfqwpmB7Skyxtk88+qDbXECDIMHjpX057/gt6cSL8pZOLohJOuuWBAnD7mn7xtcwGx3Kx6sjTum7sQYk0Qq78HmevA92qz3Yv9O/YYp1FXajYvbQc4JDBjyhBNFWax8BrYdFCw4Fr3vfcsAEUjC3icuKhUD0VHUTSlaONhhdcNRc5tGODxF0gcgI6TxMTyIWqj1/b8VboRbRaz/L4r6KxPiDq5Jx6a6vfEPxDGrwN+W+vEvp7jhL93s8b1MmuboL+cxB7qG5+rBK1hoeJ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WFeSP698FNqd2qNpBsOvzbwVFjY+LvH+zxl3q9bHVvgpXZXk8enQ9L7+yJo= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(104084551191319); 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:nwe6DYkPIxw0TAo1eht7BBp8A1awoldkXbwOw7YufJEOZuW4Y6FVlxRzZ361Az9D/e2uh4SODU4STSoEdd25w+YAO88TXPJjS0FoREU6LwjGYnx1lvc/zoOW3ZgRGfHTzcWbk8aJvJloR+vh0f8AtS6LHkS3nplehbMyxX/ux6xAuqazDh4Ii9ojlXzSoMnvWBCoReqtAvwXfKtdvZqYfq761aH4r4pmadZU4FoiMQCXca/EeUxJ5l4AMvJMLvr02Z/5bGZyct4KSqB3yViCOoCPyHe9B1gfce36HD7qAv4v6mRKp1aGc9qI0zR/S7U1U3EM7V9pVLHvQFrfwljvdJDxH4mLzi0xO7M7wfP9YnTwd3JTxdfsqqFKNGB9+s9CR2izoI9kM5Gu6RMb+fbopo/KmEYfVKjHwQdDyPcvntKi6zzadUjJxgW33m5hOYLvojtMGfsdN0zi2WhIPe/NIzV0f6h6LTI9lZSE88d3VYKiET1p9VOS6naYK7RAYEngUcBvMNgdpV1CiwXQgnBpqcvRbrEJY/CT3BlIe5/A764y2hybM+3Pqc0rLfzOHf3EPJ3mkdW4fGqVnhuN2fr/+xH8Lun5MPLjbLEh9SUUaUlppTYOp8guCp6QK/tY7bAU X-Forefront-PRVS: 01917B1794 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(39450400003)(199003)(189002)(4326007)(6506006)(50986999)(97736004)(47776003)(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)(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:H7U9K7l981uB3fwTNYvwUVtq/6jWm0X7vRQ2UBI?= =?us-ascii?Q?FIaQYpWVji+l4Y5gDzYC9tegPAsV9dl+B7MAxhmZtmniAD/6Z3jl/tuNtUJt?= =?us-ascii?Q?diao7HdPrnotGxDNHl4vn8rk1hbAkFI6/Gzwd7cFWFJ6f0bDLwmIDBa80PrV?= =?us-ascii?Q?7Tj+N21lcNqLhRk+PgvPCe4k2hOJUdodIUChWTNGb8nFcMeeLr/l4mQj17zI?= =?us-ascii?Q?+J736yKVMVMVRk0ViT6NIug7OuhxMIQnLC+2/PNvKEJ7R/Xoey4GwwYAzD2B?= =?us-ascii?Q?kpE1MdkEcABWNWhU73T3DsaL1cfOLSS9zEsfb+obgl+pB5CklLEakUIE+Mqi?= =?us-ascii?Q?a9kYQhyb1pNdsC0wNhJPkDA4+nJiCRikcygJ1GQQvd4N0L2+KDNZf7a5IhiZ?= =?us-ascii?Q?MT1Amo8mGG7ng63Ur3vfumcyBCfsqtCRLRd+srjGyjg3B5TRh0CMraMwylm0?= =?us-ascii?Q?n3Awpou/G/oWoiTmXrxLLCIDBfKPSy2YByHtx2KGA3oqohBKGPPMkcbZR+ts?= =?us-ascii?Q?n5uIE/AJO94EdWx8t1L6AuxEN8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onl6HRztsgh/Mr9kNKw== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jan 2017 01:22:25.7752 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1721 Subject: [dpdk-dev] [PATCH v5 04/29] eal/ppc64: define I/O device memory barriers for ppc64 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:30 -0000 The patch does not provide any functional change for ppc_64. I/O barriers are mapped to existing smp barriers. CC: Chao Zhu Signed-off-by: Jerin Jacob --- lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h b/lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h index fb4fccb..150810c 100644 --- a/lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h +++ b/lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h @@ -87,6 +87,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() + /*------------------------- 16 bit atomic operations -------------------------*/ /* To be compatible with Power7, use GCC built-in functions for 16 bit * operations */ -- 2.5.5