From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr60059.outbound.protection.outlook.com [40.107.6.59]) by dpdk.org (Postfix) with ESMTP id 3EFA51B2CF for ; Fri, 19 Jan 2018 01:45:00 +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=Rag0nOpkYZpoTJWm00DSycxZE8hpDfH26qQ76FQ2Dd4=; b=JFGeVKpPoL+UtnR8I9UqG1jho1Ljxvs4M+m/4lGITySZlB2FERMkhViOnxeO7kfIKkapsTrCKPVRhVFFJ0m5cIp/ntQn8qQIy8ZabdPhebFf5YgLr+o5ZDq0ElxUQeadhN2uVMEpepTw09RJAOig/qC/luNhRCHEGW6C+F/Ox3s= 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:56 +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:26 -0800 Message-Id: <20180119004430.15305-5-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: d30b416d-4442-4869-1290-08d55ed5dd96 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:xM7ZXHbStYRwB6/8qXx6zKiJ/DAEq3Qgy9jKAFaOBCpHkRe61H+Il1IDgGTNguYKPEc5cjzp0cIH1uZzFWvfXYd3I3Lc7GJOKeOP1mSunDfNBuG4nZMRrELn9AFkxiGvLTUZzQyZS+JlvXmvJ8gPReFFiXfhzerLBJ0ZJZ/2L+hYmRz4bzgzbwmuf8TuiEZjXw7QbZPnB2kBaonJ2picUL3JBPARxXUNBmehlupb/JfJqsKjmDxwCqp/jF6Rvw0r; 25:iOufN1v9jJyWiKGbLXNtnbU17mKrOt/SrfEzMJ/wSYI09lLZs6vH1n6StD1X0st0KYOcclGOMZxgTkiun0zTKyAuvh4+AC1XlMVt42RBrnGQkW4ysrzh5bqj8iwTsblM0MIl7qPbXGGnrdSfYcrXbZWmRhTzRexei5Otg5HvcHnc157lj7Sjg/bskqgiJFgKBxLWlcBE2cG4qwusQ7Yid3Ozv9Rjsuj5TUGJP6+7C22gzKxvHcj/lo3Ny9rAjWZLqdTImaDqdWZfkyZOZ28q+zyMsbWiyH4REKVWor1HpQ+NKAjIM+OLHuuDgXprwY7HpaJx2V+yt3zskVvLlR+Qlw==; 31:ity78KOLY6AwrD9oYIZOIS9ior4UypDHNZVS9051FXy0JBgpNcZvnL2L2JUhvQHhQMk1aVwZIpwPscVt6d2VRR7fsl1xz+Y2wZ5bMv/QNMv1tHlg240lIwtauwAEDioGlGm60O44zBfZwBx/fUPOR5qk8wZsEYXNOvR2VYQKHgD+QWLJmn51Jh2gtTjfVsYMyZMZRTloS6LZmFJ34Gp5GXDqq5vzv7RjCJTU8YTR6dY= X-MS-TrafficTypeDiagnostic: VI1PR0501MB2045: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2045; 20:JEwixf+KDDorrIhKlHuhColjWRwRDCQbRIxqCi+JYc8FEcPXFSDfnDSdHN8HuEcQx3xvAhkQxNMWCQoeoydODya3QiDRQDFDN0Jl58cmlagnm9Hu4nxgUPAD4ANUSRpoChZ68f4esJ5Dr9SZN8iWpjSYBZDWE7uTxiIpiPinEcRUoetxE2hCfGd7levIa6fYapQX9Q0SdrVHLBriMzRINfcjSJ3IfOSLHVB46+kqzrr9smx3YFuokLZakzJcANa1f/3TSsfNWEKSE2CFxre12lhp4meRJ/jjbLXE1n9E7D4H5Pbk9mdivWTx19Aw2WTaIuuUzHvx9yuG0faxGpv4Xf/r3dNeQH9H9YGrhSLwZGJG6wzuFEqu3MKJbnNIbE7gSLa3HQAc3O99QdmxUhgr23AU9h8v2X/eLDsZA/V3+nq2KRsOyAK7/V2vn95u8BV8R5vpyZH9fCkN297xe6nfCLMaQDb7PWk7jJ1MlSMJO3+Z/00v+53yiC9+M6KVHjTZ; 4:r22QxPdZOjGmlJOOqJIhbzce90902n2HoKx8pG8U+HjKILeo6CdMeVwI6CUFwSgQ/0IOXHzaBW48Ue7hDFiDG/MWscliF+hZR3+TXHEHacOxhFJbnQ647EkcyIFXtPhZ7Vepu9Qt+Lk2RLbaSiMR7oYL6c5XrA2FRO8+Ek2bw/R3Gj4BCCIQj5x3JF26c9WwEXusBaUi4NwcWh54ojbPQ9GCl74Mj9cZJi6ErakVO2j8Ox7jzpWE6nqsOgw082gEp0+7l/WsXghv5Jmy8wktiT1Ub67YVtOZZCwHmVyqVhQ/nXcBL/5TeluWwt/wKq8V X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917); 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:A/OVzmlwcwOTmQWkd2t4akdHohvzRju5dUW2hUB?= =?us-ascii?Q?efawgnyPt+sCLflAmA/WtvdC7qOmOiGOBCfcR3ni60IsNDV1YcmmI0RqTuAc?= =?us-ascii?Q?HHxOH6jRlgv1pmaEV2I6Np1bPdPq3u6EOVyESfo3mqhAyapspQvBit4wj5OR?= =?us-ascii?Q?jG+lBavxz+DWXelieSYUHB5rWg0Z3xHjb4IXwroDC7nhNeVh5fqHDSEw4auT?= =?us-ascii?Q?3bAAFw1NM8+OU2+hfz37BSpeEzAL1qriCH4FxV3HuhL6GOq29hemdnTfZY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oft-Exchange-Diagnostics: 1; VI1PR0501MB2045; 6:TUN6+Y8UFegYvvdtoGbCmtPklZBmxJlxbN+VG1oG8ILqvEDO3VKiCDQF02a8Brgn/LgdjgcmyOA7njCLVuLNkvGDNgKSyRX/93Yr5/RCh9u+jWO7iRfB0q9ThSfmjbCQGYw/YfTn8Nahilq5UOwfhRAYDKqwvby/raFYhQt1j/qqnTohK4WtSAKepFCjMHhMay2nCZ1qEVLSM8uUTjKaXCaRbfFx8vfvvAJHOS7Sk3Gb5jYbaXTtCTx+vUGURoQRlYmPh+5JMLo7jMr8432xaE7MXPGJJH5gHarKhig0eanXTi+0/klnzaVPmZ1tImacFAvR1GxAnKwTRwJU35rdUL4m7qNgD6joo0MM05ykfYE=; 5:ZDPFXzYf/Vqud+HgPcBiLfyNwZZ6YTYDPVfw8pewzlDWOdcNO7y2EZpecKMSH1wqXX7wtOyqtckJ4rbbz566hktgN3TtXPxzo+oOT+8IorBBPMRFuXWZk85tDLd4OVzBWx/bF+pY1j3W7TorlnrhDV0tIM4OEJ2nxK/gwoejxLg=; 24:ITuAXFp/GyCavGDq6tVcvN5A6QHKvvyYty/Ycj8C9FryD9rcxz4dea1HrzYwYFJM0tys7MaKqeIwZ7IsUH1S27H/jImHSjEA2c0QNnjXyvI=; 7:aHrCSB6xF5n18L6j/rXzTezoIyAaB3687PRQMhmim8/b3fbDy40yjTEshgFk6G+k8S2sCalLpLW2o6Ed+m2sc7rgWxui2u/KHnlaQkBt0sW0iJ4mQDa+GQeEJy1P74Q5yKEbEJHWG5PV7ezOGbQ3UhxAEEyUvTWrXsdoiw94kAx/Vkw2Db1JR1RZNC3wd5VXkD3zY2/uHJpWu1UVHHsNqLE4xdlUqDx8VgddyzOPtdMMVGbxKeRugakEYjca0WU7 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2018 00:44:56.2375 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d30b416d-4442-4869-1290-08d55ed5dd96 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 4/8] eal/armv7: 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:45:00 -0000 Signed-off-by: Yongseok Koh Acked-by: Jianbo Liu --- lib/librte_eal/common/include/arch/arm/rte_atomic_32.h | 4 ++++ 1 file changed, 4 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 14c048640..a45d5aa2a 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 @@ -79,6 +79,10 @@ extern "C" { #define rte_io_rmb() rte_rmb() +#define rte_dma_wmb() rte_wmb() + +#define rte_dma_rmb() rte_rmb() + #ifdef __cplusplus } #endif -- 2.11.0