From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0062.outbound.protection.outlook.com [104.47.33.62]) by dpdk.org (Postfix) with ESMTP id 59A86F614 for ; Tue, 27 Dec 2016 10:51:03 +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=QGxrrX56f3lb4GbY7beLtDwshif054kcwBYaznjKRDM=; b=Kxj4+nuqQ/AbQf733b3Krow/quUMjVFse+7hqMQkhpsKlOxK3lRiuLHPGNhAcdol2YvycsUhYBX4cEFDp3lDfF6ggdUbDT2euzNQN3U8tA0IeG+poGntYoLNhky20V1pQk7+gWSZuYu/iw9WSWOUT5QgqQjMKKPCbbzgwhukp2w= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain.localdomain (202.83.56.97) by BLUPR0701MB1713.namprd07.prod.outlook.com (10.163.85.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.11; Tue, 27 Dec 2016 09:50:58 +0000 From: Jerin Jacob To: CC: , , , , , , Jerin Jacob Date: Tue, 27 Dec 2016 15:19:12 +0530 Message-ID: <1482832175-27199-7-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1482832175-27199-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1481680558-4003-1-git-send-email-jerin.jacob@caviumnetworks.com> <1482832175-27199-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [202.83.56.97] X-ClientProxiedBy: PN1PR01CA0001.INDPRD01.PROD.OUTLOOK.COM (10.164.137.8) To BLUPR0701MB1713.namprd07.prod.outlook.com (10.163.85.14) X-MS-Office365-Filtering-Correlation-Id: b90362fe-7169-4042-58f7-08d42e3dddc7 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BLUPR0701MB1713; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 3:65BtU2P1/xK2iL/RxeKSTNWOp6ujP3A9Hwa6gbJbAI9Bwt0H7bKNTklp79FAcp9iTTiZjW2wKwt5R+/9TTLPwxPRq7VjgPlRWqpk4dEhq5fMUWTt3ESw8C7++B7ACR/SPmq+ZtSmgsq+S5D0ftuv9nrFUUyudV2fHGdcgYQXaQ/CzOffSghfuubjGXBmJ1jhCGYgO13eKXLipSWZVnN4wxFp//xL9jJN5SXoux88BmZn6NMjhTEa7mH+kw/UuCjm59dWJxB+TFt2sFZhq3bUyQ== X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 25:O4qxudMHyC35X/1jcPSFOeQWCH9ZfnSyLWRI8l0BzTBXZ27g8LhFKiUQFThL/IdbMsMXFhaGSmaD2uq33h86bczDlyXyBtU1Nb88T3l5Yr+bsBMuZMYeRqDNU/GhTVPSH+JLpCpo0VvDXZdD39VP9weZtjOJXscK7uZ7oZaM7O5U4/OnxXcKHuKprGTopks5IzbgRwSud84/nWSyHVZK3FbeZ62E7lJE+kf6X8bKVVEOnL6uSu7rBbbr50Cg4W1dBzdwzfCoT2X9mkZmgCkPsTUg8tKbvVkBzqj/TsY766jinV7BvrnCUaTw4qG3WNT2QYvwJ0bHl6CrElRJjyqVSstN35xLUPXuAe4v7+54WHiwVH9WM5OwQx1zTlcwQW49j7d8mDyj2+1g4BunxH7ODm3grsKs9PnjONtvjQNZLE5c2pTWDTo4RAaD2WgQfkaFNf/yeGZY9XpcXoOoIzOjFucmlpozkajHZ6QSkGW6lYEtyYbBuWhpM2Ghk8Nl5YZU+Pzq+YqH1ItTWxM832tuhy1t+e+f/ASKPOp32QFrvVaJNEwmKd2UGhUyZ/cDf51QKDzUgNfzmImQhFC2+OiL2fji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8gZRH16r5LboQkbrsOlddQlq7Cd1iGHHlS+4a4kIQ18OSFGsgoRDE0xzyzy9g= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041248)(20161123555025)(20161123560025)(20161123558021)(20161123564025)(20161123562025)(6072148); SRVR:BLUPR0701MB1713; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1713; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 4:PDo9Am9rtADkT49+wtTsMMJGXB5+dhO31wrDPoNyZvG86KH0YaUxsY82rYnV3VMfdKeISqOz440vnk9n/jIT+k7yQ+cUrPo66hMLn2ToBgyShPBnOQCRakfsZL0IyVduqIkrrhjUaYpcQxnyZw0i7Tm07n5ZLF+tsIImtq1imiHpELgYv9ImiWIZPBEMvmqJSSmCNkkcFxC9vdDEHaKsTEcOVhnMlH3EsbdD2LM2SeAimdDEXnh+nOaRKFrqVhIw0L5pWfJjxmadRDEZ5P8IH2AMNydM81qAEYPKsdcwSA4/QQiA3+7dSi3XWTQ04+ll4Uz+zWLy40NHPTo0eyYOjkQmOxlqObp/WDZ1K/4lVsMwhgZVYOHZfBfsFfVHmeXSLF0Vu8VSaWUn2ApJHa+1Pd3IyIexDqEUMvr18tO6wDnt4wp1mTBWITwBDha5O2WbZhwswAHrmpZGnOMt+h0ICSGlI1xxsnLi7O9yOCPffxrSOrFAEdQS3cqL7iE1qZ9WaOzQdxwgSHY2DFhP4RNMHp1m1pKFBs07UpTcA14VWIlJvc6CUyYXtb5tLtHAuGthvDdlR7D2+r4HMWOjq/bk9lJZ2rIH5etdZnz0J/3RxZ8= X-Forefront-PRVS: 0169092318 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(39450400003)(199003)(189002)(4001430100002)(3846002)(4326007)(6116002)(50986999)(76176999)(5003940100001)(6506006)(6512006)(6486002)(92566002)(2351001)(50466002)(110136003)(305945005)(8676002)(66066001)(2906002)(101416001)(81156014)(81166006)(42186005)(50226002)(68736007)(106356001)(36756003)(97736004)(33646002)(107886002)(48376002)(105586002)(38730400001)(7736002)(6916009)(5660300001)(42882006)(47776003)(25786008)(189998001)(2950100002)(6666003); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1713; H:localhost.localdomain.localdomain; 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; BLUPR0701MB1713; 23:YNmehDagx8uM9ZljYlTOTD4Kf2AElLAOruxo4ae?= =?us-ascii?Q?h9sjzZeaBvgbLNQKStKRN6Ooer4DY7ihEHzh0XQhWgkOe+qRD6EWksxyJOMG?= =?us-ascii?Q?Dq9p9OqoN4zl0uAlfYpxXLb4Y2tKYXcWUKTa2juiCL5m8UZVJf/8CZcNOBxm?= =?us-ascii?Q?ja1tXV/Sh/Xvqe8rE6D/A888ARAIcR/8fKS7Ehm/pDeVvZjPQ9mb3lOQ7kQU?= =?us-ascii?Q?1uruFAk8xtGqUFOixF2weSCiMBxz4kP8McP4NV1yOMdfebL4/ImhqZehE9p/?= =?us-ascii?Q?A1IKldxqYa3HBWlnbwUyQ1Fn6eGPYXDm8rMrRYX+a4D7xTpy5DzIWjPYLYym?= =?us-ascii?Q?cjj7jmQDSOM+Wi8esVZyhEs0vrAm5ANnOlhnQk1I8CsEw9NRRMshpU25yzqd?= =?us-ascii?Q?sPmqezI0gSFzKl+WOq95cQDp+KzpnO4M5KXa/SG5fppsu1vm/6VEf7x35Qmx?= =?us-ascii?Q?Ls6aC4YJdSta9RM1A5dut1mLXdYpAzVcUqAkIjnfX0kg7/I7j2AIBCCdE/Ou?= =?us-ascii?Q?nvWO/BKGke3Wu0kvce0RRsmWZKLVdr6rwlxrMZd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hRQQ+AabIWkGrB9X8ZPROmk7aVu6d53JL08Nmrv4AZwtoYHly3nviMJwv7soFMSLUldDsK7WFrIqt0t6pNXzdbdMqeJ6ud1VwGaBQpJ4Wf6Jp+2vRFShnk11cL9IHp/c8jW7r6DCfQULjZBCFYssAYGGSRTCi4=; 5:l5MebFk9nfDLnr4Z+FZ4nha9BNmNA+udLJSVxpuSNp0wqqEjaqIg5fT9iYVmLNvSidjCa6hHS4kiG5LC7LdfPbxx5X3YXMq4mbpzZSPQhvxOLh1kldiZjXfH12hz5NmMY/vbhcW0emOZ+bTNz6OGBw==; 24:3IPuqfx8qx1AdGCreeSEd8G0VbTH5QANwNyZ9aMdRHb5Sv0aFJmknU69tHt/XlxyQ2HJ3z0aFMC9GrScRQko8soHgJju8urq5QjCY/KBziA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 7:4+iD0VY/Z6Cj2jUt/PTsfoSMz+mKHh2khiTi2ya9B+hxckFEGHwpk9cNop24UCxOtcn4dneiO34fjlxKQYDB2yPFf7jxlIEe5miwLiQV3Haou0Mz2dYN9732N5+Vo5tWXu+73Rl3fwj/pxZXQn9+8oQd2da5VdE2+A1Iaft2gqpx8OVSzAt2XcCoHqpVE4NGN8J/7lWhA+d2cwl0V1lYktg0mLOFtk6RRZru795bqcvag0WL7AbkInvluvuxIa16REW14izIEYOhHdHk/jpL0AfPyxEb1Ve/zO7H4FB91WG0kpWJNyiUzNXCSXm6ijd9nxz0ZTDiiIdrttGnR1PO/vwqYbluM1nJa8LsMpiRfDBsRmW343ypbKFiLCj9rv1u4Uo6rEdzezZiRbwCpCAvHwk7HlCQ0CUvyzu74Lm6/imzRIAbKImBOa1tPh/YqNZD8WxcQCQyQ3K2Jt9fyoQW/Q== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Dec 2016 09:50:58.4687 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1713 Subject: [dpdk-dev] [PATCH v2 06/29] 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: Tue, 27 Dec 2016 09:51:03 -0000 The patch does not provide any functional change for ARMv7. I/O barriers are mapped to existing smp barriers. CC: Jan Viktorin CC: Jianbo Liu Signed-off-by: Jerin Jacob --- 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