From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Chao Zhu" Subject: Re: [PATCH 5/6] eal/ppc64: rte pause implementation for ppc64 Date: Thu, 18 May 2017 14:35:02 +0800 Message-ID: <000701d2cfa0$ebc2b9d0$c3482d70$@linux.vnet.ibm.com> References: <20170511101046.26456-1-jerin.jacob@caviumnetworks.com> <20170511101046.26456-5-jerin.jacob@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Cc: , , To: "'Jerin Jacob'" , 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 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 In-Reply-To: <20170511101046.26456-5-jerin.jacob@caviumnetworks.com> Content-Language: zh-cn List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----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