From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by dpdk.org (Postfix) with ESMTP id CBD522901 for ; Thu, 18 May 2017 08:35:57 +0200 (CEST) Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v4I6XggM063632 for ; Thu, 18 May 2017 02:35:57 -0400 Received: from e23smtp08.au.ibm.com (e23smtp08.au.ibm.com [202.81.31.141]) by mx0a-001b2d01.pphosted.com with ESMTP id 2agxkb8vtb-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 18 May 2017 02:35:56 -0400 Received: from localhost by e23smtp08.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 18 May 2017 16:35:54 +1000 Received: from d23relay09.au.ibm.com (202.81.31.228) by e23smtp08.au.ibm.com (202.81.31.205) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 18 May 2017 16:35:51 +1000 Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.235.139]) by d23relay09.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v4I6ZgWt62783570 for ; Thu, 18 May 2017 16:35:50 +1000 Received: from d23av04.au.ibm.com (localhost [127.0.0.1]) by d23av04.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id v4I6ZHBY021484 for ; Thu, 18 May 2017 16:35:17 +1000 Received: from ADMINIB2M8Q79C ([9.186.50.132]) by d23av04.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id v4I6ZFfm020758; Thu, 18 May 2017 16:35:16 +1000 From: "Chao Zhu" To: "'Jerin Jacob'" , Cc: , , References: <20170511101046.26456-1-jerin.jacob@caviumnetworks.com> <20170511101046.26456-5-jerin.jacob@caviumnetworks.com> In-Reply-To: <20170511101046.26456-5-jerin.jacob@caviumnetworks.com> Date: Thu, 18 May 2017 14:35:02 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Content-Language: zh-cn Thread-Index: AQHaIMWXSwFTbKkgLJtStNemuRSsuwGg9Qkxod34dyA= X-TM-AS-MML: disable x-cbid: 17051806-0048-0000-0000-0000022E66BD X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17051806-0049-0000-0000-000047DCF647 Message-Id: <000701d2cfa0$ebc2b9d0$c3482d70$@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-18_01:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705180045 Subject: Re: [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, 18 May 2017 06:35:58 -0000 > -----Original Message----- > From: Jerin Jacob [mailto:jerin.jacob@caviumnetworks.com] > Sent: 2017=C4=EA5=D4=C211=C8=D5 18:11 > To: dev@dpdk.org > Cc: thomas@monjalon.net; jianbo.liu@linaro.org; = viktorin@rehivetech.com; > Jerin Jacob ; Chao Zhu > > Subject: [dpdk-dev] [PATCH 5/6] eal/ppc64: rte pause implementation = for ppc64 >=20 > The patch does not provide any functional change for ppc64 with = respect to > existing rte_pause() definition. >=20 > 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 >=20 > 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 Acked-by: Chao Zhu