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 A2F1F37AC for ; Wed, 14 Dec 2016 02:58:43 +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=RqISHa76DyKXn0NIrmDtLp+ZqeqoQudaYRfDWRwBvhY=; b=bjzY6UTDIQWjtfXGSxO6AQeGNsCV4ak+JIhpoqTidLX1sRhIoJh7GPg29CXHc0BxjzY4nMxYna1npDpYB6EGFjNbEboipa2+AIRUowyUItg58mY5bx3E/ms8UiXrdIsip+sT4L5PRw4hmrqN+zV1onLxP0f/EVcbHxapWXlcncc= 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:20 +0000 From: Jerin Jacob To: CC: , , , , , Jerin Jacob Date: Wed, 14 Dec 2016 07:25:32 +0530 Message-ID: <1481680558-4003-3-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: cec3b251-6dab-4109-0563-08d423c48be6 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BN3PR0701MB1719; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 3:fWGrosk2k7swtoIaeVhXxZvAsSkABQQCoNmxgEkoPxorzzbIe7klT/4pCAPt55wGsb2WTv4ybqkTWK0yYvuZC1VDjctvTZSAWaBJr81M87HPqele11AQY63jXD/Ig6lTJIN6Fl6p8EqxEQIy0Ihwkz7sIK+APvn567eZqOLRzWsGRxgNl1ZySqkZ2EGHXQ5UtfvkRMRDHAA3La6MEf25G8kEPxtVB6nLW/jcixhsm9FnUyu8NQjLSdOlPEXtqV+a6epLU5UMeuaZqV39t3n/UQ==; 25:eN+kgbcxUszd+KoJwFetXECAUzefUBxiMxstJe2YxabwE8haVcTHUlMbsq2mlfQRiB8p3Hyc4KZBNmkPh1szXq9qQd2LAwpE3vWPlzvCg83zmmzMmW9euLdATwf+HjPWqq9+XHOkO1P75hwuBnMMrP1hmGxJcob2o+cIpLk6PJTEf254nYBYzf5Pz9fvUuaVtQOFJJbkNex6OPduPx+1Xe4Tn8OCJTZgCqlC7GF2OnfkjKd4gfD7hfPPuyX+BqnSCJbhYTqmnuqlwQJZc/eA4cWDqQZ6M6EC5lqSAuADuvMtef9l3kwC5DjDrobrpC+GYejJNUKr/bRDwE8frMmixCyz4KM7kPAHDWM/tOUtOXXO7ZUGgheCaOYG8T1HiP/CWv8X7j+Xl2ZIM8hyfRG7dw9v+SVeRpRdDsGnihDy2ekWwXqUoRNC+j6iO9vEtCjrTvlKSpha+VvGOeW5VTsM8g== X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 31:JgkQT2S3mQphG9kyyUhtQQhqYUZUQO7tQRuXbBiG2q1TWNtz4vC9vB3Hsy2iyCRP+sw7efSGkgrEb7j6yFFI0V6/i5t26auSG/UScyLXfjqahOQuDGdLpnrwub3uDXyJeOK4yzwAqB3NwDFSMd0kTHmTPMNRuzg+lPLOwOdeSRCQ0IQST7w6e3F8LiWmikh8muHvELn6DxDzXHYZQfEE6VptGxXE0Bzfqzm4FWmQcJ9G/0w1OfWThKBWam6niadtDdPvORJd+/8DVLuVnG1VwA==; 20:eJJWvjZCj1h/5l+CXE0v+UdvZLZ0tdSJIRymcXS06vFXXoQu+njgFRcv88IHm+BGA3SApFS7snIUw3w/pokrYPsj1UN7Ifs/WEIAkOsK2QxCVxozyIOibMMLHfQ4AoBHAlQdu3c4tpNbwobUkOlg22H2aUtpJMIcsAOzSCpA9b3okX0H4cNjJue/kv7gCxPS6lkElL/K03F8+EgSK7Jk4wMQ48c6gqMmal5Hhmp+CPdg7Kbx2cidxMGp/V7EAAAzlOpd6deyTf5fKDrWBmNFHtFY0Vk/Wn6SqnhuoQopCVrcXu1zzUzuLYqnuW3ubzinfQE1XI4Rw7rjcfsDAN9lTiudv5nNJ9di3tepJaxn9W1Tn1Mcj2j4UP03JFzpwcMr6FXB099dOUB05XDv2JSkc8PVvxmNZVnKb08nbc/KvAGYj8BAM2o1b2xmNdt5xF3jjgCUvg5REAIbilSY67sT5l/kf+18Zx/9Ntwp8z5YyCLUK+RW0GHmPShngRN4T2svpLDnSAn27OK9s9wuU13Z0qTWMKh+6agtUWR22VD8CvApZsUY5TIucLoqifpx22oi1mpAuJzDw204n75bBaoTe3kXfr0wK45k1FPdrG2r4z0= 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)(20161123560025)(20161123562025)(20161123564025)(6072148); SRVR:BN3PR0701MB1719; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0701MB1719; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 4:YJe1vpB3viV2LUHLHj0kDpKt9qenQ+PG71zG8rztQELSt3Ds97ZF1NDScACUXiWJFqvHEkt3+5Jnx7ES1ReHMJlNRtNCy2ZHk+9Jq4wznsNAUY+vJq1T4Y4uu2+aMxxxQNzHYwmgnVcMDA9VjOwYiMC8Y/A4TULKwRVYBVUwdEcD2DClA5m3qOOyZ9oFLLVPw89FuXgtrfA81yCcpvEyzgHKaa73VEdODiDdgp+a4Klq5qBcfzaakdAylsbcB/WJbmcnWx+CmVehMD4Ed6ei5sCVYTZjwEIeB6ZzF8LAaV7DhDMI9bo4dLdnSlTU1MHgft+ceNQ9kbvOUicYA6acNv0q4yBiXagCs9gqQ5ZaQFAiTNHq5I5j3qobVdDc/gDliKRhYMRBybdqEGDaH4zFguJFzUII1BbmSGLI7TWCGcNa5/AND6nrirPndhjcAdsmCjUvG8vGTN8QJoEJcVey/Ynf4leXyfAdDV9Wh1523lVABLlvEbMApQ/8uNvcz376Jy9IGNgjtU73S0iPnd5dhxqCm/GWmOoWeCx7Lp3FAoZOvJgHZeie0XmS8gZ18Xf3i1Ky6SohpWv+5x/WiI/uHPsC19Pm5mWOlLV6+OSTY5+7gvshy9v4PmF4DKGV9MJd 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)(4001430100002)(81166006)(38730400001)(105586002)(8676002)(106356001)(5660300001)(107886002)(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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ILHpZJ6R9Br+Umdburs+yxbNV3hArYY/xOgHJJZEpbyKeXGtHgCSBmc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 7:0UYNaXoX3OAVKq3fBzc4EI9DUTqhV010DT4A0xZW0x2F8sUIMySVRd3ojArE9B0LjPofeY6oQPug64bYCAu1pSuFXef4VBGqgTpWpYHjRvln3oQ8IiZUBookcacxQmTWAinju6QVigLd3W3XhE0+QxxIg0iN1CH+6yR2wdduqdfJ7QquIQVsvNvILsKgwLut5VGDKKFGCgtZQOGSh2cXGnmRiFPrI5+41XA3oSFe6PZius/OWPpFmJ5XqCdWJjiBGeGuoXRs9oPkgfuDnVJ8RaDPQlCAyXJSTaTGQZSfklp4MTjriY8gOcfDcKeWWnM9TnhWCDu8DYkAUbRk6WqMz6VPlc5MbcGTVWsO+LMIw1ncNu2OK7Ct70oFrxpXJ5I9vMIf3/lEftJmvr8bEpkIFQ9Pwd2HWanelVRNhVyw6EdPH9lo2H+TZRGjx9eKqRIbi3JJAHdy7qR1SBWtPRbB3A== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2016 01:57:20.8331 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1719 Subject: [dpdk-dev] [PATCH 02/28] 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: Wed, 14 Dec 2016 01:58:44 -0000 The patch does not provide any functional change for IA. I/O barriers are mapped to existing smp barriers. Signed-off-by: Jerin Jacob CC: Bruce Richardson CC: Konstantin Ananyev --- 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