From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0073.outbound.protection.outlook.com [104.47.42.73]) by dpdk.org (Postfix) with ESMTP id E334969A5 for ; Thu, 11 May 2017 12:11:35 +0200 (CEST) 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=SqlyDzX45rV/Pooe58wWornVAodTNv9qVB6EhGjgMUM=; b=SQQBvYgR228a0dzxJvSuU5uKojyHXRihk5ek3nUYRgNIYpbNkRQvoQuEmBH/Y2dYFYWbHjLyNVOofjeH06G6K3KQFFfUs3ygrMTM/iFCtvYYp6FYBQ4Z4oaxP8bD3AEFYdR4DjkNN1hfcGb46okQLRYr5CnZUdjOrBxEkKhFFbM= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin.domain.name (111.93.218.67) by BLUPR0701MB1716.namprd07.prod.outlook.com (10.163.85.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1075.11; Thu, 11 May 2017 10:11:31 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: thomas@monjalon.net, jianbo.liu@linaro.org, viktorin@rehivetech.com, Jerin Jacob , Chao Zhu Date: Thu, 11 May 2017 15:40:45 +0530 Message-Id: <20170511101046.26456-5-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170511101046.26456-1-jerin.jacob@caviumnetworks.com> References: <20170511101046.26456-1-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0070.INDPRD01.PROD.OUTLOOK.COM (10.164.136.170) To BLUPR0701MB1716.namprd07.prod.outlook.com (10.163.85.142) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 632b106a-aee5-4752-0041-08d498561a2e X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BLUPR0701MB1716; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 3:1frvpkHPrzj18OLxc3LpePGaEStjbdIrDFDBjIXLZxemziAHk3cvbk4HH33vE+/z8r8QH5g1NyiMRiYewDFgODwio+/7U8uDLkHspwolvm0KOgSS7ydtPABjMNFXtAAgVHClKdl03QB5SyFMOHJKEZL6UwMf3CHUlyq1FO2DU4UTxq5rnY+NJ/gDUsuxp8qjBov5gQi35UOF8JoMufk2MpLxe0Qel7IjJ0BU0jkCjgsyOZXUCeeh/uMOqiswnpEPlUDDLSCtVACfxvqN4OtV/pF7NzW+i8cns6lwJz+UPcdZ+TwWwfXbK5yCLY3zgarfPonkvXb0ojI+vHA+UauUew==; 25:s49LJ4XYZgum7WCAUWv5c90e1l4JzVo/TJY4dBgmeafx1RNfHmsYilxAFRvsIfpz+/twHEEwlIlgaL5duN5XUg+FW7dtcJdFB9+yBh0IzQluN8RyEnYNaWxR9QrVfEQy+RmYmJEVvwSE5ObU6DXpiCiXLYrLqARZkI3ENc8U5WYxwGUkh/gVymo6NSh9SVdl/K/dkk1EMwOkMrj1cnxFHTd6Kg0zLOx8dz7/uZbYNfvEzJTvuVnBgQiBI8Vpp0uibRaY6Ti9TjymS/7GP1m1u2arRRDVI+K5JVFIb7DrUTqqmzTHBYQpHErJ5xBCeM/15pYBrM5fUQCtRCvsbFusRbN+X4cbzaRPc5iGV6M6qqMWvSnfqNs2YHGsYzx4PILzwyOnHkKJWkJKFAbBDSCIIR/OqjOCQFBUlcTtE2+B9QLcKJ54bOcI3WIpguHjzgVd06SB5C4MZwOgq48kJvqt4DozqbGJGub/HD1NYXCkd88= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 31:iN1qBh4YDZU2FjHv9tfJI1vy7lkraLPUIW4Yxa2DYmw+qV0MBAXMIa+heEyMNZI9UZ/O7CJyvnaJ+VXZKWimBKeqdTsaNfG39flePzGa2jVwb4Di4shglIT+of7w4xgDEe2PxJCeEi70w8GK23d2ETJ2bNoJepWJ+TxtO1GbVwmYqwIyKswm9QfYgl2LKUgcgaLz62L7K/HOuGDwNS30IXURs4Pq2nU1RtR9jleDALo=; 20:o9Lt4ATIKiuhtuoyae00zuznMgQNAphjNYsIstGmLbQr/w67TGVrk4bq2yR/6pWo0llQhxMcN+rx6xp/q6jaItnHzDgiUhDsE90N0zSES24F7MbmLKQ/65+uIwXyyBE0pguUvX9HgNkNQMSflkGm/Mo7bHkg3X9DKU6KjAu32PRb5+Zkx5wb/GxDchQ5xVaiGmuWD7tqFlpAX61ss99YMoDhb3AhQLaEHFE8sADbxJngCQxcfmTWsSimnRzTTnYErMiYkuN73xHLNYo+IMM/oD+1oplZHuBVCkun3evHJZQASXSy6fLu3LFaK8knWAaf7WzJcWYXZqj43s9yGjC4ec64pTNGrsxko1uZEb+bvwCUSw18h2ZXi2QW5mot3M7UNTLPN45MSajbFs+zzv5kqQl6ITryBrW5m/zowTzcc0vGbwRHJWKOMnhMWvhfqLfcmS1cmjjXjriXdF4ankWOJ3BwJ2TPxjWLGwje2B46E1CKBAWF+0P3NGvn3abmyEpkRvvr3blj1HxodI7HQET+Dm3bOhhXzvWuYP8VeeUNm8Lz6aMOpCVaems5bbkq6/yIaicCmIREMzT+9m4iB1Ik0QA3KQwxurzwGDhwLc+pSFI= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(104084551191319); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(93006095)(10201501046)(6041248)(20161123555025)(20161123562025)(20161123560025)(20161123564025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148); SRVR:BLUPR0701MB1716; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1716; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 4:RHE5jb8KcnO2clE1Y3xH4YW0AEHzWB/WoBaMsyksXidH4cblTtBJY4wBqPWr+tmQXrcRZgg/GXaPeUykfawQh13pO7WNt1o9+Bokw4DYF4QHcbOnyFRIuNNeO+eD+Gk3s9C2Bpuu1dGbWL2qpu5mOMQhYQi1vfyn5lHltwrgmrKVBg9IjFqqErss5b8RNFwRM+w0+WnWzDWMmVxehlzhZsiDRIca93W1GuZS+B2M2B1Oo5sHlvHQ8Qbkcg0bO931tl/CkI9d/Tj9JOwmczzHrSg5S7TOigqdg0wlWoCo9hjJ4uwlk/IefzMAz5ZjrzDVFvNGkWcxiVIb3hORWbqzi7SrakLOc65x3LS6IEDVzDSz3bHkTURDatpndlq8Y/9+Tk9dzVbMZwekiyms9u9kid7VZ2HCKHTq5U4zVnkUSiMIXzgY8SfSaSdf3+XYtKjaDklYHpr0F/eUK60hyQugJPj/ocaqpOjlMzhXcySbWZjfgUQwYPTqTsfwCDzh3ehWl0U6wgzxjDwFKDVFWWCCD2wr+5M+EPX6M02l9f5Wk8NgyyIDFtAYo//W0h6mJvqafCvR6MrSKaYqCWK/I+f3H1V4kIPh2fAa9b0dxUy5+ukwnfVXpHKgdn+PAMn9a7eMJ4w6V4WJv0CpiKOc1Lr8Xvszhltwyc0HhBELgyAlDuSPYq/BLJcuD3v4N4qfzgEI7jb5QMhXAfqZlLmbHuZ5yxPKHXeVQR2aBo60lgCUBgkCbzNnObsb9u/qayQUVRJMw86fO3emAwmi9E4q1CfPm7oT8SsUSNfHheHemQOlfxXIjtjFXOqH0L8jveVCSQcv X-Forefront-PRVS: 0304E36CA3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39840400002)(39450400003)(39850400002)(39400400002)(39410400002)(5009440100003)(2361001)(3846002)(110136004)(2351001)(478600001)(38730400002)(189998001)(25786009)(4326008)(72206003)(6512007)(36756003)(53936002)(305945005)(7736002)(54906002)(2906002)(1076002)(8676002)(50226002)(50466002)(6116002)(48376002)(5003940100001)(76176999)(50986999)(66066001)(6486002)(47776003)(33646002)(6666003)(42882006)(53416004)(81166006)(5660300001)(6506006)(2950100002)(42186005)(6916009); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1716; H:jerin.domain.name; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1716; 23:YND0FWP1lMdgCyzH29XMDrXN9McMnbOdo8r06Hs?= =?us-ascii?Q?ob4nYbudaQrJ1pDkcR0IGoLJ9MLz7AHuTF+eeLAicgqiUAzVbrASsduV0+Q9?= =?us-ascii?Q?VbSG6uT2IPe5OSo7Aav6WrKEjyeiZMEEE4w+3rtPEP1BLKFi83wXzxe1k5Xi?= =?us-ascii?Q?aCVBufYbBTN+6XZDMw4hzo0gSUtAaHdVDK6hvP7WsmwUgaJIi59rjLq3iQZe?= =?us-ascii?Q?u28wdNNCcGHSIama+YzxC7NZyIavN35DD+XLRXK24KGKW3spIHDnNuxM1/d1?= =?us-ascii?Q?dgsuHh2AyDID19m/DHLrrHXJDJfP78DcrrRlHZfWDhLuvQrdd4EZjHXAb7W1?= =?us-ascii?Q?qk6ySU8mdubM5JkaVnwniE/Dgnq81Mj4CPqePvBlIDrQzN3ioz1KdpVAsGae?= =?us-ascii?Q?BU3RyJxgbuNn2yLHmy/XxuRKMPobT/kK9Ecut8GQBRuSk+huWM0rGBvHzTT1?= =?us-ascii?Q?SiU0oYzHGbGTw4juLSJ6bV+Da1GxlABfhviW6uZ4ZQJp/l+W9LxmhIMeEG9I?= =?us-ascii?Q?Yrh+iWp+JvGkXZls6AvUgVPyC3qLTiKFQfvpUwqEfIhJxBUiSLv5ZXzDYMPb?= =?us-ascii?Q?l3jNruPlfCZO2WP0NPLySqLJfB6aLFxZrdz/eUgjc3WwUJAGm5XubIpc4Jge?= =?us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KpgyQY/Z8OgIJdAV5WrDynabVgTf4mMo/1EXIffc/D1BVPWhRwfSbgeGgkmvQ87bzI9Nws89qrz1HkMNliYkQgMRRrn1K7txkq+7SseTg2Re99HbCQtSG5jXEdDTO09R97BDCqz1D39uzgfxNWObHjOQgiwJ5B8fChq2LjzQv8LSUTO5zFuBNUCWTBihJzjw==; 5:QBLCO3piMAUvegJtAKiCUW47lGqCyr4KBSVPN5SsZvCT0KiHE/NE9Vz8Vq6XljE1O+DgoYItYAMfCAF8JGuSg0HEXCF/l4TQFTawWskRcdVSlhPVQB2olVR51qAEBJ4U8TJBMdWCL8hL5hRN6fIFeA==; 24:qqmqaAOaypiS7C1Ozwrboa6GInQ9WVt+r5TzRCRAE9Q3i5uXMYFw3jJz5SgRXeA/ZoYDn6tfUz/AcTiqeuWxHf9Oi4Nsn++Z4aG/cEuvkwA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 7:RMghZkvmeHkvYd36pL7KkssvXgYFjb+VQTjK/Qo+H+qLb6nwHLg+G5x4s8j0qp4ZOck5JLoggT9ALFx4xYLF7V6aEEH2mu5DsCpm75NX5WiUea8N1mBDCXzTeJsvEFPdC4tvRK2FMJ6ZvzTWOAGzjWA3sJlxj5ZMs/zplOHLx2c7WkDH8cSAxqNeEJjET/HQA+ZUaqEXhyLDjC5bxbSr17bm3+SOCowkFcGn9jEcH1ucQPIRL/W5CLjj7dAGpXxFzJeLy0q/kDagze+yXbZxM5I7th67CASM3pbOPZ1zsoQuoMuBM4UneLvziDFHLBGLoIj78k2vDMJRfi7GCT7upA== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 May 2017 10:11:31.5382 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1716 Subject: [dpdk-dev] [PATCH 5/6] eal/ppc64: rte pause implementation for ppc64 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, 11 May 2017 10:11:36 -0000 The patch does not provide any functional change for ppc64 with respect to existing rte_pause() definition. CC: Chao Zhu Signed-off-by: Jerin Jacob --- .../common/include/arch/ppc_64/rte_pause.h | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/ppc_64/rte_pause.h diff --git a/lib/librte_eal/common/include/arch/ppc_64/rte_pause.h b/lib/librte_eal/common/include/arch/ppc_64/rte_pause.h new file mode 100644 index 000000000..489cf2f13 --- /dev/null +++ b/lib/librte_eal/common/include/arch/ppc_64/rte_pause.h @@ -0,0 +1,51 @@ +/*- + * BSD LICENSE + * + * Copyright(c) Cavium. All rights reserved. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * * Neither the name of Cavium nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#ifndef _RTE_PAUSE_PPC64_H_ +#define _RTE_PAUSE_PPC64_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include "generic/rte_pause.h" + +static inline void rte_pause(void) +{ +} + +#ifdef __cplusplus +} +#endif + +#endif /* _RTE_PAUSE_PPC64_H_ */ -- 2.12.2