[dpdk-dev] [PATCH v3] i40e: implement vector PMD for altivec

Ferruh Yigit ferruh.yigit at intel.com
Wed Feb 22 18:35:27 CET 2017


On 2/20/2017 12:15 PM, Gowrishankar wrote:
> From: Gowrishankar Muthukrishnan <gowrishankar.m at linux.vnet.ibm.com>
> 
> Changes:
> v3 - minor corrections for coding style standard.
> v2 - minor corrections for gcc strict aliasing and coding style standard.
> 
> This patch enables i40e driver in powerpc along with its altivec
> intrinsic support.

It worth updating release notes to mention i40e support enabled by
default for powerpc and 140e vector PMD added for powerpc.

> 
> Signed-off-by: Gowrishankar Muthukrishnan <gowrishankar.m at linux.vnet.ibm.com>
> ---
>  MAINTAINERS                                 |   1 +
>  config/defconfig_ppc_64-power8-linuxapp-gcc |   2 +-
>  doc/guides/nics/features/i40e.ini           |   1 +
>  doc/guides/nics/features/i40e_vec.ini       |   1 +
>  drivers/net/i40e/Makefile                   |   2 +
>  drivers/net/i40e/i40e_rxtx_vec_altivec.c    | 654 ++++++++++++++++++++++++++++
>  6 files changed, 660 insertions(+), 1 deletion(-)
>  create mode 100644 drivers/net/i40e/i40e_rxtx_vec_altivec.c
> 

<...>

> diff --git a/doc/guides/nics/features/i40e.ini b/doc/guides/nics/features/i40e.ini
> index 0d143bc..6fad048 100644
> --- a/doc/guides/nics/features/i40e.ini
> +++ b/doc/guides/nics/features/i40e.ini
> @@ -46,3 +46,4 @@ Linux VFIO           = Y
>  x86-32               = Y
>  x86-64               = Y
>  ARMv8                = Y
> +PPC_64               = Y

The feature name is "Power8".

> diff --git a/doc/guides/nics/features/i40e_vec.ini b/doc/guides/nics/features/i40e_vec.ini
> index edd6b71..f653446 100644
> --- a/doc/guides/nics/features/i40e_vec.ini
> +++ b/doc/guides/nics/features/i40e_vec.ini
> @@ -38,3 +38,4 @@ Linux VFIO           = Y
>  x86-32               = Y
>  x86-64               = Y
>  ARMv8                = Y
> +PPC_64               = Y

Same here.

<...>
> --- /dev/null
> +++ b/drivers/net/i40e/i40e_rxtx_vec_altivec.c
> @@ -0,0 +1,654 @@
> +/*-
> + *   BSD LICENSE
> + *
> + *   Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
> + *   Copyright(c) 2016 IBM Corporation.

2017

> + *   All rights reserved.
<...>



More information about the dev mailing list