From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0080.outbound.protection.outlook.com [104.47.1.80]) by dpdk.org (Postfix) with ESMTP id 6BB1A1B1B3 for ; Thu, 25 Jan 2018 22:03:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=wED7GDxn+yfLmVXh/Ui5ZaMJhw2uztLW/23uF35hR68=; b=VX1VnD1c1hwethbUgyMdV17rzdBbO0+UImGxjv7DTW/bWLdOikBtvJCxpgIIE5pkZN3OCdWluRtjBOPALqBXBZHwtm0ZC4q/YmN7ig825YJtyT3++HFNK+CdQOR98sR+MfgAwjaJvIYq3lU+mWoqxJJS6HtplsULkAiW3xlYAl0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=yskoh@mellanox.com; Received: from mellanox.com (209.116.155.178) by DB6PR0501MB2037.eurprd05.prod.outlook.com (2603:10a6:4:6::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Thu, 25 Jan 2018 21:03:14 +0000 From: Yongseok Koh To: adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com, bruce.richardson@intel.com, konstantin.ananyev@intel.com, chaozhu@linux.vnet.ibm.com, jerin.jacob@caviumnetworks.com, jianbo.liu@arm.com Cc: arybchenko@solarflare.com, dev@dpdk.org, Yongseok Koh Date: Thu, 25 Jan 2018 13:02:45 -0800 Message-Id: <20180125210250.38233-5-yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180125210250.38233-1-yskoh@mellanox.com> References: <20180119004430.15305-1-yskoh@mellanox.com> <20180125210250.38233-1-yskoh@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [209.116.155.178] X-ClientProxiedBy: CY4PR15CA0014.namprd15.prod.outlook.com (2603:10b6:910:14::24) To DB6PR0501MB2037.eurprd05.prod.outlook.com (2603:10a6:4:6::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 6b845482-cc0d-42b0-0c6d-08d564370e13 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:DB6PR0501MB2037; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2037; 3:dEvVal8vgpjtanJLNeQwmEmmLhZyzSNgTw39fkP2OHUwJYPTXUe5kJPyWHKpD/eYoMDziDemMcmbG7e6sQuOMsikmdGieHLLVpefJhQmyqvu9cqCecb4k4C8lK0tiKHTMW9pqVK5JYW6V+ePAWtEqjAjYgayC/Ih8XB7zF1jN5+yiWZMBgCGCuXPYnFssgajA01c03E/dXB12Ps7xGTy2tckpJrFeDGAGYch1OWNUUOBbjN3oSTHEVFb6Sf50rIF; 25:5ODiu1blL5y115q6cpnUhRFs6+E97VNktQA5VXhTB7vcHlNlo3J9NzbgBzI7QHhPmqTe3aUOND+/8teSupoRw9cISqCIuKK78iDGWQd0IXHTkRW5l+tGK4pBMEC9LXLmrTAEfsnQXRZjdE2UDoHAuDlAmwwoL2cu1YqrrowKXSG6dFX3UtbX1eOH0XYoPKyyNWgBbR615RO8Gmnp5rvTQOP8TbfXBsXOaJ5OSXASu0wM5Dk6Fx6fWqaPGRZ4/IehAYgmCA3gECN54iP2sHP/xikZm3JzueM4hd4MaGg4xHKYDGhwWryc9/wVKSQh3Rk0QTp2uXWopk3kpDvcRPwOmQ==; 31:kuoqM4WG2LlHvn1HeWuKBC7r8OBePNUjlsNzhMZlKcR0ssQI5gcZDUM2qKLt5J5Y8g4vhKgC2DuBe7xiyPyHSQwP+P/Nzscvy/auebneZZYov3LssCl8fm5uRPbxkcESu25xSzQGwcUUpIVuNr6i7r7d8zx5Ly66pi9lz0jy5LiIEGPfjN1q6Ra+RYYmiV/puSLZCS8rVfqGjG9ZFBSapxSblTIPktEyYtjuFDw7lxQ= X-MS-TrafficTypeDiagnostic: DB6PR0501MB2037: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2037; 20:zy1ydnDUzIYsvq3EtZrUKiQh6iJC3Vc467ClcUItSc0i9GQYA3QQBF8XtinbFxvuWqUn7NrCv82d0+kTpxaex1dswwSsn66EnWuBX/zgu1nQy0Oai9/sepP0Wdo7fFtD5q8ERejTOl1xWHIRQBNLX4QwK1XnEVYhIbEuqs9g2znCXC6+HvofUIxaqeLNHX7VK1p9Syx/0syc2UJGw6tx2AfEZtvOll0vE01PhZdiJ2DuczUxjqodiLWf2hlB6JCWjYo1xjCkhxz6uYXorur1tJps8jEItWC3Fm4Uyv8G+LPLMiq8WU4tn139yr+zGZJaRgZHgFVvyLirRvpGPLc2BPFjCUvBh2CU0RUY4dGpaWwBxVrBj3MewOjTtJkSO34UaUW1W1u4WJ+VC8IViPmi6r0/pc7WWnpdR3tEvBQlSBxLXO7MotNKoD2dkPxbktE+/VxycoO01YkAtXaIhk9fBXRjMONgtUw8jXz2Dw8JgpkEpliOKbqvxElYHqBtj1gz; 4:ucXfFVOjX1yO7BZcRkmhw2ZFaRpo00g42RIBlYyTvM9gJR/Nnk2FedbPdcx/BBIAaSmJlgyB2LPkZR3T4zOGp0aLDBw7rPQ46/4nlln0s2s/rH1jX7QyJhc54YJfMEN8u5b1dM+ra1nLjEz/bGdJiCQlnG1SIqjQ+nimMAUrF9tz+MPylMonByr0/dtUmDA0O13qbPvwjYbtrKfo86xcbwbTi9+/0hcR/pUCrzb896cEBMwPvQwCp80mEYEcrwMjX7CgaUfbfDPW+zgEqAmp+Q== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231023)(2400081)(944501161)(10201501046)(3002001)(6055026)(6041288)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:DB6PR0501MB2037; BCL:0; PCL:0; RULEID:; SRVR:DB6PR0501MB2037; X-Forefront-PRVS: 0563F2E8B7 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(366004)(39860400002)(39380400002)(346002)(396003)(199004)(189003)(47776003)(66066001)(21086003)(69596002)(105586002)(106356001)(6116002)(26005)(3846002)(16526019)(478600001)(305945005)(7736002)(1076002)(2950100002)(6666003)(81166006)(8676002)(81156014)(76176011)(386003)(51416003)(52116002)(7696005)(186003)(2906002)(316002)(16586007)(5660300001)(48376002)(50466002)(97736004)(36756003)(53936002)(55016002)(8936002)(50226002)(68736007)(107886003)(4326008)(25786009)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0501MB2037; H:mellanox.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB6PR0501MB2037; 23:No6AlB+RIofjzsbcyOimlUdf6prBq68E2OHuL30?= =?us-ascii?Q?pvxq6AQNRTRtwlUJ3Z8lwf0wiTG4f9jX5NcRAoee25WjAUa75I3kEagPhqiK?= =?us-ascii?Q?XYIXK+ZIlBWbcSyvKHi+fE7t7AiYmwBQ4P58wsgAAe45hyY5UQiswdjlzqYh?= =?us-ascii?Q?ObFhCpLpt3+bbo5CqxmIyuhUn9smGeNGIL8kp9J01vnlMMvMKwlDComhRfxa?= =?us-ascii?Q?1unR5rNCz62oO3wJa1i2gfuLpW+asQRKL5CHUD0a5Bg6yZjTdO21SC/kigDy?= =?us-ascii?Q?Z7EcvdMku5SYTjBhkHEnEweyO7EMyOKLWfOwchnoE7nYYKwe7JfUgYXTji76?= =?us-ascii?Q?0fwZQXgqFSnQNIJ3oo+kUttCufM/2IYJReg2NAkd/GQ5oZjsriJQz+qZuAnI?= =?us-ascii?Q?eW0f8vIoOidsBeYuIZ/Q+IgLxCnqs0kqtm92J8U3VKre0CAZBkRrUVrmkmAc?= =?us-ascii?Q?mso7cQbLJeE3XDQjqYidAedld54KJ0PMlcWphWaY1r+QFdEgcXpR3hRGXBEu?= =?us-ascii?Q?vBwWrZ4Jp+LwgD373n0/L1HXG4CM9hr/0eGio/uv0IlsW7M5LCLLB6CnMv9s?= =?us-ascii?Q?gOit54JRF9aA2R3VkRwlRTYZACn1j1nGJD/V1H/XZmNl9RiLAITtQqeC89bq?= =?us-ascii?Q?U8pFRO0DXDI1pMR3um9OW/cy1ujOjPC2s4vh/dceNdxIn4H3yl74/2VupkQ2?= =?us-ascii?Q?qeOk/HN9FfkTkmom41mU8DQ4D2vHz6lfvFbH4uilj4VCnWyGY7PNkvnC4Z7V?= =?us-ascii?Q?/W0Fow5SO/u8njdwgJCjT5tn3vrtVes8ESfd1VKh0JnO2loWKuJenSqXoAsI?= =?us-ascii?Q?si1kuk9E01+QL898UThb8z5vhbiqy7mzviHnmK5GhdkU0XRl93U1T0DbVmQN?= =?us-ascii?Q?CnZ1tkipqLXb/CMx70fIXVFb8MUlUTwFbqrBpQE40mRF2wKkMouZea8yMImC?= =?us-ascii?Q?UXtI8duynuyLBg4u3YKpl+pPBuDukqZuw7ZKtbf/EOF5KPkR+kmWqtS4IRqc?= =?us-ascii?Q?r2W5qmz7XWAK2txmRO1THrWh3tMApyulTzYbzHnwLkQj/5B+EXJPadCZ3QwN?= =?us-ascii?Q?wjxhDh6lqRahMP7q+mqmkQX1MJ51SSdTUjtJo5PJkRfsUO9gMuMzklIXGR4l?= =?us-ascii?Q?f7IDOz/OuEoKbyEyOXTA4OruVoSeS9P1S?= X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2037; 6:1dgADofzTElOiNbdIdJahSNVTdueiQqGhMlNcZ9c0td2SGyvXRpg4L7f2Q5+S2mSviw4lTTlFwh5rutFNfiA8Fbwigg6Iqz5rw7X3S2DIGJ2OdVupz3ri6s8zvK+a6/o4k87G7yRi9clOUdjuq/CwELodL2PLzaCxh4yny8LU5Mf2jvqFhA6GfKBB3KAVjswfw077z2cakeTBcfQhaBsTILpqDQy1BIJdss+b5rzBxj3rEGEZqHozpoLzZRKXYlXj79cED6jzVl7bCdohJtoMAxA52valuim1NCEg9OBODbyPQ4tL+HRHDi6wkLlvkHYd+P76d739E3lkWsx22v3TEyUTELqkkXTDryaPGLT6nk=; 5:qSaEzmcvRjURrYwwOayJ3vHGC0Ah4Y4Bpmte4Nj1qzaPfUT8W/nCcsAl6UHsGSGVHo/x1XinDn+gsqFDGGZzauO/xC6VyuodygOWF8vn9n5OV3omyizv2L+KvQwbzGQ22dgcYOO/KjX4uSSGVnhljXgzbe3gNVsBUVg/+O3gk+w=; 24:kj3ucWZJu1jRRrnrWX2kbvJGnjzel250y7o+j8LkqtwPC9g+MiwhcwGM1qFLBQnC9BoOUHWejGwRlZUcvXuWsEaG4dX8s2LeHAa9wBv9sVk=; 7:fZRVQ0a4iIyIYPoVTAq9G2cKU3LNnpAx2t9FzFZodA48J70bUaqplz5dIgIRBsr7ogpVnrxCWgKX4b6prNYxbcTSs7eXxlMZHDqwmcavSosba5Kif/o4geFa0TgHrtWcE7+wefpwprwhUKTBVeLT5UfmKrKMitEw0rdPbItYT/DDdx4NA1trZuFgNjQ0KILxACNAomxnKu/V25DR5LO1OM4IjKnoE05mgq6VVRq5z2ibwb5gMu/coqgaMARZurC5 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2018 21:03:14.7087 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6b845482-cc0d-42b0-0c6d-08d564370e13 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0501MB2037 Subject: [dpdk-dev] [PATCH v4 4/9] eal/ppc64: define coherent I/O memory barriers 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: Thu, 25 Jan 2018 21:03:18 -0000 Signed-off-by: Yongseok Koh --- lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h | 4 ++++ 1 file changed, 4 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 150810cdb..f38618f90 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 @@ -93,6 +93,10 @@ extern "C" { #define rte_io_rmb() rte_rmb() +#define rte_cio_wmb() rte_wmb() + +#define rte_cio_rmb() rte_rmb() + /*------------------------- 16 bit atomic operations -------------------------*/ /* To be compatible with Power7, use GCC built-in functions for 16 bit * operations */ -- 2.11.0