patches for DPDK stable branches
 help / color / mirror / Atom feed
* Re: [dpdk-stable] [dpdk-dev] [PATCH dpdk] i40e/ppc64/altivec: Fix compile errors on POWER8
       [not found] <20170421031010.2389-1-aik@ozlabs.ru>
@ 2017-04-21  3:23 ` Zhang, Qi Z
  0 siblings, 0 replies; only message in thread
From: Zhang, Qi Z @ 2017-04-21  3:23 UTC (permalink / raw)
  To: Alexey Kardashevskiy, dev; +Cc: stable



> -----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 <aik@ozlabs.ru>
> Subject: [dpdk-dev] [PATCH dpdk] i40e/ppc64/altivec: Fix compile errors on
> POWER8
> 
> Fixes: 67f038076657 ("net/i40e: enable per-device packet type mapping")
> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
> ---
>  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:
> --
> 2.11.0

Acked-by: Qi Zhang <qi.z.zhang@intel.com>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-21  3:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20170421031010.2389-1-aik@ozlabs.ru>
2017-04-21  3:23 ` [dpdk-stable] [dpdk-dev] [PATCH dpdk] i40e/ppc64/altivec: Fix compile errors on POWER8 Zhang, Qi Z

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).