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 17C553989 for ; Wed, 14 Dec 2016 02:58: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=O0Q8RTbmMwnDIcBDjWcR7iz0RSfBWOaLuseUTyMCpEQ=; b=WL+ewNYZvVBGqJ+eOhFGJ+lxLh4VRr5T/pKcq6CA90/4w4jdrq+5cqzrhGHCgwnd+AVL/WFci9TfZHXLpLH4tTRbJ6cBstQXsn94PH9LB06ijrZdBBomKE9+HjS9QecKZyqnDLChWTCUG24kyh7QSWHd2g/S0LueyPpKd2flYL0= 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:40 +0000 From: Jerin Jacob To: CC: , , , , , Jerin Jacob Date: Wed, 14 Dec 2016 07:25:36 +0530 Message-ID: <1481680558-4003-7-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: 562a49c0-10b5-4eb4-511e-08d423c49785 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BN3PR0701MB1719; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 3:AXgif/XzJLyQlVmpFAxWoJ5CwPapPNTocZUfpy2DaYG0qVPH7LCVpMYgsExBzJSX9U8i6lvwFmAoKxICuXKAOMgzSkMvkzM78OctCkXGdQCvCoyDNVoZaPV1cDR9LEeaJkDkcNEzTDOjfJEDdGzOBQrroBB5p35/fN9Vr4dBGGeon/ANo4Z8ElP1aD5TRIU7YUmERJtJx4/Svg9YrWJOa/qRGnC+nt5DLckqcdyF44P2o7/3rjzyhUQuBetZskD4AK/tz4al02MCXlM8TAjq+g==; 25:HIf2YpHD1V5EUfQnv9iZx8xpHgM4MLIQxzEtAW16V/06b9Kas2TplEuPbr6nY7iVx1Bd+tp/NZRiKKwKS5AhXFPuHX6+jGodAY7ZTHDTZf3CAYv4rERWoFfZFpuAuPGIRoCrNEhCfOWf9nJ/jCjgHHSJx8Kzh/GDgGYi1XoHWQ98CkjQbqRh4T8BgcYWrkWJYDf61TW7Gq8/QdQDhZqonfOs1J0utM98Ot+mTAim+t9O2hLWBzcgVSCSS0fsUiL/UrfkroUPCftjhgpabk0SWbdYuOLZ5/L33exFFyD/04bG94+nuGiGVL57WQVKZvyzpTQpBQzH0qrMQ+1SjWUWynFcnOR+D7zw3VvREJwx/2WGOUHHzd6zuOPdiJYqdwu3bb1Zhl88SRqrIwzK9qgMz0Qaa9Y7GfEUtu4VpMznoZE4TpMUFFZcJNX7gy2bejU2bHL43VwkO9lq4oy6Gmv3BA== X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 31:ax+2g/l7b47IoNfhNfUEdemrYucEyPBrTfgIJnYXwjVICAlVjosxv3YQy6xmJyaGTDFNtx4fuxHd5cI10/b1G13S8fnjOeR7mEAHhm7WE3NoRe7//HN47b8pqrlRN0wchpKpE6jfkCdfaITq13PIZOLB6K3hxmSYcGTgBNVp8vONxsia7i1/gNf7XCZmo9v1/78QlSOa/uQhjIfs6TyW5+wlVJDVW6IB5EaIQzkf/XS8H0MRgqjB2IvubCp4QtL8ldmkr1uQBTUxEr1cfqg+SA==; 20:cweEn8X5eAxQRJGtGZEgRRI6HXzeVP5CUXgWZT4hhQfySMDaypoibgGlWeHffZsN6loZWFmAVBvGRgnF3m3//eoV+cZ919qsR0tb+ERANsImDhj5U1aGIz5n4KIqnh4z1YCncX47G6Ng6+lVnVaJZHPyk/dUs8bHujaXN3p6/+389kOU7MyPbet3UaF4O5cmKH366YDBNuS4NdeKd1PyVbSDTO/rFv6vvPiPTTsLQuHeDkWz/pAX3WTNxBSMl7nzA+Fbbzv63726SwVYanT4sWnzOOnPA3h1xHa+rOyMKha7b1kp/pq0c5JBEwcYibHVt8dyzSC13TuXXmbGKJHsx+s0vFXVRvYmjp4dix9oGdXTgSzGSgrk65f1IqRmQl5qGsr0Q5g/brW9Hna5HIAxY81wPL5QbPi1MEJKHjxAEAWD0x+urIwX+cI5wQsMRhVhZy82NwAHNrUIEFMHFxXZA6NpGgUxX+2Wp2Dfj+aeGhZpxEbu7xKjUXZRo2gCegEytyPoLQEySV9hlAkT3KET+Dbe/+kgzJtB55an9vsZld/PY/vfsYXfxN8ZWBPIxgLHii5tcVxVJ0OM0q9CLhAXuUs2/bzz1WYbQOCO9IKuFJY= 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)(20161123560025)(20161123562025)(20161123564025)(6072148); SRVR:BN3PR0701MB1719; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0701MB1719; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 4:W4CspsI7gzzySAv7bZ+7EpxAHawr1VSMBQ/4mtKxifrDiCkDpU6vIy2FpB11El7XsVcl6xd0aEp89Uifi1ygGyMWbdUDhwgjtVN220jguyA/WxuFdxFc61UfiTwp2p1rYDtyrfJnrzWrdmgHTNTPwuiNcIWBk9UgAaGinkANmlC6VubSyPS4rVxJqrsRHiBlVak0kIEJYf91sMCUfaEMqyTumMdMniiaRzy1yVeGfLJd1Bsc1RlJoNO8lIvJU8ifbtOfvqQ6r1P7ophlsaClRswhxaDLg3VI+1G1RnT6Z8mkVz9orKsxp2aDY3I5kwuGaN7/U43HjvT9dsJLVHkNYJ7K101xAan0EMqkVR2XFHTa2W55boFjnSDOnXhXpvMd7ZcHVfmAheQuzpYDOAE/jvZqFkT/Pnb2pbhEJZLuy80R3LLuoFmAbE/m9Z9P10Gm3VtA1YIXUYwnHtcDYbp7jNgM98Xh12ZujjrAhGsT7veL1Li7MEuhFTZFyE1YaYnL7xtQXHxX0/+UlIGPfOGf13aRxKIgLosEKfc4LHPBLJyCFTWp0KGQB0mgSdYpgsNlM5ZcU2z+OfWjYkKFVGdYGQ== 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; 23:W8XiDh3x6Vy+1n++e3h8DNopzPVEIXRLV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ZPhr4l/nsEOuZs/cO41Ub16GNDCFUZc5yPhk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 7:/9sJJxovZpoE0sXjQLxWR7X6QA8Mj6fy/Zp8j+HHSSLLtMpYDm8fetaN9NV2ic5KxVs7VaCzKPNd/jTUT4YNE855dbvq7qp73xHLusWCinfIE6EO6kgCI+MLmPj2LoawjPCpoqbRTuYL4mWKhNfqcVMvOpQGQKxSr8aYpr6K1lAFwdr5QlGrR05yb10+A7CWnpA5rgIQxacld5BKsC8mpwZAGo3SLIBIn1+cIESCm2v+e0gM//Vuew8wLa2fKipqaKU0NsnmuUPYSv/pKDahPeiP9wfkbzkuEpyiCwIiqtU+HHv7AnA4GPPNXHSKTZZz2DgwzWW72cfNfQnnGpHhv1AV2KUlz6vVZ1fwLQC5gaIfZ0pIhJwuWOHBC0uz/MeEcpePTCQUd951t2gNVYcTNbohyIqZNxnofA28Bhv0RHpbfypLsQfsR1kzffCcx67AiloJHkhxR62MyQIldgxi0w== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2016 01:57:40.3290 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1719 Subject: [dpdk-dev] [PATCH 06/28] eal/armv7: define I/O device memory barriers for ARMv7 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 ARMv7. I/O barriers are mapped to existing smp barriers. Signed-off-by: Jerin Jacob CC: Jan Viktorin CC: Jianbo Liu --- lib/librte_eal/common/include/arch/arm/rte_atomic_32.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/librte_eal/common/include/arch/arm/rte_atomic_32.h b/lib/librte_eal/common/include/arch/arm/rte_atomic_32.h index dd627a0..14c0486 100644 --- a/lib/librte_eal/common/include/arch/arm/rte_atomic_32.h +++ b/lib/librte_eal/common/include/arch/arm/rte_atomic_32.h @@ -73,6 +73,12 @@ extern "C" { #define rte_smp_rmb() rte_rmb() +#define rte_io_mb() rte_mb() + +#define rte_io_wmb() rte_wmb() + +#define rte_io_rmb() rte_rmb() + #ifdef __cplusplus } #endif -- 2.5.5