From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr60085.outbound.protection.outlook.com [40.107.6.85]) by dpdk.org (Postfix) with ESMTP id 7AACA1B322 for ; Fri, 19 Jan 2018 01:44:58 +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=3xCVn7kBFQSuNkM6aJZkKgW5UDHfh8JAWsY8/UjX/gc=; b=XiSJqqO98gT0xdNu9ZbnRLTdsRAQJ5rD8llNSyjkctWrepV9F2tcwcZiK87qilqt5yH/p8PsQPiRhBPps3cewghq3w47B16jQQG38aMxZ2bXXIXCCRL/pzPXLQtw0DknzIciLi6+N/x98IwQd578GzZ3o8ZDFUiQ5J0bGNDA8as= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=yskoh@mellanox.com; Received: from mellanox.com (209.116.155.178) by VI1PR0501MB2045.eurprd05.prod.outlook.com (2603:10a6:800:36::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Fri, 19 Jan 2018 00:44:53 +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: dev@dpdk.org, Yongseok Koh Date: Thu, 18 Jan 2018 16:44:25 -0800 Message-Id: <20180119004430.15305-4-yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180119004430.15305-1-yskoh@mellanox.com> References: <20180116011050.18866-1-yskoh@mellanox.com> <20180119004430.15305-1-yskoh@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [209.116.155.178] X-ClientProxiedBy: DM5PR2001CA0022.namprd20.prod.outlook.com (2603:10b6:4:16::32) To VI1PR0501MB2045.eurprd05.prod.outlook.com (2603:10a6:800:36::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 86744b17-6a24-40af-485c-08d55ed5dc29 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(48565401081)(2017052603307)(7153060)(7193020); SRVR:VI1PR0501MB2045; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2045; 3:6nHKam14IG0Ae08HZ+2Eh68yPaWX6yBnTLXmtvPQJOcc03VPZAecorS9SlSn1+8iEH2df2hUndAb3M86ygydrw2U+20ak6kcOewP/Qdj6H3qrBJYlIxCHPrSVRCPeTWADIFIxsj9lnmtI+YpIwaKPjf7e61tJ8VUb2fGLWy8uu30puaCMKsvniBjaJK1LMhjo1+ZdX8IXfty27p2F29qYy4gwKtsxWdJAaQb9CBQbvJCT1RQTWxa0mQmMV1d2/fU; 25:L/2xOBAiLDxXDB/4ApsKUG2FBry+8vQV4W9qIahMNSVAeLwsDETUWeus18nVAsZyPpPWMOFzKPdl7Q1ismiMUN7nnyajfUKuYnb2HFtB8WIhAuLdG/dywPbLaLzUj4b6pNE072U4Vbqj2BDZE7dN6tiybBMQLWX67apvY3zFCXEumS9eS1K+T5c1y1lJXGwPXPHP6p81zhnG8wSRNwwL0g8bAm6LglATFUPt/Kkl9x2s5ftg10dnEIOqBSXZKUTasG+RN4pQmPimbGnUPE+6XYLJRGAI8OGmO5MEQRdLcO7eqVhGK8elBn+ApRO4IzO1nYzo+HmNxcChVtw6hs0NEg==; 31:52oZ9ClHY2o+nXcYyK5pSriC2txa2mMEhfNqccSNKgcHBe9w2tVy9KGqNn0rNENcxYD9f2QDCSHompNyP2l8W3vEcpbaaa3ZvZAi4+ibi0/ktRH63i5y7kD9pDNxYN1BQ35o47CI/PRXdgISxoUnVUwX6VKmX8T7NIIlpoYfcz7Nw5auAxfoNUO1t8FdqnjiJxjbza1hVk7XrCdgNMj2VGtSlxnKz95i8emolpN0a10= X-MS-TrafficTypeDiagnostic: VI1PR0501MB2045: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2045; 20:ZinvYJb67Zs81pUSkkxamrH8fJQlmJ12khGHRogSaGEDREB71JvOUzpzJ3UW4PKEF1lLkTQVFF/AjDs7+2Jtbdb0QZy5XbkVIeF33JohIRcw02a7JObZ8HHET6WHuP8D9jSA4PMyr/7APKnNAY8LGuHoO/tr8ywtA5HzeQLneETbUl3rI1zpXf72L4Pzx6xCVkbOpww356Q+CHwMCh/n6CaPcJsV1uBKIHVyq8sAqdYQ3TdK6f7B0TJujRypCl41QfWwyZJvD/MBMJ3jKrwH1WfSDrj//rFzzhMVqdJ6ayV133k0679IwnrHVX7FGIkQOJ2PeMB37E8MtfhJarnBC+RL0ENqg1C6twxdZpcVOLcnZv+BT4ZAWLgeft4txI+Unk4HlJMDFTYX0qTN2hnxJMe1SQsTQ6qDpPm5Y3xdOFK4UQF/rwGjj/U74hgCaNSIl3gVOZZdIXUji7UxQs5Zer7dhLyZZF32PBRJg8zMcaoWuVw+OZjXQ34xNIUAv8Or; 4:rOls7ZIH1toB1k/+2Actyj1+wmvgmlQDqwc18EE7QmB33HY+IxRHnxrMOps2YYPnkJHkiW9w5Pgm3QxRMPfjVcZIX/tZcOL+PrNa89N6RHL9WDOe54pNypZYlTxYDyLGZXb7g9tZ1ImZ8zqzs/rAPgKZz613vQ16GwvIDMxWm/FGWakGDrVSYWONAoPYOqEIeEDAZevoxWDPKyulvpISDnjUAJBXLSX5iu33TulDwKI3lXtEOa5niU26En/docaeLY9jMpfX4hOfBSNlLlKQhg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040495)(2401047)(5005006)(8121501046)(3231023)(2400069)(944501161)(10201501046)(3002001)(93006095)(93001095)(6055026)(6041282)(20161123562045)(20161123564045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:VI1PR0501MB2045; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:VI1PR0501MB2045; X-Forefront-PRVS: 0557CBAD84 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39380400002)(396003)(346002)(376002)(366004)(39860400002)(189003)(199004)(25786009)(48376002)(50466002)(386003)(7696005)(76176011)(51416003)(52116002)(4326008)(478600001)(86362001)(36756003)(305945005)(7736002)(16526018)(26005)(16586007)(2950100002)(6666003)(316002)(97736004)(5660300001)(105586002)(106356001)(53936002)(47776003)(66066001)(8936002)(8676002)(21086003)(81156014)(50226002)(81166006)(2906002)(6116002)(3846002)(68736007)(69596002)(107886003)(1076002)(55016002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0501MB2045; H:mellanox.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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; VI1PR0501MB2045; 23:vwtPvyR25DZYqZZ7x01OVJ537PRWs5/iK0XM15G?= =?us-ascii?Q?2tWBf9ua2bkZK5X7BUxkAQiVtq1Sa7trlwVr9fdBqSt8vr2Q03BF+Vrn7vu3?= =?us-ascii?Q?Hgtala7VeXTZVn6QoXMj98TPLtmP/HPdsaG6lRG4rb1c7dvU83euPakct7qZ?= =?us-ascii?Q?lqG+zohFh5PRQwOBdDy7pg0aoUvLH+t3J+YEjuOoytuqP46Whjf3t+fh75mw?= =?us-ascii?Q?y/r8maB4fng3Qk6FsVbIcQ80oyblzGOJMDg8/uj4UUs6JhH6rP9x1InFDs2p?= =?us-ascii?Q?5zLedTU4ZFX01zUa9If1S0XHfsaNB9GnZrv/bN0hjBCLodS6zRdUee8CGT5D?= =?us-ascii?Q?yX4bqNzmev5Zio3gvwe/ySSCY29+Cyifo5olwz7wfpo+xIhap0Oh7fd4RjQV?= =?us-ascii?Q?mR/7mAwjzJkn6IY2XLnAQi0hGcOf85bCFRT5HZIwKjhlc+1UrsFubeXkvYM7?= =?us-ascii?Q?GIJIXYmcqPL9AY6/CDbFyvCoebfNbWsmlKdvYF2IPd30uSSek6hCc2dlNKIg?= =?us-ascii?Q?0444syvyhduOWQbPq0PugqfA9Ez2lKkds7TfmkdCy99pa0IzgnrQC4ZLb97z?= =?us-ascii?Q?j6UQbwT5bKMpJjKdppkd6INx7qnkfO/r4UkJewdgiaK7uv6jYk6j6OrdnGSH?= =?us-ascii?Q?jg3EvwRCVX9bDIrajDremfJFToFUFr1FQ0Isj0+31QFrDVGdwRBYwmX0GPGU?= =?us-ascii?Q?C/ICFXddREB/OBgPpiM9nzpsr87fHzlSF29iXigiKtqYPVZcith14hXvCky6?= =?us-ascii?Q?Mn3bCmtYAdRDBOlCL9De3p9Ka1qJDLOFAjRaK+SSRgpLGP7KjA2DezNA6zga?= =?us-ascii?Q?yATZbcILltrjyV6qe2RVkD0XQiiDB/sqJ7cydcYHfBhcUg3lpGfDcImY4ell?= =?us-ascii?Q?Yr4cvNkbivc4MmI8k06rP2RtM4pMkzRUL0Kj5ccEt4nvriCpfGGpjsons2iH?= =?us-ascii?Q?+zCmWxPQtSdJgJv7JO7byvcZOC+hXTuOWMFPuEAqtuhkIa5L6woxCmXO9QsX?= =?us-ascii?Q?KAPVgd8+lV1P1wtb8QptaTPBax21eWajsypXRK9sGslROR/iFcIeLieehFrT?= =?us-ascii?Q?QHmaDDusYiTIklUxcoXznl/JryraYi7+9Kn5QmG+spG8HWToWljBw6gvZTjc?= =?us-ascii?Q?4Tlam8t5k0cLUm/3kE2L5KcLE/sGtlQjp?= X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2045; 6:NDzABdF1AA+IurYA86TUeU07CNUsxhCm/jMakosWx7vfS2ucIgELuHcb/SSe+AONELCOgQssiuJibvufEgUvKWIP7+YWywbRvthL163XNAmvPXO2hCQvc4g9e6soBf5KdT5qhY+27QM0uQf4XTOIFA2ZP/0ktHLE6rU/pdQ8vlcCQQMB72XRAhYsZfXWHWdC60I9OeDqEFg627+bAQNSLFohAeP9tK22P00z8e6CQ6c3m8zN/CsRyGip98s7q+OQYHF7zmKcwzoiPwFPJsYYaVrDG0hYj/E7GUvUs+oI0MCzIV02p/7yCPU93ADKUxr8L6kFRfSRX3FYj/5zcXuI9hpl7pjG3pnXI+F4gLiCKHk=; 5:lDPSd/VG/lxN0M6wUgYyClIOR93DnnEWRWTNk0OCiqajSZnKILD7cLcLVS08d/Du1JT4Z7q47eUUDVYVK5wKhRkTSfsPMuXWCGaBkAoI7pEXb+IKdfcAUssxT+VTO+rivZLjgzYIJ+WtoRGzEGSlNxXu+EifyG3woELjtOuZMjY=; 24:7h2N0t8+xrR8CxkbdW7HOickYQs4yd2Pd+GFZhEBJdfk0W/IrULUnQx8Lw7IryqMDD9lZMWJjshMRXEymOvViCD+1AoEQICVZ/NfMtNTO44=; 7:/vNwU3DEUdfGV78r3ZZ/JKn78pNGhQfHnj/EyPFBsNvJEf1TfltS6jroNbb4P1rekjczHk5ap/upOWS6RfWvwvOVdW18/eovRxHvEbF5/ZvJYanKKBMOs/LHCgrcI18vHQ+A4JOC6LITFprEt4hMvFbXVvDjSr2h7dMyz2sOIY36WW94vHtq0JNKwno0LQzPQrmoLM2T8RDFdXdaRA2haoyr3MFMSqnJ5BluFsu1uErKb+t3owBRUbzZmKBzp5OM SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2018 00:44:53.8468 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 86744b17-6a24-40af-485c-08d55ed5dc29 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0501MB2045 Subject: [dpdk-dev] [PATCH v3 3/8] eal/ppc64: define DMA 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: Fri, 19 Jan 2018 00:44:58 -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..46490f2b3 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_dma_wmb() rte_wmb() + +#define rte_dma_rmb() rte_rmb() + /*------------------------- 16 bit atomic operations -------------------------*/ /* To be compatible with Power7, use GCC built-in functions for 16 bit * operations */ -- 2.11.0