From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0056.outbound.protection.outlook.com [104.47.33.56]) by dpdk.org (Postfix) with ESMTP id 0A0C5F920 for ; Thu, 12 Jan 2017 10:18:04 +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=4aOfwS2OL2Sg+CueWKMWXlaEr0aR0hVKkyLhD0iOizo=; b=d14ulIHsi91nnAl9aUgdnkXfyDwiBbeLj/SglogZ0qmDZBmbCARcoOdloTs43rGH6R2+DWHWb5OY6+eWCr4ltudrIiWhGg+vMc2x/4x90tkqIzmFjIKW0KHi6bV6kx8Al62eDgv1deZZDYV1zUxu2or4V5/SszK08LgLVVVZUOg= 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:17:58 +0000 From: Jerin Jacob To: CC: , , , , , , Jerin Jacob Date: Thu, 12 Jan 2017 14:46:59 +0530 Message-ID: <1484212646-10338-3-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: 185b21fd-cfcf-434a-d0d3-08d43acbe8e1 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 3:slW7hV8tdNcMD1nYFKQ6G4fHBJXZvIeXvS6TNK5pW7gU8Zfxm541qjfooww6c1ENK5OONLKZyfV8L1wKovti00vYP6FYMvrHIkggb1CAUJG/iEX1Pk5S/w1iSMaCxJvlxLslwASUanSIwqHgt+FjNwpg2AWJrKrqT7Zf+g2aoP3wVHaRVpz6G9JgbAjbRoCDC4T2KWnS/M3Ss20FE6JuX6UKrlnGRssfP7krKEtDBKhKioaMKGBA3anpx8VJDVQ7UJ8pf0Z2+dobVOhv/z0tig== X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 25:2vMOcyf8wI0XE3XT2I+eNB9exzKWCqVOLYQgsrENPxCYJRslMqHwMvw4SSHogAeSC68WfpYll4WBXjJvchTEYtjZDdh3wr03ksHw3Q5/w6o0tWtbmkCMwcqBFfyvZZU2G9KH6evRvpux2nnpNkR/JzBfam7+BzDB5FCD9vOAo4gxmKfMFWnhGoMeWdizfIT4jM0kfB1bh5I3yK2bvj25W0WafCzqROzMBSRnIKSWDeJO4WR30PJLiCXNbS1OWvQVRifIMlJ+YIv5icy4HSY4/SSJ90wXZfZdyD3P5rRtBe1oEx3HMBjLWgyX4JLZAJb739Y63cN7d2tdW5IzT89M2TtPLzQVgCeM1tPSUXEBVNYiq7pwsOzAJdbirL4ZiJnlo2aEl+EK1+ukqo6TRmG2B9sc6x66UkBjI4fdWJU6wBOaKUqJ33vmlh6VYMGHu2Z2DyRgIFkgUeiYVofQY+CPVyAlkIFMP0TZQ62uHiLrwnu/FeeVd6MH0VHpCg2b9cg+JlUpe90+/HpDmC7w6LBiWHDlAVfL4v33J/Ghx2d5T/lDAMZgA/BaU0vhXoHVu/8qYXejNtGBgaK/lbrtrz0vfUIM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/h5KbNPwRRBq4CAL6ANg4pLBsrk/aXHwhGfAG1Yoivd0oTgq9eL5Q2g19e896MHWzXl6Q= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); 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:3uYX0D64IhRpbWH3DfIcaSxdmhbBAaqgolDzDEexQkfyBie8L1rdU+YfMwGp2eKaw03CmpgIkAWSUz622cpWg8s7fA7ew3YlnAkbdUafHCh+ZnbPm9mTeuQ1hOAXsY5rMmWWzIBrohe2mbtX516Eag1t8GVl7U6wfLCIdwKltk7yPxjjKERyGSoJ8fHgBPCZzmwxmVQWVnqcK5Xy37RC4V+50EkAbo+Ahs1a6Ps7NV50vRSu6XMphxMEF1NKoSD6xwdORQo8kjnF7hpKwY1Tiy0JOeEq07ZbzoY73B2oLavlMs+O8JHSV+jKHxtLSJLk156LdEMnLOVI3xjQW6DlxwtrdWRqGHFHCToUE/KPj5FucDdJzJOPTiLb287o75Lhm00an3guxOCVliYLkJP9thgHhWo5AeFyamyJKo5QiQbdaF0dFxmnyr+Wdw509E2azy8SkAhridg2SvKcKicMpvDMLp5TS0r6LyEBflSAZjGJA3semfUFoIzgikwegvetyQvaeNjXWqf1SJgiG09KZtdwWdQM4YlLdrT5YOrZ4/nD+JIy7qVXI99ZYV8hpubLGh+MSiPu5MMta4uWv1b3tKVC3mFwwv1cGIl5qWuzU+Sr44VM26znqXjQEZS/im5/ 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)(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:9fuvo8+8t+42O/wrNuVcJD0aB2qU9AUX0qOzwWY?= =?us-ascii?Q?9Oo1AsOhv6J9bBcLDWhkXOP9DQVV3pM8OJBRf+iLzbEEEHhNKGdBMGvC/y8x?= =?us-ascii?Q?IBeFHiq09mbzHrGN4P4DSQbQaIDPgsZ6uegAe8s1jxk9n5JJSJ1uy3S9LrAB?= =?us-ascii?Q?Lk6Wo5CsQRcoYLVh5WvsH5EWKKhJ+9zGpny8bv89GGeW2aQ0Q7ArQXm+4lWg?= =?us-ascii?Q?95M2uq4D83ucC09+okcEfrbZe2XGwPOG2iHSUOmL8IUmtwVHXhPeC7Zuer3o?= =?us-ascii?Q?OeWoy/mgNpjS00zh8zGbx5A4mJwbmVIZPmas7nXy1acQhUEdNlbTYYOPQDkB?= =?us-ascii?Q?qvJJce8Jdf82TGM6pnFNMDrGpzCem8Nb3yd24W15jJtDiVHGWF3PRE/pxkvd?= =?us-ascii?Q?HRxi6b0sqoId0TlftxtoTXi/Vc7jlSURPjG9TJN5fO3ZmDIx778q53zXughs?= =?us-ascii?Q?NzptCUxK4QkY912mwrQeAvjmTJq1Dti0sXyGjCJ+47PnwZOzwg3olVpoqkIN?= =?us-ascii?Q?vPVEaprZ4jRt3KpQaOmyyN4T98sCjhTLPizbKsmzN8qwy8Hgi5Iiqg9HePq4?= =?us-ascii?Q?CR1MpuulxDCXuGOw25hJiI+4BOjBSf1ciL6nZf7ZbEql+w9HvSP+09DmXQO/?= =?us-ascii?Q?poxCgS5Qc++9aF3FhFOZrvQ1oOKcyUx26vrYQi4hwptPhre3v8xIW8N5FF+9?= =?us-ascii?Q?FyZ797F80eva1euao2WK/JBs4JsddRFqfaoCFbzXbQkz0xcC2L453itYsvsk?= =?us-ascii?Q?ICZKpP5reAs1/L9XYbk5loqGgqD3uENiaIbw+TUmohfY81/AJnt8JIWQ2K8f?= =?us-ascii?Q?JxCUiaAOtlptBFQWkClpObrSuo6SzzdNCwSR4c5G5Cg1ybN+k3R9aPFe5Dxt?= =?us-ascii?Q?aE9T/mfWxmsBpn4hOK2fnKPMMB0gmBuZqCDjLvSqkuFNprYxBn9ZjAXxkUKo?= =?us-ascii?Q?ic+r2jeo9hsje/0nMCkfyKEVg19isuJiFcuLN360qBX4aFvicwE+QQubgsPc?= =?us-ascii?Q?Gc95VJPWXei5KLuUWgr3qNJNRz+9O/qzhdRR0BjsE/wRSmhwvx5VfoRILrQ3?= =?us-ascii?Q?VnG7Yyzh5NfQsKwbpHNLUXT9/ssuYKMc6NjIGPty2fSH8n7Juf13YbeJuOw3?= =?us-ascii?Q?PAnkkB5Y5Tvf+d09E7vPsXufstSXxnzcAf04FiHPkhGfqVYVOhxtlYZ8YCGu?= =?us-ascii?Q?xJb7fWnbMZMw16IQDTfJ/wcMLoHJY13vXgaycObUhD7JjlqDvnRpD1mjBrou?= =?us-ascii?Q?F7xK5RC3BiCWma5qHuSzVlucHwjRwH3eZ71VGC4eKBlx09WN6N67vUrUe5Yr?= =?us-ascii?Q?xzg=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 6:461RKOnZMMO4P99bpBDzVq2396RDnjlFu6nAgm1QJwHlivJAAudPnRwLz2M5B3GwS7HY6n0RpkIHvD9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J7SOYc183rAFCSiaXHe1EcfSr1oDzq7sqQhQ4LlTj0s+uuSWYCi864EWKPeu6HlOfEkBAsLDBEgxg== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2017 09:17:58.4031 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1714 Subject: [dpdk-dev] [PATCH v3 02/29] eal/x86: define I/O device memory barriers for IA 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:04 -0000 The patch does not provide any functional change for IA. I/O barriers are mapped to existing smp barriers. CC: Bruce Richardson CC: Konstantin Ananyev Signed-off-by: Jerin Jacob --- lib/librte_eal/common/include/arch/x86/rte_atomic.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/librte_eal/common/include/arch/x86/rte_atomic.h b/lib/librte_eal/common/include/arch/x86/rte_atomic.h index 00b1cdf..4eac666 100644 --- a/lib/librte_eal/common/include/arch/x86/rte_atomic.h +++ b/lib/librte_eal/common/include/arch/x86/rte_atomic.h @@ -61,6 +61,12 @@ extern "C" { #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() + /*------------------------- 16 bit atomic operations -------------------------*/ #ifndef RTE_FORCE_INTRINSICS -- 2.5.5