From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0052.outbound.protection.outlook.com [104.47.34.52]) by dpdk.org (Postfix) with ESMTP id BAAE72E8B for ; Wed, 18 Jan 2017 02:22:26 +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=IJoeSLJHpwjA7C/TOeaxPx5qad54V5ZhjQI+WYZ4YqDdSBbm7DstexCRQUEMZ9XQ1LvskFZE7MgBixKfwVH3me1rCABV/Vnp+Xiuilh6C+DRy34BmFrHuiC7k1wSYdG6sBNGqG/zhHTXFfz81pvwbebfXrcP6/SE+En7WML3fGk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from jerin.caveonetworks.com (111.93.218.67) by BY1PR0701MB1721.namprd07.prod.outlook.com (10.162.111.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Wed, 18 Jan 2017 01:22:22 +0000 From: Jerin Jacob To: CC: , , , , , , Jerin Jacob , Zhigang Lu Date: Wed, 18 Jan 2017 06:51:16 +0530 Message-ID: <1484702502-25451-4-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1484702502-25451-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1484637244-7548-1-git-send-email-jerin.jacob@caviumnetworks.com> <1484702502-25451-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: MA1PR01CA0115.INDPRD01.PROD.OUTLOOK.COM (10.174.56.159) To BY1PR0701MB1721.namprd07.prod.outlook.com (10.162.111.140) X-MS-Office365-Filtering-Correlation-Id: fb6b08de-84ba-4f01-7838-08d43f4075ac X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BY1PR0701MB1721; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1721; 3:IhG+zlYoqnpJf+Fy/GMJ6vCtov5zMAredpcGZybUmWoiMoflJrs7X2dvjdJUexZXU/suk6yPZZZbZ8AiA2GG5T6lHi0sYbdV7x2NiAlLQ1rK/nsBLKZTc4J5OuF1zVpTyMsZtfpUBH3fjePu6mCPNbVx3Lm38xOkQ7vqt9vy/lvh6DrDFfHdjY1gK0NUNNsH8d4s1RgAivYwz/6SHpRWZbnvw4YClWPPCtq0QXw/VxIVa0cMT+iQCpB6ALzlYYKqHdQEDs9YYDyR6mrDvPYIuQ== X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1721; 25:QbPALUelSoIQxiL1ifhBketRit/T4LYBaR0J/pkiacaQAfLHvB/LWieXjsgT+lr8s31xVh0wiUyzmxCG/ddzRTnUR2uAGpBQ+kWso2Xb6kQlgWl7PZmXSpSiGGQRFlGTZ0jSY75efs/t0+OUa4lTc7OlSLic4pcXY7WAH8PrH3OzXka3AxE5hjrixjJ8VWrP0RDdCtFN0cPf6VXGrMrny+Z7R1aA2KGtsGAvG6WJxjGUSmmR/9A52lKaryEz1O4og8AYAK0hkCRh2wKxjgSwBRk3OWqKiMPBCnr18dMWG7scRvnTMvzqdCTD4M2Hcy6noDp0C6tlX/I5wjv0RhRJh1MbGNif2/6IZeOuc5HOG4TqylRsjFinMuY27BE3OJiW4FIpWj1gMoi5l1Wsz0hGeqP1P9Qimi+3iCJXvH5T0/85U6u+lRjSMrxNIOEY1F6e+qCPIL0reoJI+ReGl6FXiVm8T4BTmAy7CNMsiBcA1OEcjcZT3Q3Hkd9Ma29ZQYYCbhWMYQJY1Kzl5kMKKnA8qb9R5niFtY0fiA9YH5Kf+QyrFmUlVGv6EekbN7X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RqDcRjTEU/kD8d5G3qzbYmio74Of7Q7j4rKAOtDwYg08j6NmFlC5bEesvjEXxgDRREGZGSoiWsaqesYNXB9reBiyNKVW7xaitY= 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)(3002001)(10201501046)(6041248)(20161123560025)(20161123564025)(20161123555025)(20161123562025)(6072148); SRVR:BY1PR0701MB1721; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0701MB1721; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1721; 4:ON+L1BXklBPrFp2vQyT59FvExS/R8idZhtnlVDo2tL2EHhcIGsxmO3NrbayVMZgwGKd7o0SB74mfxpr6wPGX0B5S2uapsY4g5rjeZCIMqKN9YTV/RvKwla+3BkMp3K97M0wQLMPcNjssjl6T/b36fVAbONFLRd9fdUv0eZQLiZVA1DCeLjzdAt1ziJApHlg1f4rwxiB8euZUjYmMuZEJNpdDyEV5SA3UShhdeDcp7gRvvnXUJWVn5Ae5PTK76UDDf2kOSz3DPqHH0YndABQVzTRQJqVg18nZ1P01Hhsmo/90KcXAthJY9RH/c0XbW3SZkB7JsqOdw2oxKWWx8h9lAOuYp3otUbyG5xkwMbblS/BPThy0H1ThnGXGTCmE/HSXXWByLAOCDMfxUpnjaW0UL0+FGsG8bPsSe4Bh8tj7h+4Z11pPZ0m/hrok74zoZ3GFNZf0BJacWbR49rN/9FWdtYpL6gOKeov9FdQacSaS3fKOQZxSWkXcZ9GI1oapqcNjtPizlQ+8Fw+nqkcKX1pRa1yvov3WU8PleLuM3GWhwUAfekP5Kn9Igka+CN+ScJr1OCu5f4pZz96LtFMFRie5sg== X-Forefront-PRVS: 01917B1794 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(39450400003)(199003)(189002)(4326007)(6506006)(50986999)(97736004)(47776003)(25786008)(189998001)(54906002)(66066001)(92566002)(101416001)(38730400001)(81156014)(81166006)(6486002)(2906002)(42186005)(53936002)(50226002)(8676002)(2351001)(68736007)(305945005)(53416004)(3846002)(50466002)(6666003)(105586002)(33646002)(6116002)(5660300001)(6512007)(48376002)(69596002)(76176999)(42882006)(5003940100001)(5009440100003)(36756003)(7736002)(110136003)(6916009)(106356001)(2950100002)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701MB1721; H:jerin.caveonetworks.com; 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; BY1PR0701MB1721; 23:6ZTr+uEMi3ZHwwm9RAIl9N+9oZkYfQ/uHLT6MBP?= =?us-ascii?Q?LHo5pITSmOEcqEVibL+wCLiGoixcoaxBAO6g++f4Vwd8CjruXgAQETCwyJvO?= =?us-ascii?Q?GjmkNpNZ1ba8BfaT3vD4nTpc1anU914+TMsKE/9FVwn4qWXQOGBypJLIxR8o?= =?us-ascii?Q?NlXyT33yAzWNw3WIdFep/bo2I9O8O1/aNayas/a6kaSjztkEP16iB6dVj7Eh?= =?us-ascii?Q?SNEWFyZRxOB4dGmQcQZaQuSq6+Pev4C042pOPzMqYglfsocAwq3x9pQl1I0J?= =?us-ascii?Q?glw+4GW2hHU3Dk7oGI35xQiWQhUUjCUosU8T20R/RyNVagZ/EnBws/NaHGOY?= =?us-ascii?Q?aOm4wAvl87KG6W3uK5aYlZJL6koF/iaaqDlUiPVdaNY7wW4Lw1ptdmk0/0B5?= =?us-ascii?Q?WWUuDRzICs+ipPGKCQ0YD6Y80vLqX5VsORK21wYRJ1uLRoY4f8BiQE/lMdPQ?= =?us-ascii?Q?wzlEoYVFxKP1hETR7WsQV9LfW23qRq+CW920+kTSWv6jVOV1G+NRkrC/HPCJ?= =?us-ascii?Q?e9V+81fr1a1ZgR3gltTtw3kGICR0gK2m/1/eSSGu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4fq5j39UfEwCYctEW6NaEwiYFcmWZgl00oJhIgD5FwpNJ5h2cmQDPy3KcGkX1TwKL9TBrujWImCpfht7g/F1otOqMb4mW49gjAqMentVesE+MrvvZzLpSHTncKMufCorj6XCsnN0qeGpvUmOI7ti9knEHizxPjCVLYoz2umd6tm8tyPxK0Jld/VK9sgFICHP77JyG0YnQFqrK6SgzJaYWQibTTrBrO9Zs2ko1r/udbEHGl9A=; 5:fbRf+NHLxTo5STD2gxEd9gSsW0UBox3CDvRLkrEeBYs95hFP175OqokP5Z5mrnGSB4KZ8XJER2jR9zqQ/ugryCI/C96QXP+pSfQf0JdKnBfoamfACNeenQk6+AN506Mzaws/Jw2m4gW9YNGSjLbdX1vaunk2Znr/8s6+t9/rsik=; 24:5Q5oAZeopDaDV1foLmzIywnFdiUpnD7cAeJg9ca8K1myQJCjR70OBM+EyHFYdIMo6ei2P6KUZkd5E0oTZRI8EzktBTWApylLl+6wnxz2pck= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1721; 7:kWTl0kUJDIVRNLaVMHCrwFiwi+Qi9Hw2dMYNfiw0//y21qurALk8+GvcLE1X+TAGHgXsDY0kUMIyBfrjTWi3qqPFgLwVkWNk3a6ujTv6balmFd3bznpMUTIkpauNiY+iXg+EW6xoMpJBfwdUCfCe2Xbeg7ZIQy6231mFj6zASvj2/JuzdEqk8PVGV8KKvdalC5nUm4VjHGZamhT6ChtkQNUpa6Tf40Sik+JrDxiUAQuCvCfeLgDpAiJeIvhCErhCX2UtGDiOBEj42fdlHdHSaHVZrHq+yV6sxqzmAEe2yBvKL/pS3dpbFAjUgF1Ldq1jviVdExhPrwMPyS3I/FGtX09QHOuvT89+o4BJnazwEmN9ZIPA4R6FQllKhiuAR9qEi3W7spO7/NIMi7I+o9G+snO/BTibHHzt57pppDQdLLjWKdwLPbZWhlV1wX+mGgYM4GXVchOas6FFYstCJkaWmg== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jan 2017 01:22:22.0661 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1721 Subject: [dpdk-dev] [PATCH v5 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: Wed, 18 Jan 2017 01:22:27 -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