From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0055.outbound.protection.outlook.com [104.47.33.55]) by dpdk.org (Postfix) with ESMTP id 214BAF93C for ; Thu, 12 Jan 2017 10:18:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=amM1Wrx0MpWbe6AUxmzequUydfya//17WEbFXGvg9+c=; b=l2wLF4vxxF4APtKQwlorgnqamrYkCLkUgIB/kvahcQKYLQEF/0i0unVwc3AupTJSfBXwmBjY5lQpR+Wc3rNXd7qb3VT87jQxbMQz8WpdfGewgOpPd8Pwkt2V103xuGlkvSVIByPn+DjQtt5taZOjrAWS+OFe5w9tj708t6WbY00= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.caveonetworks.com (111.93.218.67) by BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Thu, 12 Jan 2017 09:18:44 +0000 From: Jerin Jacob To: CC: , , , , , , Jerin Jacob Date: Thu, 12 Jan 2017 14:47:05 +0530 Message-ID: <1484212646-10338-9-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1484212646-10338-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1482832175-27199-1-git-send-email-jerin.jacob@caviumnetworks.com> <1484212646-10338-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BY2PR06CA0007.namprd06.prod.outlook.com (10.166.106.145) To BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) X-MS-Office365-Filtering-Correlation-Id: b4f02e5e-a12a-4c8d-68c8-08d43acc047e X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 3:bt9YDG8GuOxxtMb/cs51VDKUMUKVuu/nboimCI0+zz9yjCtvUjF7JhuRnGeyWbnNBLVGgDcLx17qONy4HwLvWUbh29RaitZB6DJwpgZvny4oONunUexY6h3z3r0pDMZbYISHc+RRvLgCg13qJcMDDZ6IWIJ/55i+gzADtFMa/wxmAkhIhFKorub0MySqcR+LW439SGjAWVhlGtH1cOe8pBuywKYHaBKXawJXwZ4jbVX174GvBwWpc+wX2ZVzjpUi/rjPuy4CNJyVRkN7Zx6WUQ==; 25:N7cokBHKEGI5A6GN4ippWYGJ/gkvi7ra6HzVyNoyok+Ex5YjpHoULUbjZ1m8gk2IQ/AdVUrIqLTSLu4VZvVaL7JWRIlNxPWbxlZ1S9B7vjfP5HYHllheAiW3faaXRtTmxVhQIs293kqzRlalCRhWEGyGRNGHuMTO1IkIgP71txiiqUZTAQRLk7jX5qHJX/2Re8zJ4qAjjVcVDc3MjnlXHuDNobpsHkVk4KsosWS3gp0ipxxIedXTWVcfHvFlH+RM3k0SQDm5N32iP3oahCHYcnumTdIRJGQE5NzY+7YkEs7XLg+F0sXLve+sPP6fgObTplZCJWhpNqp4IiAmprSJbNBWosZXG+TiTYaSQ90L+y1Pa1Fu9kkvW5TXSpILpt12mtiqV8I7xKWdvWyBVtSZ3BngqYZ9QprwH12J2KUiQpL1dN32uqyfEyh4MfQ1g05azbAvDcZErR05dSA7c9vFgA== X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 31:JypBDk9Sm8k1vzOxCH7a+krYuhBsz8/oq/aG5CeCOSoeGTtMyGnxiEHvxeChrwjy/PMLL0f06sMjVbxt8hTtVav2E4mb1rsYTKSj2f7IcQ/XOkY/sDDgb2IbaG72IaOmnOu/7hAXXdmMC4dQlTokwfKWXw32QKRyzDtVlvFMFHJJWPa/l/xJ5Diw5HUUrDfjg51VdcQNTl1zANBCP4ATDbnKS4JQ85v0Ccd/2PvbhP9d+iNSN+ug/uSbj1NWbf/d; 20:45a1hrjQnJ+26LCkUoDFBCRf+jQN78AyF3BZ1U4DHJnZkpCA5ON0UQgzVSzBT+qdKYRlOe6VEVCBjazErSkmsih7PDTmDHZ1q4GKviBAvTW9J3Z+87h1XyzOXEDT77aaYRBnVxeKSJ155m7M+cyspBcb12nMeCXROpc/QnS5N9a3ByTvW8yEB0XE3L3Z7uGIIYVQCA8VYky+bMF8qkOjVds2MzeE6WbNV06NFH//W8zaP2uVn+ioObrTCkyJ3A5xohe9gjNsWQ6QXHC+eifEtC5fJGYM3hSfuDf9OG4rDDNMxKW86YP0U6J11TfCP4m2Qumvc8bcsjfHXIxVkQgU7v8wyTOyKjVDqPWYfkB2s2xk+9P8I3fzDzo8Cw9Bxm5Z0ks6dO6rtwTwzbJOHbE85+yWCe1LHzR3cO5qAOoeKvsIdl63cHiD6I7/LAQH+b53FIXQYIHJk3gjDMJnsBsU5v6V5sy6OOKYJqyTzjBVQ8jSKfA+cpa+n+R84t+Zz2OcVc0aIGMIdtamHqAarc4VpvgIvavQ5ifFIHPoKYeS4RValrSAKM9Xn5gIOhuOB5qtu9S2jy6hOpcqN/qTE/g2zbqCYzNXSo3MiXb9CIdoQ0U= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6041248)(20161123555025)(20161123562025)(20161123560025)(20161123564025)(6072148); SRVR:BLUPR0701MB1714; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 4:pAMbVjXp3CH0WNN5lEgCjxQCL1PYINYt2T48oZt3bGENFtPUgRCoBc4PkXdKS9t0kNMKowUwz95Di7RT8CP1IfyA4yYs6KZlXiM3rjhzv2QWdP7DJSLx/P5uurfK4GXtqrI1mmH0zrs/gHt9SeuMoI7iyIRds45q7zlagRGBNSwygYAcwPu9QAX6NFjIWpxnGL2qbYjuXV75KxsJWBdNJEbNt++U1PfcVclQuCxsbQ4pSakXmnRIBtK65oBQ+n9p0cM0RZpgABHXPBLf01DvMbcYMVVAGUsEJFMAGlx9JExH028sFXtpzT5aQOdeGxHIQ41VmV8NyuEjxn43bi/dMijaq7+nbBmRC8rkERyicbmOrXiSxf7Xo+KT528CN6LDeEFkDfkdn6/zVWSFcaK9ynpduYk51QzpVEVO8K9lcwX1YBGa9LgFfO5mRA77x4JtS/f3KLsRzLuTRvdS8NgawJfJ+boO13eLOSZ4g5Bo0gfww42f6N7iY9WbBudQcj/MA7hH0WXipHpxeQAMih9+r1Nqz6OWIkQ6oWAJs7DdBEpS3j5cAm6vQ42nhfkARa/hnRjHlaCEjNfq/glKyWX2UA== X-Forefront-PRVS: 018577E36E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(39450400003)(189002)(199003)(2950100002)(53416004)(76506005)(92566002)(105586002)(69596002)(2351001)(42186005)(68736007)(106356001)(42882006)(6916009)(305945005)(2906002)(7736002)(50466002)(48376002)(36756003)(5660300001)(110136003)(4326007)(97736004)(107886002)(189998001)(50226002)(6666003)(6506006)(38730400001)(101416001)(54906002)(33646002)(5009440100003)(4001430100002)(6486002)(66066001)(5003940100001)(6116002)(3846002)(47776003)(25786008)(81166006)(6512007)(81156014)(76176999)(50986999)(8676002)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1714; H:localhost.caveonetworks.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 23:bDABuq3CnaUf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1l3XRxqu5lmwp4bq2hDTp7ldhH7iZo6OswZYZMHi3+X2U6MmNGyDslGz2Cm6DyLLZzbm1q8/TUdnk22IZrpN3NVT60x2wVqt/oA==; 24:a0VlX1Vh5uksAgG5r0iL07ZFJKmuw5pco1i4HlU/4SNtvldqHofMRPJxKDOZd1UXh7lHcvivrhBuuL3t7xsG4diO9+EAME0ntdwKpfHMivI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 7:NSeQ3qhh/HeNSj66mXNLHVi4snBK0/MK3BnEw4Wx5zw/IXy8O7tvcKhTqJ/m7wT338eCZi160P+Lni+NEUhRo9se2+i/9E636TnW5PSF3bUyvwUBKSTOqCKp1fNIbnzWzqY+rC/ydtYpN2sbopKDZ/Mwm8ateoe6Dn49Yk9gsh/zZN3S4UgJLHLKyXpIVZwjGb2o04iC0xdPldZUp+6pqHg8T1WNXM/UqsfM9/1DJ+jgcX6ZdrwjGyO+g7NO74aqqyo6GpkyxLgILNAwNmC+LZGd1PkOO5VyuClCp9bXAb9zt+rrWfQLQuVIzCRpU5PTvnL+78dzUu++mEH1mTIUV8pB6CK0+CxiP/ygwRGKbuYxZ22IGR9A4KsxV1C+QuxMUyTivGVVaFqbuIrwuSuEtE12KWDCEnQQUHEYiAqF45do52hRQBUcEbBQPmlNqk8kUt4f3oPx1BCdHvTTMyoTzQ== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2017 09:18:44.8635 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1714 Subject: [dpdk-dev] [PATCH v3 08/29] eal/arm64: define smp barrier definition for arm64 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, 12 Jan 2017 09:18:50 -0000 dmb instruction based barrier is used for smp version of memory barrier. Signed-off-by: Jerin Jacob --- lib/librte_eal/common/include/arch/arm/rte_atomic_64.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 bc7de64..78ebea2 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 @@ -82,11 +82,11 @@ static inline void rte_rmb(void) dsb(ld); } -#define rte_smp_mb() rte_mb() +#define rte_smp_mb() dmb(ish) -#define rte_smp_wmb() rte_wmb() +#define rte_smp_wmb() dmb(ishst) -#define rte_smp_rmb() rte_rmb() +#define rte_smp_rmb() dmb(ishld) #ifdef __cplusplus } -- 2.5.5