From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0064.outbound.protection.outlook.com [104.47.41.64]) by dpdk.org (Postfix) with ESMTP id 407C9316B for ; Wed, 14 Dec 2016 02:58:42 +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=H82Kj6R4p6C2BWfF8HoPihEv0aqlS6poLxjdLBIHBq4=; b=AtgMes4W+WT6FalzlRiVB9Z77TvkVNWuqWULvptVyeYSnAAW3yMXnaA9LAKosAUeyTqiJURk18575DvAv0NO0TBT5xhxJfI78X2VZqZR9DgzeqqVOYCaD8P8URwn0cqkR5GOPC/JPNDiMqsur5eeUiwFkMXW+VD1C3XpZvt0AXA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain.localdomain (122.166.91.229) by BN3PR0701MB1719.namprd07.prod.outlook.com (10.163.39.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.771.8; Wed, 14 Dec 2016 01:57:25 +0000 From: Jerin Jacob To: CC: , , , , , Jerin Jacob , Zhigang Lu Date: Wed, 14 Dec 2016 07:25:33 +0530 Message-ID: <1481680558-4003-4-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1481680558-4003-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1481680558-4003-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [122.166.91.229] X-ClientProxiedBy: MAXPR01CA0006.INDPRD01.PROD.OUTLOOK.COM (10.164.147.13) To BN3PR0701MB1719.namprd07.prod.outlook.com (10.163.39.18) X-MS-Office365-Filtering-Correlation-Id: 228068cd-1129-4b5b-b893-08d423c48ee3 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BN3PR0701MB1719; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 3:WLDRcaUmSq2feQFLyUOPFz1JjCABNQbTbl1TnRHDvuwOpzUEWi5jFgfQgwQ4Z/weK3dSr0qmxusv7UB1r/NSEuG4pkqMfrNs9dGdn7LpL5S3Tx3j9Nki5CD9F1n3+qBaU1bDBJmzNOTCMe65u5mFenEA9NjtuLXlguas/+DxopKwMvzsCwT3f5awg7Qv3Lse3KxukZJ72RmE3DyUbcdPvIjj2EqhblPb6F06nktXUdklsqni1dq4J+rNaKr0rZ/Y+31sC0F4tfRGxb7dmmmMiQ== X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 25:AoKtMF+ddnugu6LjTkWF/YwwejxIYuzLr+fXjFcT3X2gaS1N5+0zvP6anmaBWZXFSO+FFiRG9gN469stTkzsPkKeSBEKitFlX/oVtDarTtZqK7KK98MAHVSrMoeFCOGS4+08WDSHV8Zs8S80QtVUa0YBuZcEwvLOsUsx1rdcyBEPm/QKy3xZZfHuUUO+/1MMjZ+DdQpxlh03dsnytOq43k9/sUkNmc7gdmQ9MgmZ3geeG5r/6+UhX2ET+vdASgGnUgfTVPtAOq0UYnmV55K2fzem8pgQk532RqINt6lg3qTMLGtpe5tJgwWTwzwGmlPrrMBGXnhwiErelOO3COFFZQu5r2wyiaKHNg2FlJvS4BjQHM+PQ+hRgoZ/3VuRdHP9XJ/ZjTkha/+A0zUrpN4Mh1J2rzGRY0ETGVMC2ObntC5ntP12tSFFzEysZJ1wbSCTZeaAa8zU0r9pAUaGPn2W5NTYiea+yNe4cN8LA95rDxcBrh+Xj2xB0aiUBpv08iiieySO6SAZODdrig4GyZpwp4KAgTtfpBO89YTXvp0ngJTDuRXKeFTRUUIQw2RMBri1AV1rdH917NyxDdBek4R2AZIkw6r0jAEReJ7pezQj37G1F2+0PHN8aQ/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kLTVSB0isp+7l4l/ko5H6t4BMuw= 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)(20161123560025)(20161123562025)(20161123564025)(6072148); SRVR:BN3PR0701MB1719; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0701MB1719; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 4:UE0rKmvBXe+o+QNzFqWXUqaAyImchrB78ss3Mf+CFQ0cw7M6tf005YaAKa4yvCTe+CSk2UfkBG5HwRI8DMOizBjgAe/NXo3+p2Ro1T6Vhy3vjlf6T5HEVcuN8PbhycdCLr0SknskzqfyocsncQ3EkhvzyU+r0WATUep463TGLV9BqiMvFtCpFFU7ruetqiuhz7SyqexjzNbHgTS7YWWRxRU/nzdxT/pBY8OdyUsgxabPD8nx9JOrRcV/+PQNrsrCmSbWWCAUJ8jUuSBHF2tRNSMxyIHozfrkpqaWWgyyD5N7OlOgj3qQnsROc8PUVdiWLqqHvaUjWoL743e2ahydslQ5bUg0Y14ast6w7e21NVoK6NWBb1j8WilKM9HOEyLFGhYIRIzs5+XtAhHjBHyyjH0JZgKArujpN1sDXPncCfEzQJrzeIqVCod/zfiaomf0YooPKI213iKAKLjFs79ZR2maFotryBqz8bB3ywOOQuOPFIp3IufoVBb4jYNEC+Gmz3Lfrj5OXJ86YPq8GOHIRoYdLLXDJUi8nwuXjoE6tzbdoCdNeCbsP1g+FgQySmFKmN+mt9l6sddOVjgN83QBPA== X-Forefront-PRVS: 01565FED4C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(39450400003)(39840400002)(39410400002)(189002)(199003)(6116002)(6512006)(6506006)(6486002)(3846002)(66066001)(68736007)(47776003)(92566002)(5003940100001)(50986999)(76176999)(81156014)(50226002)(2906002)(110136003)(33646002)(6916009)(101416001)(42882006)(2950100002)(6666003)(4326007)(81166006)(38730400001)(105586002)(8676002)(106356001)(5660300001)(305945005)(48376002)(97736004)(50466002)(36756003)(2351001)(42186005)(7736002)(189998001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1719; H:localhost.localdomain.localdomain; 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; BN3PR0701MB1719; 23:ha8kgIreRz2QxBGGqKRQ/WqXgu7wgCreIhBR8Ut?= =?us-ascii?Q?1bH5/bITakPCiST+QTa6BrBQhyHxHB3XsBJTJSmbb5Nf9ALx1aZUZ4sLq0Nn?= =?us-ascii?Q?dKM/jo6GyQYnFp9ntMftfPvM7voIPcgIge8n5H7OO08Lju8nPAZRRH7pjzc6?= =?us-ascii?Q?I4k6iwM66GnxEJjJ+tWi5jDzkSccQmgF6TScLpAw6ORXOuTI5xm8raICOJsv?= =?us-ascii?Q?KPfEe8/oIJG4KKVb/eCTwAf9Vjb2dekf9I20vvaTKFWspksLsUusP9I+TBnl?= =?us-ascii?Q?ZrETuQ13HILIMfA457N2Nd0oD/uStXt6dcXSelog1SC/CPA5DVgkU36Xwo5t?= =?us-ascii?Q?A1VaP0BtOomegm66suT40sHcpZq0lCJoBozy10zzdKKNbYSxJ/SLDzGdkyuc?= =?us-ascii?Q?zo076rgy+x9LiwZS/+phyDQmeoNP2TdJsjAf3FAAi4rc0NeFXzCiGhAy7bq7?= =?us-ascii?Q?fI+yMcERBJ42wLao9cDiI2kM6n3zRBSYehQ9p9tyZewixWeNXG0Eb9zjtPAx?= =?us-ascii?Q?h5iQXm+yhPjcM675R/hzsh9+bLNhYbmscD34oueTT9BhTE7bC59jpn65yJtI?= =?us-ascii?Q?pJR1GJPOn5EMJJIu5HBl9IpI8XeEx9CPVzepDHr6N577qxb5V52zbxniQciH?= =?us-ascii?Q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fEhW+dLE=; 5:pHH7LZcqPpwfTpUTiI/xD4EAF50D1BxG3w8ouOZAbqj7ia/Fn3M9DM/HzFUOOhx5wnktb3AkwM//LRIvHzyTysFkc3utM5W0a7SiTzFN6kulo7QdzdKR9kzvLO3+AQhkfF0S2KaiCN19hBANX/1IJA==; 24:1sZ+Cx37nawJ9xcSnurkI8EdQlBUpauQ8INyCS9zcw2Fx9R/p6W/K4BiG6SFJKm4CiNcXwSXWQRkqXb1Jmz0YdHQT0A2l9tQkWBqvIv1rGM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 7:IIoxTjLYv4Qa3TX0K9dlumTIBFHiOvcsAClc35GvuDbETot8ipD9itaUiq0DJCuGrFmL7yjL9XM+1GZFyW5oxhxv/k4wZzoM+955pjMvZDKnzQ7Kl+SrdzwgTQaFEhdfMly3YdaJIEerq9vS0PZJJgRaYC936jYLIpqzR1MFvhRJx6Jo3v33a6E0OXV+IeCbtrXhXMVZlqdjKWJ7wHAzquezPNd6owLpj9pqeNChktx+CcdQtSsMsgFo1Z9m7YZ1MoayA+DwuuDGulE4tna1m+78qNe2A0ZfLyCHQgCkSu0HrWjbY6PFeWgf90TSb0sETJhm7TnAGHfUzNUz8mt6ti1ZKoggnt61bc1HZ9CfAehFP5HsvtPIw1Nz5Qugq1a3nIHAMyODSwp8j8hVxVlfVgnxVn714WKtiq4F+BszWHTr5fbtAZAZuk6upRRjmxUFDjwHCbXgteh51sOgqHYgUA== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2016 01:57:25.5710 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1719 Subject: [dpdk-dev] [PATCH 03/28] eal/tile: define I/O device memory barriers for tile 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: Wed, 14 Dec 2016 01:58:42 -0000 The patch does not provide any functional change for tile. I/O barriers are mapped to existing smp barriers. Signed-off-by: Jerin Jacob CC: Zhigang Lu --- lib/librte_eal/common/include/arch/tile/rte_atomic.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/librte_eal/common/include/arch/tile/rte_atomic.h b/lib/librte_eal/common/include/arch/tile/rte_atomic.h index 28825ff..1f332ee 100644 --- a/lib/librte_eal/common/include/arch/tile/rte_atomic.h +++ b/lib/librte_eal/common/include/arch/tile/rte_atomic.h @@ -85,6 +85,12 @@ static inline void rte_rmb(void) #define rte_smp_rmb() rte_compiler_barrier() +#define rte_io_mb() rte_mb() + +#define rte_io_wmb() rte_compiler_barrier() + +#define rte_io_rmb() rte_compiler_barrier() + #ifdef __cplusplus } #endif -- 2.5.5