From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 8D2E75688; Fri, 21 Apr 2017 05:23:12 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP; 20 Apr 2017 20:23:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,228,1488873600"; d="scan'208";a="1121983096" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga001.jf.intel.com with ESMTP; 20 Apr 2017 20:23:11 -0700 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 20 Apr 2017 20:23:11 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 20 Apr 2017 20:23:05 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.117]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.217]) with mapi id 14.03.0319.002; Fri, 21 Apr 2017 11:23:03 +0800 From: "Zhang, Qi Z" To: Alexey Kardashevskiy , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH dpdk] i40e/ppc64/altivec: Fix compile errors on POWER8 Thread-Index: AQHSukzalRHiebEko0StkiLrFi+AkKHPKBIg Date: Fri, 21 Apr 2017 03:23:03 +0000 Message-ID: <039ED4275CED7440929022BC67E706115308DE5F@SHSMSX103.ccr.corp.intel.com> References: <20170421031010.2389-1-aik@ozlabs.ru> In-Reply-To: <20170421031010.2389-1-aik@ozlabs.ru> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH dpdk] i40e/ppc64/altivec: Fix compile errors on POWER8 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Apr 2017 03:23:13 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Alexey > Kardashevskiy > Sent: Friday, April 21, 2017 11:10 AM > To: dev@dpdk.org > Cc: Alexey Kardashevskiy > Subject: [dpdk-dev] [PATCH dpdk] i40e/ppc64/altivec: Fix compile errors o= n > POWER8 >=20 > Fixes: 67f038076657 ("net/i40e: enable per-device packet type mapping") > Signed-off-by: Alexey Kardashevskiy > --- > drivers/net/i40e/i40e_rxtx_vec_altivec.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) >=20 > diff --git a/drivers/net/i40e/i40e_rxtx_vec_altivec.c > b/drivers/net/i40e/i40e_rxtx_vec_altivec.c > index 07de31b01..f4036ea28 100644 > --- a/drivers/net/i40e/i40e_rxtx_vec_altivec.c > +++ b/drivers/net/i40e/i40e_rxtx_vec_altivec.c > @@ -208,13 +208,13 @@ desc_to_ptype_v(vector unsigned long descs[4], > struct rte_mbuf **rx_pkts, > ptype1 =3D vec_sr(ptype1, (vector unsigned long){30, 30}); >=20 > rx_pkts[0]->packet_type =3D > - ptype_tbl[(*(vector unsigned char *)&ptype0)[0])]; > + ptype_tbl[(*(vector unsigned char *)&ptype0)[0]]; > rx_pkts[1]->packet_type =3D > - ptype_tbl[(*(vector unsigned char *)&ptype0)[8])]; > + ptype_tbl[(*(vector unsigned char *)&ptype0)[8]]; > rx_pkts[2]->packet_type =3D > - ptype_tbl[(*(vector unsigned char *)&ptype1)[0])]; > + ptype_tbl[(*(vector unsigned char *)&ptype1)[0]]; > rx_pkts[3]->packet_type =3D > - ptype_tbl[(*(vector unsigned char *)&ptype1)[8])]; > + ptype_tbl[(*(vector unsigned char *)&ptype1)[8]]; > } >=20 > /* Notice: > -- > 2.11.0 Acked-by: Qi Zhang