From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0041.outbound.protection.outlook.com [104.47.33.41]) by dpdk.org (Postfix) with ESMTP id CC556591E for ; Tue, 27 Dec 2016 10:50:44 +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=rkARIrUp2nMKOkFGdRFwq4uIEHkUyvfHqvw/hf8v6j8=; b=BhCrWUGvxZd8SWZaDAgFyubkGlTQ9Pa/cRjdZ7tRKPM5qIpCV6Ma5RLWkfgTk+O3ay++Bmo2b0HYbA/ildqgwXfGmN+ddTpK4knVntMUi6HfVEb64pgL2QK3XSH48wZ/JeqQ3BWWbNqwHh8Hm73Ek20RU+XKe2UcT9FiWAQk28w= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain.localdomain (202.83.56.97) by BLUPR0701MB1713.namprd07.prod.outlook.com (10.163.85.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.11; Tue, 27 Dec 2016 09:50:40 +0000 From: Jerin Jacob To: CC: , , , , , , Jerin Jacob , Zhigang Lu Date: Tue, 27 Dec 2016 15:19:09 +0530 Message-ID: <1482832175-27199-4-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1482832175-27199-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1481680558-4003-1-git-send-email-jerin.jacob@caviumnetworks.com> <1482832175-27199-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [202.83.56.97] X-ClientProxiedBy: PN1PR01CA0001.INDPRD01.PROD.OUTLOOK.COM (10.164.137.8) To BLUPR0701MB1713.namprd07.prod.outlook.com (10.163.85.14) X-MS-Office365-Filtering-Correlation-Id: 8ed5ed98-aef3-4dd1-bb69-08d42e3dd332 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BLUPR0701MB1713; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 3:mlNq3zCmxpmhTQDxxXW+zzc5oFmTRZInD01Nimr/uleMub4X0vE8oVxPRFJX3forOwuKw06mKpL81fp0PNs/zpSc2IZeH4H15S/XYSMdj6VC4g9cHw4FtTSEZEuPe7wh/PAOpxVfSyFcc1W3aVL8FeKv1qqxrRzcr5IVJ/BDgmrGJpgeGRNxpi5TMyXWFxlCWVmmNHAWRLM/QLwSwEJ/hQEBrXzJsgqeGpzhs6DM1iZsyT9AFUnZQZMga5KcbXsIkPpyhRjdWewHujrsbfpy9g== X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 25:yA+9D3Yqw24GNHDd4867yhwsWOF4AQRJpRQnmblOafWYq+5rfj7ist86jxtpljIKd5U0WTbethbbmLGv9VzkTnUof1oLqqaLURBz9PPyCHdRO9zyZeH5dkHh4gHyVbKmmJkJaiJ7akEBQakfnMebmo0M4tmo4db35uOkjg10ZDoosSVfDCvyVNSSLnwiu3cnGcs0BoVSqWNZ2JAk8oY1ylbB5Dm16T2nZQot6AE7iu4kd1AkJRIDG6CA/1MO//DW5orghF2ab+gM7VHIdTfv+Th7CtUegsRlAixYyFbx70f0/OwZy+u0NQPXIVirg+IRhi+yZpvNFne8WsJ0cion0oswLVH8tf4S4cqB57/JKAUgivTlMRVY/5NHQkpap1hSchJ6D3UrSRro5nmR1UZe6hcU2Niy5AHViiud2P2vriwp7ndt8b7CzLk2qKBrHxtTstoQpcl6p2QLlaoHE49a3XyH507CeU+wVIjxmsw/jo2VWeNb0btFfEpIqBYQKmvt7GDaxGjlpCcOhG4qPxO+sXif2HL1ZnZvqSWohW78S1XnxrSwxavV4B1l+DFmXZWJIY/s7mAQq6yRUG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Yr09chvKDTRXTBfHLblU36+NL+oYWzqHBNj5R9wmkHJ7R/3fsRGV/cZwMw8= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041248)(20161123555025)(20161123560025)(20161123558021)(20161123564025)(20161123562025)(6072148); SRVR:BLUPR0701MB1713; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1713; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 4:xgzv99DP+BdAIxUNGsQ3cFSlWvbE3VnRQhQljg9ru7CkChnhgM0QSmaH2ZkikQrI5GsREbk1Ci+u0WNI6VNu5s+b+Ac5tVDNOs3byht5r7fW7zr0rOHXe0bKSMMlRexSm8GQzdNxLbn2BHMIrsfKj+rXymWL5VJjkBDK/b4C4DPekoJe21PzO7lfzEkW+iqQtoOWgGg8lCGI3t1IdNtV/30gk84iCX9cthrleV33OtjYMBZxvjjCEr5lV9biYISskbH8AhZsBue2u6/TlKJBJCyMhFuuf7523sIu9SKyu7DEUEmJBWl1GzCdLNONID+QPcy4bAQqUgHZvYYBZrBnFPnV2VQTyT39t1ZMtzQ3J55PmoRYgu6Bt5XlA4/j5E94/SmdzJeoLx1xVeVC8gkPp/Cmpa5OUC1BkaEL5vfRVXSSaytPrn16xwW0i9s2YGJuaMCPP2wZTJQSD2qBbWfz5z5FxX9RnVGjZ29y1W1opICab8FryzNJfBFci4waxXs9iOv8bMrhRPwRpRRdxC1fFIQV+EhkSNWjXoZVssUnfzoOw2nzxIkNNeHHHUVjimzpeeEK8tyoWf0HQI/5D0RavzQrHDN2li59HF8HK5IGqZg= X-Forefront-PRVS: 0169092318 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(39450400003)(199003)(189002)(3846002)(4326007)(6116002)(50986999)(76176999)(5003940100001)(6506006)(6512006)(6486002)(92566002)(2351001)(50466002)(110136003)(305945005)(8676002)(66066001)(2906002)(101416001)(81156014)(81166006)(42186005)(50226002)(68736007)(106356001)(36756003)(97736004)(33646002)(48376002)(105586002)(38730400001)(7736002)(6916009)(5660300001)(42882006)(47776003)(25786008)(189998001)(2950100002)(6666003); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1713; H:localhost.localdomain.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX: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; BLUPR0701MB1713; 23:BoQqK66x7oDEadRnL/85DieX1x6EB3dEMVqNeXH?= =?us-ascii?Q?nrfgW0x9KqaFFpVnlN9vdyPWrLtq0rF6DHXtIvY1awsPXPlDA8y2n4QImlDo?= =?us-ascii?Q?a9xr89HlvdpIG78VQW7ivpTxPbZtZormNxtnftjvPI9TnhGDlBDtFzymcLY8?= =?us-ascii?Q?iI4tJNqNHqVWGJ/Z73CiLh9ilb42zsYD/aKqBCYTzK8dMcmLNw6rOtDvZnWM?= =?us-ascii?Q?Q7w6/cWwtV5O+dbN1TvDMhLYcKx3hz8EayuvTT0i0wSCf6j8+7msUhPaPLYL?= =?us-ascii?Q?MRsgOQnuBDkgjhGIe1wswar6CxxgGG/5Dk/7NQMGSbGTtOiTUhykZ8uaO4oX?= =?us-ascii?Q?lPm/MS5zYCBMtiVsmH5qEbZVi4VCSI7Zm1IijS2NIID7NYaXV4Fe03jcKWO0?= =?us-ascii?Q?qMfI4L3pTQXDeJpeShul4NbUmJP2GDttLYncG+yiL1JYz5r+gGWJx4lnZY2M?= =?us-ascii?Q?b3LlrCJoYfDUwgHCpHXVWikaxEXs/cRNOAnHKhfvuxrwPcLj4xEW4eRpt4Af?= =?us-ascii?Q?E3+W6CR0K0b7s5+A3EGRcwU4tO/n9GLNpA327kTB5JAZLAFbo4GF/nDi2cBo?= =?us-ascii?Q?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iDQ5qdf7yQZU3T+L/k8Q1XeKCymp03uoNrVjGuPflVZ9fSIJt/teLAJis0IB5OC9FnDpxuHYKrpyR8M3sKyz2J3GE=; 5:Jug6nKNFc2bAID0N+zuC0ET+wTc/rihMUVmlJ/Fd+gHNbeQRxeMsGLWOTAp+JV3HKim8wAWZ8vKg4B6nNyUTLti7JFUWoi5HQZ9p54jHpzYlZ4MM0j4Jb0GNBaaGpJum51Uc4xmMkd7Bt+IKCuZFIQ==; 24:j/E16CJaNQ89BNXSQR/Lqb2R2J5HoSBDuScsPj3ecupr+icmXilXHtO6MQ4G+poSR6pzsssUpMUaIcBytJZaoNLBrtFHWk+k2jYpx6F3bGE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 7:P5LJon2OmAF77MBphktLAeZJflWlkQ/C/U+/5lXDYBsfTywQHC2zDFget/RIN+1spZT+bP3uEQyf060xYkcTNP/hjEOhDOzaFR9N0bzA6JsNEgXoZvYes6gRBq1tf5Z8ezFl77xvQJM4hsuUTo/+TvdLWlEoGTqn1cIQwX0tkfbdpn+tPy+BXZs2srQ6yKGjqHipgaHUZ9C7z364nNS0fo1vHxUJ+zvDte60OeAz6PH0kYUiea9vPL9w/F3juAV6yKsWsqeu72en7zEGjI6GxcLz4uVO505UycTkAf5cE1+brD2uyJdS63vL8mKxCmYYqCK2AdurK9FNZMsq9dYSH2NDAunwy2eDL3w7xaJrecKmH/tDJwgewM7MAW1VHO5kbHlzSUCCdRJiPsOJgD7o24/Uv9co8PC30kasjJY42Z2/yt6LIoMCIkuac7lDq8ykKKwzyEq0ZimxSf3In0CB6g== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Dec 2016 09:50:40.7105 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1713 Subject: [dpdk-dev] [PATCH v2 03/29] 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: Tue, 27 Dec 2016 09:50:45 -0000 The patch does not provide any functional change for tile. I/O barriers are mapped to existing smp barriers. CC: Zhigang Lu Signed-off-by: Jerin Jacob --- 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