From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0058.outbound.protection.outlook.com [104.47.0.58]) by dpdk.org (Postfix) with ESMTP id A12DCA56E for ; Tue, 16 Jan 2018 02:12:29 +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=FKUtaGyTurz5T7Ck0drE4QLOBD4KJ1z5o7x+7mYxx30=; b=mNaH/8FgE+x2ttLj+f5HoXjsIdMDZTHYdmOS8JMbBPPxlWmyNBwQ+Tq5JBK+RLQivsI9Vg1JyT9iScW2B0PLMmyYiR1eKpzZGw536a9d7PlBTLvnVPTR+xNLTOQ8ZJiIGBDpZTUqaT3yLCeE3fRe5Zp/zUmnrr9+AMA8G/dWxrA= Received: from mellanox.com (209.116.155.178) by DB6PR0501MB2040.eurprd05.prod.outlook.com (2603:10a6:4:6::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.407.7; Tue, 16 Jan 2018 01:12:26 +0000 From: Yongseok Koh To: adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com, jerin.jacob@caviumnetworks.com, jianbo.liu@arm.com Cc: dev@dpdk.org, Yongseok Koh Date: Mon, 15 Jan 2018 17:10:46 -0800 Message-Id: <20180116011050.18866-5-yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180116011050.18866-1-yskoh@mellanox.com> References: <20171227042824.33373-1-yskoh@mellanox.com> <20180116011050.18866-1-yskoh@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [209.116.155.178] X-ClientProxiedBy: CO2PR05CA0073.namprd05.prod.outlook.com (2603:10b6:102:2::41) To DB6PR0501MB2040.eurprd05.prod.outlook.com (2603:10a6:4:6::22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9a0a1bcf-d708-466b-f793-08d55c7e35bf X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(48565401081)(2017052603307)(7153060)(7193020); SRVR:DB6PR0501MB2040; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2040; 3:QKsPS3iYbf3udS4+XSrbqtg5AcWuIn0qNrlb+aVfQnHyuhsfQ+V6jVVE0yC+kpQYqpSKmMqV5XMP5WWY84jrVt0W688Ajwo3PaiKAScAe9EdtYwoTJG6eb46eA8fJCYruBHUzS2VfQPzA3uqQNeWWFkVvGlokIuZp0gqd8F5nMQ+ezAUZq4IYyfWEoVNFjW9UmFjuBJvMdHdQmOQSjLSLC9iQTur0BLoXFw4inXjT0WBuhfIjTEYa7IjxHg4g0PD; 25:S1rfOCK+GpYqEt1+NXo7VbDkDk7/cWTwwGAilZ5N/Vbx6P98i/azd3SRo99aD/iRP2GlMJHubjPwT+6vrHWDCRSyTCgPVrIQnyIfS+Itvo4p2fPYCoQndr4kYh/y3v6LFgropSIkAh3SHSYZT+CvXORFzXw/Tm26iohx8pw+UsL1j6dhsyqErkhozjRlp50EMvQXYfBSNt06jQfwaFOPTvRrLT5H2ax++gZF8hEg2Qqzps3cV/bhQmJSwRJMVU98cZx04GBrdTOOEWqeRR6ru/CgbwHEu3HQlq4xw92FMGHGPTWxefI4mOONxBLmqDF4A6wN7WZoXxeJIwlJO/nc6A==; 31:IIzu9e86IXW2FEVq8Hg8js5HsH5gFbxH6OEh8igbd8CSjVx2174m5UyrS8/tSDlMBNuvgSLpbphh01GpN0JMYDd/qgZZ9DLm411mh42LLLIs5VT2sEpUs1QhzAUFdiJ2W3C9KNfOZxOsKKH0s94m5WhzbGUBJeUdxRinxYTTFAR8RA2Bh3Ck7O3xY/qq+IB5y6P7rl+14QSxvjNWakmtjxfdpEW08GC4TCCzwIO9a98= X-MS-TrafficTypeDiagnostic: DB6PR0501MB2040: Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=yskoh@mellanox.com; X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2040; 20:59P8/ps9qqno/MvMGXllrkGrw/nA1kC+0PYjF/QfhjV4SybhFwH5rTdpGCUT3nc27UQEtLfM5O8HX8itHJ1qobxZjnAWsbFeG9Gxa00jxR8aRTopS6Li7k+ckij2y34FNC3Qc6IrQ7LGrWExBceVslJbUSs4iWbNttBpjZIP4WVNlcIDvfYqesPl8XC2CyY5kQuoznhboiA4xQxCir1FxwUHN8Lz3BPZ/azDknI0m5gpGxMQ0YOtaTmN3S6/T+U848O28wPdQMdf7wJOtb4YJLvIkkBvEf84VXN3dqRUOWKchlK+5Ft1yvkavgVIvkLTAg2bb3BI4T+p48NVN/PTGpsD0ygaVNjJTHG5xnaaJ2n4EamBfu5NgkXPk/9sjaq0HMUxvuZFmKmwDL663imG9xfDpJlCx9NR9Eg1mVFMsDcCdHNDSNczBWDXRXT2pqNFK5bv+4mSw3Rsiz9np5wsqrWww1WnctnF3udTNVOXPiloWPKZbfVCnXGROAuGmfLF; 4:wzEZPfK+rHHm3elvmoUpTPzxlFfa9vkBcQwxduiIozjlTBnnBYMoRXffiPjZNax9zRBjSPssnyF8PowoEiAvfgljvlqn3uw46yAm3O99IYNx6AIHyNwU85ddJFOSuMEE0Z72g+5byKMKUqAXTmyD7p2jSqOPyUsGxtCQxyIh2vuY2zNKXFFyRb4+U37Wl8OrUYF/HH1o8XizcH9CYO2hxLPwmwJH3A6msN79RoqumTYATa5MNLJIhC2oatdl/rodmQQt3PaaH/wsDsRTbJc7tw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231023)(944501161)(6055026)(6041268)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DB6PR0501MB2040; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:DB6PR0501MB2040; X-Forefront-PRVS: 0554B1F54F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(39380400002)(366004)(39860400002)(346002)(396003)(189003)(199004)(66066001)(105586002)(106356001)(86362001)(97736004)(21086003)(316002)(5660300001)(2950100002)(6666003)(16526018)(47776003)(16586007)(76176011)(7696005)(478600001)(81156014)(25786009)(51416003)(81166006)(52116002)(4326008)(8676002)(36756003)(386003)(107886003)(8936002)(69596002)(55016002)(1076002)(53936002)(305945005)(50226002)(7736002)(2906002)(3846002)(6116002)(48376002)(50466002)(68736007)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0501MB2040; 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; DB6PR0501MB2040; 23:lTYf3kWTne5YHw2HsSD9lg44aD2pxrSWX2Gl7Gg?= =?us-ascii?Q?LiETo6Q3cgPLr/o7a93beEz7Mtiu32D4a0aY+FYCHAQS4bFr0A3VGdDZ4X2o?= =?us-ascii?Q?UcsRRt0YAvHgfsC10eYbMXBapPTbc7JaTIx+57jWi+1v/bgA8MFlB34izNjB?= =?us-ascii?Q?rgEF90cDNJBY0vEqAUjYCC1YlxguXEk9zWwwSkVi4qSYYqxtL9RPMJUx3q3Z?= =?us-ascii?Q?BauPRQ4Bn82wHf47dq62hJ8GuKyFNZ7TUi6oY/FlgZ1EnSno0I2m+r7ZSN3B?= =?us-ascii?Q?Zo87oelWHGwrDnXO+s3M70MUbrWyYJ5NhEx9IzqbwR2vD+gRzF9pXlBcVeyM?= =?us-ascii?Q?sJ7dVUY2ygfGcl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2dVd3bCdt1DgUsg8ZbWC2I6zSZWtvFzr8tjR3ZjQjQTReHNZxtt8NMfQ2Yq1EwP56K8AHJRvVpDolJ6kwq3IqTkbBXbBjU9amWF/57oqYuWTlcCnfEE5HDzEcoo7/iwuk3vhmx6S+mS6d2bX3ZuwuYWYmhGuGGSCavJL14tlPqb82dKnNkw3kRt3B7uU0Zqz9eI/owsNsr3fng8zPJ/ltawrhXsEM6ObeVUV3LnUG5a2g9i4lE43nzgHEhOwWghFwJJjsyaGeOysfrwFAk4XZ4YXtq0MHPcuJLWxU7ONAV8DW3P83qG5GVs=; 5:nN8aTxbY+h3jablYRVGQMAzbi40urGWUVVZuy2kPa3D9gDeGALwlsrWsCx/0QbiYgi/MuvtpkAD8J4ZMhWsG3fNDgR7R/GXqD1ioQxFNfpOs1c4E3D39776ggYgc7zMpyO12ySendf8od7oi8OpIkl+y/B32RXQwnw8pyMB7Owk=; 24:LqrVwKEs2nmYWIIKFNfQntvSt2mGCdDCol07lVdkSqsZgbIEvA3f9GlCLhBBDQLshOEvBwA9BhZ20pt9oBV0vR55eADCKvbmXK2/pdwDFKM=; 7:DJOAdxQ3ndsFYGX39av+78s4Ohw5a93rDfFTryF6fLIYcDK78KL5WrXXwf3FDdxwp06v98KyPXcmcFvnuQT8hwff4D4Mc4uMgE4yUGSIkZTNb7v70jWJeffw4FpctwRV5NRq/mzVm8vByDPmVPgNzaOCt6FLT+NHOcVBARg1uOQJkWfeDSbcEeKpcLt5fPX4IQusSzLmGmW1kph12WLlgCzsieB44LwA5Gl1fix5jjWKE+HWgREpxhus149NaGAg SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jan 2018 01:12:26.7388 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9a0a1bcf-d708-466b-f793-08d55c7e35bf X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0501MB2040 Subject: [dpdk-dev] [PATCH v2 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: Tue, 16 Jan 2018 01:12:30 -0000 Signed-off-by: Yongseok Koh --- 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