From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0071.outbound.protection.outlook.com [104.47.36.71]) by dpdk.org (Postfix) with ESMTP id DC5A07D3B for ; Mon, 5 Jun 2017 10:59:28 +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=86lfMKgHWZ/a6YTUHNg5P/dI2heZ/1ap2gMaJX6UPGM=; b=AKaWu0Bem0ttdh0ItCloqPjObgcnq+WVn3+TQR4LEV1CAyZsBK1iDx12gvmNy0y0oYqjXNENSNyhWfcXbDM1XojxVv6dTZKSel3DxSymiz41U3VCxtSwCdxupKtWDxCXfWEH+AxrckMp3wQysgkOf1F5mDsiv2lr6U8dfhjD8NM= 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 (171.76.74.1) by CY1PR0701MB1726.namprd07.prod.outlook.com (10.163.21.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1143.10; Mon, 5 Jun 2017 08:59:25 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: thomas@monjalon.net, bruce.richardson@intel.com, Jerin Jacob , Chao Zhu Date: Mon, 5 Jun 2017 14:28:42 +0530 Message-Id: <20170605085843.16696-5-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170605085843.16696-1-jerin.jacob@caviumnetworks.com> References: <20170511101046.26456-1-jerin.jacob@caviumnetworks.com> <20170605085843.16696-1-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [171.76.74.1] X-ClientProxiedBy: BMXPR01CA0026.INDPRD01.PROD.OUTLOOK.COM (10.174.214.12) To CY1PR0701MB1726.namprd07.prod.outlook.com (10.163.21.140) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY1PR0701MB1726: X-MS-Office365-Filtering-Correlation-Id: 7a87567b-d99b-4879-1ef0-08d4abf12c08 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:CY1PR0701MB1726; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1726; 3:MQMam/8xe/mop6ru1uzYvyvmKtydnRw3z05CPSwLZXOBE6w32dca3G14QQQT3p+BifZPpqmXcprkiS69X9hdNlWPb7L9UnK7qeT2+XmomRr0i2yXebAGhHO61LUkmAAxtBJ+fmYLuXZAm1/y5J4XElnp1XDBpf2ExB0d4lyIIi/v9SutIl3J1RqPP7q4A5z85W8jOeYuf+yudKNcj57Rghnw+QbbCMuermkrj0vS0af84pgFvEUbiiSq8myME4BspMk12547AiVrMX6VsWRmRtRNKnssLleuiz11/S3PptmG/eJm0+d6ZobKXqJVbWPOPV3/pObIq8EPYMswEPyvbQ==; 25:LRVZQm02tEyJFVBkMVfUjhtZ8PwqizfgdQqEmPANOWMIGNbAdTBQ5xIKKvivbxnuSkE/grhRke1/vBpswFBUKFkCAzH6/urk6xwIbiCvGTMzaPG0j4TaTvb3tbSCmU3nC9TmtSPXUVRcsNhGSpPrCo4EC0gO08scUbVg8+GPc6QXQMkAt8VApHHg9yLcEd/8my1jlIIcUY92demV79NnuTLU2fkPcM7MeU6UQbwFbjczuJiZq68KAjwOswEFy/wzP9lTlLnhggA+m4v5o4IeswJxLS+WnrReuQ4Kel8mm9vI21QNUitvIKgjN+TD8BcLl1/hjhbwRiFnc/W9dA4iAVPktOm92aKZAJ+JxZ0w+WJG9NRbcp8BlmPctRITKS8NVib495Jwg68V14bfr8ujaF4z5f/7vm9YguEjITR9c++Ou15MuTsIAD06qYQx/F1vVPG05rTcUf/ZJLw83PByPRIelglaxIDeCDhGtV/jLU0= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1726; 31:n2jPsWFr7qDwaWhRdlzctGvRe4S4n5bOcEPe1FFQxhsAIMm28toDXUxcIqwhk/nPK7trE0bwFUUzfCq04+D83T3fRQESHRYkDBvp2DexLjdUJtpyYvziKVpXblucJF1j1g+rYc0LHpPCGjc3aBiYGXRgrfYqZnZuSec1yhz4P7QZonrfwEIFldLudWShLqM3mndF6KsEQYk+aIBmvYiQ/UR5qM/pvsClpUSP4AXEsn0=; 20:kJ4ww7mVqQmR452u5MlRJt52jMWsrtlrbk1Rhf9oD3a2LXIRXewGUbRt8vTZXcwNKzS987fLNzu9YfYKzTmm50uC5XhRPtNV+Ti4cy1ak2r+NnLLCik4lRA2PXGSMF5QE9RxFk9ZhGP6kJ54Bp+kB2xUnsH4UBsEwJ8KHgbiU6T61CuOKaB3oZG5jiaHs2GfXYY+jsXlZeJyIJ6Wx9s6Nk6Nc5xuE8ynw8FTGxXnk5EP6vlwKNnBIWQ4mMvxrnqgamFTzTJf5saUCOVt74rt4BS3UInrm3vgPTLdbOUnrXTjTjT9ySBPd3WtR3fwMQ9wmqgDigFz6L6ob4G58B9SnoxnF6vacIYQWGoS2PF3NkLpBDUHTiOfgLzX9kGWTRSAGZoVkqADs3a8CEYFCGaUq4vkhl24XognhkmOU0In8rUKMIKJOydQ5Hn3pTKSniEw+5S6GhFaYpIEPGJdXgXCPtZxr6gghdRj8zpKcIAK3Q0O1Bevl2+AZ01DcG81a4gbjiM0LBd3IIqRnu+1N/jvCD7gMgg7SVHTKi6pKN6Sc/z8/WGQY6lGwG6D8vpo6EIDwX91SuUbKyWQsjsKD/XiSV64qO/X+nFm19JLm8dbFCM= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(104084551191319); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(3002001)(10201501046)(100000703101)(100105400095)(6041248)(20161123562025)(20161123560025)(20161123564025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY1PR0701MB1726; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY1PR0701MB1726; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1726; 4:Za6S+ZmSpsviXxOpDJ5BWi88ojM6ZZGvoh7KPB+I?= =?us-ascii?Q?OIpLSPPpTkwL/fUkTyC4yQb/sm+JWLMUxrz+FRdLtAdRv+Txh9/50HmU0GvF?= =?us-ascii?Q?EqmsKp71OuKgaYDodDSvwZ9IFiOuKn33ULkBPs7QKzsQJJUd4S/mBThjgNjS?= =?us-ascii?Q?h28F+5lmTjZWROTTg8U+mf7wNHlWzst1koxZPyzfzYFL0gEEdrUjcoLprv36?= =?us-ascii?Q?qt5/DMy7HjQR8lxoBGcL+WttEntnQ8R3zWXYa4dE70oKZt/eXJR3M55oEU8X?= =?us-ascii?Q?kMKtIdcR6oQpc8IC3PjBII6QDilrZz2gzlWvFvZ0Pd8g8VOEtrCex1PQuh8N?= =?us-ascii?Q?54ZpZem7gfpqwzForAwyKpolu7IvgYoTDc/uhUZHTS/szTj/KVRbTcer3fGR?= =?us-ascii?Q?mKiKn1qKeYWSo50yyCGIXXS2W6en7cECiMTOAjw7+bShX0Hbrib+wA/U03vH?= =?us-ascii?Q?EsbUBDHS+wXh0sgxsrsz689f3lnu9ktcqiI1by6Hqsg6EBTbrDaAiXT3obeV?= =?us-ascii?Q?Z47uGTbXBM9cD97jl7YbskOmswuGuU5SLINFAFiru3qhbQ1JOcq0YxMB611y?= =?us-ascii?Q?ZiJK3f94AJxje4RWjTeQPuNmQiqDpZLlRENWx2tgMHf3fOZXy2w3gvsYJvPa?= =?us-ascii?Q?1YtusG1wIQu4j+dko27q0dCG6DMIf0KVaFsgKY6Z+Dlu3J+Ci3AQf3+hl00D?= =?us-ascii?Q?6AHO3PAD3K+9MUbd5okfpKaJklvFkqBDsMTgAByO/LB/z+9iDqGqtUJ2IBha?= =?us-ascii?Q?fH2o7Ox2KGIKog4ztgMiqCtamzmwblEeTrIe6pUQ8njVbNM1sxKN6uxMlJ16?= =?us-ascii?Q?can/zi16ijIbE5/5zH4/cJdFhB1K3KMV1GXA58u4c6padzlZ6kHYQlNCJYEi?= =?us-ascii?Q?9kt0wPWpS5i3Uh+HdpIUPtfSbeW/TOaNsdKnhdZVLGYXp3SS8GouSglDE4kX?= =?us-ascii?Q?+r9ZiUNgjiq5/j7VHM8teMr05sG2UEAzoc+uDdybJLezRGEelZh+p+gOTj9b?= =?us-ascii?Q?XG2JWJ8JmFUaCVsME67moMkxrnRptCLmQt5RD4oFKhqATPi2+OHFB1d2CQoS?= =?us-ascii?Q?n17cl9N19qWWQOW0jl2L3IaFtE/XczQS1g9hheC1775p4gSJwMA0/Xy+JDbM?= =?us-ascii?Q?SFs4g4s6LDHdR0A1aZT6oF4o2vrIb5JVONrrnlFo32mpp63AUoOI0Q=3D=3D?= X-Forefront-PRVS: 0329B15C8A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39410400002)(39400400002)(39840400002)(39450400003)(47776003)(189998001)(66066001)(50986999)(76176999)(2361001)(2351001)(36756003)(6116002)(3846002)(1076002)(33646002)(5003940100001)(5660300001)(53416004)(7736002)(305945005)(42186005)(50226002)(81166006)(8676002)(6666003)(72206003)(2950100002)(42882006)(6916009)(478600001)(6512007)(25786009)(110136004)(38730400002)(53936002)(2906002)(6506006)(4326008)(6486002)(48376002)(50466002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1726; H:jerin.domain.name; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1726; 23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D07qscxci5Sgb9/CSrg1LvlYf47la5SEKtmk9rsD3LCdotI6c9OgaaDfCfMsCJfg61ZHCFLS3Mrr+UReUu+3Jnn//GhldljBQpaaUQtIgoWo1SdoGz4vbJx3ZN3fCbWdhYrB17v+70utetb8vXPpKrysXdikuzSNkPFq0wGYYlReenU9bV7InIpXJ77kfx8iHI6Nvr8sjBmVZiF6aaMHtOkSUJE4Th9qeIrPOvq+ZMcLBs+hOIki3eqJGfIH8ddIGsfXx4En8MCjmtgEVDZdrk1f5uOKhAM/rd4IbfbtWIY3dg4vIsmKl1E8pyoQjDRcZExb4FH3NdRAi78o14JMl+iz+iYko2OfMYiEqm; 24:fKNv1CtUUcCbP4A/Lr8/RzAXXVE7q6+mIxhCqDah5riQWL37A7H03fSqx4VSxxr1VW+7+nAPNP24jyggnp6vVFrdG2ohq/EYsODx17z2Bjc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1726; 7:ukGletfuRkAVdQKOG1GYrhqqPA0JTDnbL2t+FymtK8GyJ8PuISfchlwxTgnlg9NOgbw4Tq6nZtzWCzVKFLS1qOWrdxUdwzh7AV7Nl+p+1j5byhbICjNxsiC/0gh4kWH9pjsq/JO1krYxIWKXW08qbFsdaSAvk4dgZpl2CaGRx/U8lTVVuHNwv45ssnFOd8/3LGc+8+eRGrXmshzsxD7O1tozzka3XRrrRtCdi2gxov3ESpG4hsHp57tiQvukMTHigdAmYdZlr40Ed1v+3UrRawlFvpa6Z5JMyaCObQtKl9gxjLY5i1s++PPnZ8I98ker+IW/ggXjCQwaO8xeMmOZxQ== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2017 08:59:25.9966 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1726 Subject: [dpdk-dev] [PATCH v2 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: Mon, 05 Jun 2017 08:59:29 -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 Acked-by: Chao Zhu --- .../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.13.0