From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0064.outbound.protection.outlook.com [104.47.41.64]) by dpdk.org (Postfix) with ESMTP id C3C9C316B for ; Wed, 14 Dec 2016 02:58:42 +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=yaAvKDiVrXKWYJs5Zyh4EIeK8z9b3S83OxU/LuJekPk=; b=YOfPEpwan/eV6v0jGHYSpoMe2wl4jxHWIiOP03G5+ADK7GXN62iLCMZm+FeJGwP8Fg2viLnDmZx9VrIGc7q0xH4MntD20o8lnq31U2NNCTHUa7tpN0MXIkNP7nz9GvhMDznKMlaplOqpuPTgGjG3HoUb/aaVUA5qaM1oENcUCas= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain.localdomain (122.166.91.229) by BN3PR0701MB1719.namprd07.prod.outlook.com (10.163.39.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.771.8; Wed, 14 Dec 2016 01:57:30 +0000 From: Jerin Jacob To: CC: , , , , , Jerin Jacob , Chao Zhu Date: Wed, 14 Dec 2016 07:25:34 +0530 Message-ID: <1481680558-4003-5-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1481680558-4003-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1481680558-4003-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [122.166.91.229] X-ClientProxiedBy: MAXPR01CA0006.INDPRD01.PROD.OUTLOOK.COM (10.164.147.13) To BN3PR0701MB1719.namprd07.prod.outlook.com (10.163.39.18) X-MS-Office365-Filtering-Correlation-Id: d54f630e-0d50-479d-c3c9-08d423c491a8 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BN3PR0701MB1719; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 3:AffiPkYWP1HFfcBJtyDdD4SIAfWMdEQvBWiAWGrWbBwnEShwVtOhzAmyM4BjC4Cw9AjBJgXKfrfzvYd3lbjYnJDMkQE5cepPd6M9Fukd8a1D4V5uySRKbEF0CRPUX+u4nCiD8Ic4MR6WlIofa/kAmEyPIodEa91DPKYv53HMmliTJa1d7fI+VOdZj4QgiZuBrxV6YgESQKBByEO/i9Tjgb2hF/wALQuOfqX7YBHLkz7PnTgynxfefKpTu7fyDnOyXAOQO8/myF/8xuUdSl6vjg== X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 25:tUWiUMs4faBqAh4laaDC6katamZX5q88sIMpfKYmpAE8yI7wBHFL2anTEU74okd9j3S8XTRaHuxnnhtx6cJHgB+8MjUgtVGFj1jY3KhLhgNCh74om25z0BtcVUoGwzk6ZXKgv0xbzdgw3d65S17H8CSOdGe/To4NjhytooEGCVQLABBP7ivVewej8Pq3SlYM2j/Twl654sDH/gznrV6s5HynvbFaLNVskhgYJEFach4HeUJneB/MQXomTgUb+mwqTBVtcTMArfR2y682QUQPkCbbzIeKoX5y+s6wj0biT+ztp5lt0aprPASfmfqhqj/fDbJhKZvXh+7xaAdg6hbue6qcgYotdIIUbf0w9GlOSi7RoNG4XuHDIxnDHmevNkX1gZ+LWwHoELKc4sYblhCl0gTIiBUEA7hBZlswJVfNjIdVnh1lg3mkUF4GY2WLLAcXdAH1d/uBsAh3k4vEchwSNqqQ7JbJu6LHZKQFnuLY2cBaLrnpfdZIIXwYg8h0EWdr1T2tH8OMSZF2S5tXTRl42jONXqmMcAxb984qRAPrjucxEi6meEyNH5Vk+rg6yeChCJo/byLPUaWL85yWAtypt5v1+fIH8OggyUfzLc5lZxAawixR41Re3VZ95sZCLcVFuMuDhQEiVIp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Gq077Q5hKntKtTGRA2T5sFE= 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)(10201501046)(3002001)(6041248)(20161123555025)(20161123560025)(20161123562025)(20161123564025)(6072148); SRVR:BN3PR0701MB1719; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0701MB1719; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 4:ZQi7VQLcPX6IaYjY2Ht/S/PZRPFkay3e9OVWiNQVZK9S8U8svCA4/teAjqfe4aiKApZM+58k7JUP2WVrDmQRfsLeBFDKTGeDCcgPBxtHAlfxiw+3VCGEot97TbHOBBAWTeNwxxXlkO/JVqZjW2qaRzlEz8hXhvkjSM4pYLusC88Ief1IfVSi8Fn+gTfntCf/N/fuEQaCqV8kGxvojGxQqAeEJLYop0tkh6i4oLwqVoTwFyEVM0L8OgWUyt0DjFj4p4X5uADYn9y8oC5xY/cMkRPIpKR+6nz7qFKJmU72pBCrsgoarRYMyVTpVychEZOCqPQqWQEag+7hnvwUBk0IctGhQxuZB/r7saZprfbIdumsz7PMznlvueOXEj6/RrZx5IM5ZWXvAhMV6A03M4k6Wqn62pNq/M2pm7t7NgcdplPJ28f/df6HSih2Y9vyQt7nefvMkZvvP3sxOGfNxCjr86ZznGTVA6TvKpkGMHdMLH1uuIYxI/aOUiJFSkxh+J1v4wuDEiDmzjfTerB+7mKRPe4sZHPDOp06ZSDTKHZD0fLRaG5BEgXeTdnOOVdFaWvGXzgiDYI3ZOmx9RmJPHDaI3ZZv4p6eP883aX8/0Oy8uy5BP7qtuvJpW75y3ItDLex X-Forefront-PRVS: 01565FED4C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(39450400003)(39840400002)(39410400002)(189002)(199003)(6116002)(6512006)(6506006)(6486002)(3846002)(66066001)(68736007)(47776003)(92566002)(5003940100001)(50986999)(76176999)(81156014)(50226002)(2906002)(110136003)(33646002)(6916009)(101416001)(42882006)(2950100002)(4326007)(81166006)(38730400001)(105586002)(8676002)(106356001)(5660300001)(305945005)(48376002)(97736004)(50466002)(36756003)(2351001)(42186005)(7736002)(189998001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1719; H:localhost.localdomain.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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; BN3PR0701MB1719; 23:G6OjN6bQ2JOsU3dKtr4qSYxBsiJw83ukAF5eN/5?= =?us-ascii?Q?Trs0Fq5nI7s1I5HxesWG319MdAw1rAHtk0ekvNHJYikXToPB4ITopVsOpC7+?= =?us-ascii?Q?jJ7nIr90IraQXnbd2bLDuFLbknjc5vDE48mbO9FXwLu86EW54/KzaWwoZYms?= =?us-ascii?Q?L8dRioxV140fzcp6AmA9o+vWnnVo0WSA0BD5Zec8dnseNClFNW3+trfVT4lH?= =?us-ascii?Q?ir2CJUASnvkpDQ67l6SZRUaldaLn7JTNuwvYzRQBNaykSDvJdLVMqgtgzWQp?= =?us-ascii?Q?zrgF9Rh1vF5yMYQM0GNFgO0SujdHrlNZXU78K1nRgdxZoDk3AmbVHA+3N3xf?= =?us-ascii?Q?dp1bn2ISjhGDB4joHEHSC/FPhgtn3pcGrMIC4GDfzfWzEEuAEZlh2RiUQRwY?= =?us-ascii?Q?QdGzg3SxJYvLHf96JHtSpK92ZDKxdgR34gMCTuo+MBPi1QWDnOXGYuhMysYX?= =?us-ascii?Q?6mtMJSygrCkDdbHwR2M5fRtSShkdf86Ry8m+8/mXuymC8w6Gclh6hGml8OPw?= =?us-ascii?Q?XGbmtGGIV0rf/oMk4K9Mz2erIso7BsivKi+GH8nA4ZcxWGT+BylKTavpW7qZ?= =?us-ascii?Q?FlnTzuIKS2bgDYSJX2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B05aM3j4P+WgCO0/bpZNeM+F7BS0ke4hIX7TSXTbic7CUxbafzEIlM=; 5:d92EmbBGLct3+bKRBawl6eLWZGMT7sWftAJrsWPHXsdqxi5mzCo3YdGTxvMURXDIc0ZRQXGWxcdC6dLVp1lgMZdQAKFpqnxnCirqN2lEDes6AaauAWQu08lUPZk3zQ0iIb3TmjQzLf/s5J7vy5AynA==; 24:t5r7nBKJ8QXhEMsMSvHlcB20hmjw5C5/qsAKjYFH8veHQzR3/sEDxYmOZKh9NbQZOzToZ8djdr7JfnkHmGn/hBZH3WnGWqM+VYqidKvvGLk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 7:mJlblGF6w9RoYSNm+F9OKpGswP4TzbJEpbdBhVUUuinPmXceLMSGs5yJWeWIiUjylh0lvBs1PTeRKt6SwdQcp///BcQ8yE7VWDo5EAEiSg+xi8QOrPQl5sLp8cXHte65snJC/gMp/4ejIFTrytSWAA3vp7pCLfhf+Y1laX2AGeW9+2gqeFEASWMj24urJI30NAQrJdzH2/jAhAy/3riRDkAYiS88OiotzIb7lyNTxEeyQ+IOwG73ckGf0EA0HifIU2hfa0iZdKVvKttqsJtKQS3Tx8hOYDcA0o0PDaE/ngAg3K1c4UfJrH551UVMrxAC87ylu9yYWj/Q9EHIfMEF8VIIL3p9HCIc9ki0zmONvCJyPUEFMP/PkbDgjywyMO3eEXdEOGxiAxrF5U7vDQflI96kfgaXModSvD5LvLLmP2BR2O0q4W3FqZlcJgLCiYGfoCx9SjFr4zzU42DH1j867Q== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2016 01:57:30.2118 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1719 Subject: [dpdk-dev] [PATCH 04/28] 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, 14 Dec 2016 01:58:43 -0000 The patch does not provide any functional change for ppc_64. I/O barriers are mapped to existing smp barriers. Signed-off-by: Jerin Jacob CC: Chao Zhu --- 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