From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr60049.outbound.protection.outlook.com [40.107.6.49]) by dpdk.org (Postfix) with ESMTP id 2D0871B337 for ; Fri, 19 Jan 2018 01:45:02 +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=COVlBl5l2mitZCx482cmpgBanCfgXuQb9dFAIR6081w=; b=wq/RVmOUZAXkc/gF0RFPr13R5pfBOzq4BRU0f8MxzUJzKqFJPvRcNdd67DMbenjPTOtTzxgrRMvgNwPxK2sYCARacbCbAY6TI0w6O7fVyfT7tkKsmIHLdnjiQofZkMHDfsT8BM2W/k4njq0wrIHhGDm0O2bo1QcAyaICiXSQeq8= 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:58 +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 , Thomas Speier Date: Thu, 18 Jan 2018 16:44:27 -0800 Message-Id: <20180119004430.15305-6-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: a7409dc9-2917-4aa5-16c0-08d55ed5df1d 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:86XYT8zdCL4AIgAgiG8eNi722s3Wz9fvyZiP5kN23u/ZJ7soIIjO51M8rfe2ODPYsvYNv0bcsKTDKUdN8grePW6JcmE9ksNs46YpzGdUGdvcF0t29BhpzQ5eB8gGMAMdQbuPM0KSwi3FB7oVY9AlqFf9WY8MQQSZJrNvzV984N+d+IUO4zXWy3fTzDvGQi5RbdLQuVdHq6K0XwkXLo/T4fIyqzZfjp9alP2eHh9/vqtc42yz8QQfHuDsgxl2NdZB; 25:yBIgid8VYdbKYkc5tDNB9tew1NPz0KG25KH6WbjHF/AMtLtm5qriPcWI97H1CPDlyZPZ8kHFj7TP9U7NwnTltakFLxJvxWHWqlbS56fU6q42yO60qI/JE6WmB2b6PS/zoS3rZVmxzNN37o0p+Fqo5QO5ss2BQWWVwsqyOCSjhjbHSHAh778x4Am2vB968rnfgBQm1YGVWeBhgKiLZzx8kY4EqZe+LoVPAla0S+2tu/cQQZ71CivfFZnhkXqD3prJ6UCkypmJbkYCkF7XgTj2MO6NTNl6/Py7ZQQ2arzTEr3Qt859IJzzwbaSMgowa+62A+s3JL1N4PuweNqGkGUXbA==; 31:zzna06Fj5JhvxrggsR7znRPFCklnlT/jlqooeG7wsiHCefhW3gX2X2hCR06qQI6/Im5/6pq3V/JhHPLd97SVw5mQTNPGkfWLOrHtl+EeQiRxEmAmd5/YEAQGetPGBFwtnQfAlsoQn22skKx9goj6RaHB5/0XOrACJJHb551lrRmSmKDPIMNLBqPM/N3asQ5CiSORV80dUa1R7rWDqAb/sxeuKNBQoCGc9rhoMRyMGfc= X-MS-TrafficTypeDiagnostic: VI1PR0501MB2045: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2045; 20:6l86S3NuK74Dugs2VsBS9fZPVpJFx+pzOiiMRNkl2sWm4js5wSm7Qhp7zGD5L94Bn3XMkC1DSPZrcl+oDyRe1wh3fCl7F1pOyhDp3RW+a0Q/lzdGbc+PdeyaQLvB1a3a3TYAMQNWPyuj4uIJxHe6EmTuNAAElllFM4iJiEbika7Yg9JFRlb7b5JblNMHRUyolTTmwDB61B6SvcfdAC+RDIrbBU4KBIqcq6WpZ5m61j0RDJLrlm47+QPGCi0VlxCUTuna8RvyzY8WK4HLAB3DTc7gTTRHXNiGYBeO3VhLGtq5pYZfSUGRnfAqo5x9XQln201cpE3v4i+R/3l6jMfUURAOiqa/98e9ZkxJE2njZQXpw6bKLJXdEqpWSsxxvUNEjyBkgbm7Xoy/cq6kL9V++5y5x7aHlv59CrP4b7xOctZCcLxmrUAj4HGREyMiNoPzN5I12R84OIA5SGU4N2G+ZTqoAhUgwN2CHNhUI0iG0K3tdYpegbncIsDCBsbLJeZC; 4:UcWDHrG+gq+UN3YJRADuL/JNMbURVOLdxy/t2WBK7bVTz16Vr8bL1T4ziWoMKE1c9esm+1WyyBQvjnpwZk2XMCNRRPjHmVrNEONA4ufr2vVLnUy/x52etQweS4B1Ai2tqxxPPALxIB4cVQZzfUcpAMZ66X9fQMlvN/EkTw7naNl2bYfH9+6Jl5m6P+J5cLbB4Yz1XLt5j03nwbNI47Trz0xecnhOq0pksTwtjAbEEkCn8TCJxmaCV9ILyqPqcuzxGfdlMpb6X8K1bXVx5p7hyzTeYcqiN73Ch+o7fL7+df+iTPP6bI2jNDnTXxdubvTI 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)(54906003)(48376002)(50466002)(386003)(7696005)(76176011)(51416003)(52116002)(4326008)(478600001)(86362001)(575784001)(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)(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:8s1KEmzHJwui1nWWMOUoLfMlKZx/oA8Zd0MDIhc?= =?us-ascii?Q?y4DpCgYXkb5tuTx99HLf4pEhZyUaN2M0w3cLbKi4zYgLAg7BB2XsGbRl2Vc7?= =?us-ascii?Q?egbXPhjIqODjUeKoMnrO/bf9HOBYQpdDyS6qkoFXRQCx2n80YCuxjc6WprbQ?= =?us-ascii?Q?SvHvTrSmZQy4Q6nwWi2eH6YTOwLwuTRRUtmpAZKp5WWYZ8beKlr/n41vz9aG?= =?us-ascii?Q?pxRm+xnV7R+m5RLPlFRlHLNmKWSZ5tkoqmHWmE1mOTy3xmk62llFSF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+gOFzYNUHi5WAM8ghsQEX7jDQ=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2045; 6:073w2X3x8O6/KFHPqCdNK0/59TIz/OBUQmaGohfAh5aaYi3Jxmo33LmbOFhf/jSclg/nxnuAtlrMjkNqL460magAPLLk+hb0vZ0Q1UJAI9GcX8eNtzQdGM3HiHgMn6PZjXZz6b9HqLIMHdif5Wks3DWFCiqHvc1H9BmQzDSblBGeQjUSmfj2lMf7V51VtNFaNk/x0FIX58UYt/sBClZvTZg+98ZbFNDnsldT/6qFPp7xuv5+VrgWsJaymbuVAffPNWoJCegP6hABG7INqlsBuVoOlbjuPJ+dXKs/5DJC1oC0jYdh6r7L2u+TZlpB8hO5rmxhCuyAOUDK3rpAY52Oah8RxvVzDLYLxXbE1QPL7kk=; 5:+6g4RDDnuMkLoVBMRa+//gZJgSBSeNik1dcryxcHtqhqSOBNQVIxj6I3tlL6U7flsQ8oVfH/cost6BuxxxVKDVm32/y4snFZCxdrQSxEIslj3SbxackcTYmOB1uBEHtHUTM1Dxyagavyp6g10n1M4V+c0vFXvyEjIixV6b5ZYU4=; 24:OA+tNRXRI2XrrTYMjyyFV7Jer22ybaZaTWCrXY0Bs1org24q6OZOvX38Q12tX/SUaAGNvQDYA7JvkQoMa8oEPJYzWoU6hEuiNpbOf9zKCB0=; 7:Jf3/By83nFMjvgDS+WG4fN/iBz05sGZTAAm9zj/OHpoIRDUUhmgjN9HgfgJYGUau6c4rppRp4nOWfyXRweVbc7aGZqelJNxZdih+WJPACQp1ByIpaIv1MFoRAoFgp+HnIRMxi1MkX38aISWCj77myyElxor9f6nhzCUSs3DTYhkQa4moOeKg3zV0fu07THCgfRSyS0X34Gxe+d4IlZMwbg8NaDdwjigu13OvmHR939MiNwgNYag9kwUL7ivT0jVr SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2018 00:44:58.6438 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a7409dc9-2917-4aa5-16c0-08d55ed5df1d 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 5/8] eal/arm64: 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:03 -0000 Cc: Thomas Speier Signed-off-by: Yongseok Koh Acked-by: Thomas Speier Acked-by: Jianbo Liu --- lib/librte_eal/common/include/arch/arm/rte_atomic_64.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h b/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h index b6bbd0b32..202abda79 100644 --- a/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h +++ b/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h @@ -36,6 +36,10 @@ extern "C" { #define rte_io_rmb() rte_rmb() +#define rte_dma_wmb() dmb(oshst) + +#define rte_dma_rmb() dmb(oshld) + #ifdef __cplusplus } #endif -- 2.11.0