From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0071.outbound.protection.outlook.com [104.47.32.71]) by dpdk.org (Postfix) with ESMTP id AD6C2F921 for ; Thu, 12 Jan 2017 10:18:14 +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=HKYwhNIayzcAUhmpMaFe14/5ZYP4KW/tC9zf0jOoUDBnj299xqkU2JEMb/ZYq+P5olhbt7YEeNHIQIgR4g1hiwnBMMJEdIgUMYI4sdrdkKly/3YvknYBKBsKZjyJtLN4xGMm0/KvXSNIFWJS6CcOZeT7raHlDGMzn9Lmol8z5uk= 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:06 +0000 From: Jerin Jacob To: CC: , , , , , , Jerin Jacob , Zhigang Lu Date: Thu, 12 Jan 2017 14:47:00 +0530 Message-ID: <1484212646-10338-4-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: 69813d22-e4d2-42e7-8d13-08d43acbee3f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 3:9DAAtHSbgGq6jhyW+BMvZSKh8F0qyCSjSKWyaHM3I5vosTebm82mpvbk+Ct1s8wmy3MDkd2oW+ZjMFy4TNYl3IphW4B15qAD3mM2SPGkyD0fnVTOkKfVv8MnTZSD2L0KD8dYp89Y8GuVQHyu70LXu3lyor1Pq+0w4thqxPhL65q6t6DBx2YqgjomnDl5hn/OgfJJH99yK2cNmtHF6DD2q1JPSz1AiWu2e54psw/q/B2RUAdOjjMCQ0X+XT/Vq1P4rUZLDtRIUg7472hzs1Zrpg== X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 25:Guv4OjAaRNn+jggxbedwx0hIzD9XNfObQmSuFlVDsWOTfMWs/de/XcWFYOPAO1UIlgd//ZOLTNdX6K0bzza3pnZeLUllv9kwysJX2bsl2xhYxPrub863e0J+LEb/XkMlY3cqaWfkWPFVfl2CNgQcjgOq1jOd/Tk4WnHJJnBwNdUMTD8sTL617e+THlS6mOjWkwyvGYzM/or2CeLfKuz9wd8515eHYzTKe/T0ELtOeG9jQ+gCFntW4omVr/0LlwRyJBS6+MxOqgHfxsWunMrJIbtfVPy9tueNbm7B0t5OLDzPDzYfQKuZF0AX7k2jqi8vsBRM1yhp4Fq9gNY1dTtoutQp9URY26B79+QCtzFTFUNT8ARfBc00a3+teqftzVIzzRLcUqpknwDgMOPhM7lpknBy6nXfOP4n6sCgB7SgVpDKrVKCPaDxhBwKhA6q2t8+ExDkSRa33xZ8zL/LsaVBYusP71AMsnMCDJAS8s7qUHtzC8Oc01L8wV05Tmd/75aLq5nrBCn/BKJcq5HHauepFzfpK1k8Nj1c5TxgHrA28Vos6jyLBz48s0D69B3hGENQ08U6enijyx1lC7iePoXFbJd6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TdMSUQ+Qn/tV16ycyT/oQbCc59N5UmbTPJkDmZVPF9nTU= 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:t+idGFk741dH8anUG0jUTtRedmHNubtKQgMkXFlPDFGeaumEQBUBfEHZ5vzK6wazrXlA7UDFkzOvmksgLSoNpuDOA8CSHvRXeShn8jWkVntTEza3f4+5R/PyJIU+NC7ogVqFTngYFE4nK96CIDss4J0c9SiiKgbjEAjRcEo3sQ3Oqcnggg1HMlrOeBpS51OQd0oOh9LO9Z0BN0jJvoxLa7ijI8I4MgSAPS4mDhCGxHwxe8NBxXidKTPXnpmyqLbfWnIIY1j7nkWYo5SmO3C3w/C//O+XK3CEe6PTxJ9aMiX3mRGxRAYpYcyYBr/F/da1RN5LjJnnNsKBr2tl/c6bfAW8C2gd5gOh3gdQnw2WoG5wTK4W0iKJx4sqCG1vBqQwIFwl9+vtiPoSuBSi4rsfxcyWm5QVuwmo3BkbGBLNiU5qWWCeA2g+4z4DDXs0GaADq7yKMA8Uzp6u15QTemtNZisycrxbmY6Ar8+rdoA+wgXIlSD0HkcilyCqUvH9IwjgMhC94o5VAxl59vEiqDWcVF9DUxia4Kn2Hl0MBajrJiqrRtvv4DIYXnre0pJe0Cuitalp7kp/Mx8sHR5GKRnAYg== 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)(189998001)(50226002)(6666003)(6506006)(38730400001)(101416001)(54906002)(33646002)(5009440100003)(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:hXFeUnylFuEdpRbR6Fy//BWIUeACnTNx+zmwK9R?= =?us-ascii?Q?ob/m8T2rIw66uMd6K0G4TYkNTtVBvH4RZgimGnLsf/2Tcz4e4AdoO3yGYP3E?= =?us-ascii?Q?rIXJx3zyIHOPGwNkun1hy6FXOfZgLvv1R0bE7+UN/GskztqDFWactOAkc8n1?= =?us-ascii?Q?+fgA+UXhlhRlMV1WJUp9tIhldP8+zCpWUKQnG3iDtjq9wOUAJVYH32t9NMAm?= =?us-ascii?Q?EVq5MZoo1QdmibGzP5Gh7mRq6t86Eq8mYd2Q6H/oXUQnm2p7bv5bLNFORS+N?= =?us-ascii?Q?7FziKHT4bPQptGjyZnNjxwsIEw5JGm4bkBa3ZDClv7JmGlZe50ZiFkMZKE8V?= =?us-ascii?Q?awZ1DHN1Sfo70tyzZVfdLtct0GMSrr3ffkxHgKZGW2FmljT1v63cQjn059aJ?= =?us-ascii?Q?cA+gPGD9uQlgfThApfV70Cy55siyoETKva+RnL3bfPrbprUjIa4A3/ieRCvG?= =?us-ascii?Q?toSuY6KLFllq/g1ZRZIcVznWriZVuPOSf0MFk2bdP6MeHdCQP0cXDoF3SKZ8?= =?us-ascii?Q?mMT+LrPC0JZ/aBxk99fTdMnVEXbDp+ZlRI435DNI45IgzaKmSmmT4T1cXNpo?= =?us-ascii?Q?apVDAr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cSeUb6BXCAjtrIpuvnZ7J6MOR0TDNpyXmxEC13cEsPOWYm+Vvw9srK6YIH+wi/cXmz4MzuBMfXf9d5QQYpO8tHqKG7Cs1i220mHqXq09kYhaGf76dXq/6ugY5WvhQtywXEZ6mY3xrFklDmGRKrgLezF3g+jbN34hdiNWRxGEUqOZo7KqqtjjiuBWJQfWPS0BWy6AxlxuvmouMnsgV9S25xMI=; 5:LscWbEdRQhva/ZDOOCUgquC2SQ39bSfhHwYDGgpwomUXhZBWG0nKTm3my6IBAr3VpKL3M1s3XwtvcmK975ZH1zmmyaV6cvZh3azzWyCM3VxBq8MBw+IoeienNMnBVyq+TrZpg3sec7KnQFZmyOXfNw==; 24:CJFa3yMOj7sJQE7p06MolnbFl9R4fdGd0dhozIBuc687Fkq8JEjfVxpdlXshFufyAJwpP5ue4GEPmJy4KXdKxT+3qpswmwywzjxxP6Lk4nE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 7:kqMyouiR2XU4Ueo9rKRe2gy3doNT6fE6ubqW+doMrH3YotzcNKThQErxiX5YxOYd4ostsk+izelYQUeL6tgiUI2U3KAJCwxvredt30c+8XxJki+myczffCDS77aQwajeLuJJxGr/tI+V+TdAt2/EsmGY2Wk+tgi5ZtLzVJMdDjWMGecBBe/ljA6xswRXnMavYpAmnlvMkCqlrBpuOjEUv88/bx0jFJD9Ah5XklnijKAhHNIOPLvv5MkApEoo7IpE/AaNn/nZGTIR93szDCNkqn9ePT7TEKvk7zZYFekdGv1WQp6IoBlRQqiefSMBuwWEOQE8DWAdbXoBCyVleTCXN0TpH3AO/KxIEWg07Fy+59pS//5TFTJhzUL1EkXp4iolLWUQHsSk/reGbalqhi+VTrvdhHKVJ6w7oeFZA2DQcxZGKHzmpERwbCcgHYW4PI6w2UhbKp/+e5IYqQ+h2AYjew== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2017 09:18:06.8534 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1714 Subject: [dpdk-dev] [PATCH v3 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: Thu, 12 Jan 2017 09:18:15 -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