From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f194.google.com (mail-io0-f194.google.com [209.85.223.194]) by dpdk.org (Postfix) with ESMTP id 8AE50388F for ; Fri, 21 Apr 2017 05:12:45 +0200 (CEST) Received: by mail-io0-f194.google.com with SMTP id d203so24743092iof.2 for ; Thu, 20 Apr 2017 20:12:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ozlabs-ru.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=ssQBwMb8cP25lI8ZR3/FBr6C/56EvAtKda0NYhqiVfM=; b=f7y10ZkSnTTp+CqQFrgXeFaM3aqiaGoLK4HcftoQ+QzZu4PB7p6xf7RI9mWYR6BfD4 DkABYfqRpfr6XiRvdYhT6MH+Zakkx288u2izwrAcIlKrfxz0yp/bfavbLPvAttTlaCnb fUic870lWgyg4l0BfZrGc/FC2EygVDMDu+o4lszqpDCDDN7j0O+3rmfNS6PobAZEPhsD gjErMTfgDuw+9numC7g1U3W4+nZvpMW/1iaZaq+JbVDcwNP/jWviweOq1m3/UWzSRVuX 2ju5nF+lbMo09uafmkjmFEzVhc9Y7QripB1EKE7/ClTEEVrLW7sqrYVhTnjv1F2Jwm76 AV4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ssQBwMb8cP25lI8ZR3/FBr6C/56EvAtKda0NYhqiVfM=; b=Urojdz0grEplpL4RyaLM3piQf9dIslhuM8O6kcF//8qTBXEXXqWmNwDjZFqILcEdBf pspjm2KfgsSYnlS7UCpjEuJiaemAYW7p80yq+Aqa8ut6b74BilR32jFB/ZNNcHMO5fsN MhsvGdkgA4D9itsJYCjU1rnTykJjLblbH9j9xDCfXH0QiOZAyLJkbkYmrxAjs6YYXrgx wdAY7qOdqEjql6zXRsU7Yudm+Rbxp/GWpnh6rM5RocRSYKJwFExsbWXJdmJXJwG3swz+ L5Gvjs+XvhA8stUiqTC9/F/2N9wCygrgDaO6f+b1NRqYgWdfaVAVpEdo/VoGQOrylgpr 5BdQ== X-Gm-Message-State: AN3rC/5v8GGgbxufNz3zs8PQNYQinXsLHK4dhnF7WuKLpkNYvWZpEY7n AUQiHlFqhBKjohJ4 X-Received: by 10.98.74.85 with SMTP id x82mr10305849pfa.115.1492744364842; Thu, 20 Apr 2017 20:12:44 -0700 (PDT) Received: from [10.61.2.175] ([122.99.82.10]) by smtp.googlemail.com with ESMTPSA id 20sm12772058pfq.42.2017.04.20.20.12.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Apr 2017 20:12:44 -0700 (PDT) To: dev@dpdk.org References: <20170421031010.2389-1-aik@ozlabs.ru> From: Alexey Kardashevskiy Message-ID: <60e02a37-fadc-c466-bd32-b1b5245b1a04@ozlabs.ru> Date: Fri, 21 Apr 2017 13:12:41 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: <20170421031010.2389-1-aik@ozlabs.ru> Content-Type: text/plain; charset=koi8-r Content-Language: en-AU Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH dpdk] i40e/ppc64/altivec: Fix compile errors on POWER8 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: Fri, 21 Apr 2017 03:12:46 -0000 On 21/04/17 13:10, Alexey Kardashevskiy wrote: > Fixes: 67f038076657 ("net/i40e: enable per-device packet type mapping") > Signed-off-by: Alexey Kardashevskiy ah, never mind, fixed already. > --- > drivers/net/i40e/i40e_rxtx_vec_altivec.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > 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 = vec_sr(ptype1, (vector unsigned long){30, 30}); > > rx_pkts[0]->packet_type = > - ptype_tbl[(*(vector unsigned char *)&ptype0)[0])]; > + ptype_tbl[(*(vector unsigned char *)&ptype0)[0]]; > rx_pkts[1]->packet_type = > - ptype_tbl[(*(vector unsigned char *)&ptype0)[8])]; > + ptype_tbl[(*(vector unsigned char *)&ptype0)[8]]; > rx_pkts[2]->packet_type = > - ptype_tbl[(*(vector unsigned char *)&ptype1)[0])]; > + ptype_tbl[(*(vector unsigned char *)&ptype1)[0]]; > rx_pkts[3]->packet_type = > - ptype_tbl[(*(vector unsigned char *)&ptype1)[8])]; > + ptype_tbl[(*(vector unsigned char *)&ptype1)[8]]; > } > > /* Notice: > -- Alexey