net/i40e: enable i40e NEON vector PMD in meson

Message ID 20200605052056.93258-1-ruifeng.wang@arm.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers
Series net/i40e: enable i40e NEON vector PMD in meson |

Checks

Context Check Description
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-nxp-Performance success Performance Testing PASS
ci/Intel-compilation success Compilation OK
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-testing warning Testing issues
ci/checkpatch success coding style OK

Commit Message

Ruifeng Wang June 5, 2020, 5:20 a.m. UTC
  The i40e neon vector implementation is not compiled with meson.
Add the file to meson for Arm platform.

Cc: stable@dpdk.org

Reported-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Reviewed-by: Phil Yang <phil.yang@arm.com>
---
 drivers/net/i40e/meson.build | 3 +++
 1 file changed, 3 insertions(+)
  

Comments

Bruce Richardson June 5, 2020, 8:36 a.m. UTC | #1
On Fri, Jun 05, 2020 at 01:20:55PM +0800, Ruifeng Wang wrote:
> The i40e neon vector implementation is not compiled with meson.
> Add the file to meson for Arm platform.
> 
> Cc: stable@dpdk.org
> 
> Reported-by: David Marchand <david.marchand@redhat.com>
> Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>
> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
> Reviewed-by: Phil Yang <phil.yang@arm.com>
> ---
>  drivers/net/i40e/meson.build | 3 +++
>  1 file changed, 3 insertions(+)
> 
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
  
Ferruh Yigit June 5, 2020, 11:14 a.m. UTC | #2
On 6/5/2020 9:36 AM, Bruce Richardson wrote:
> On Fri, Jun 05, 2020 at 01:20:55PM +0800, Ruifeng Wang wrote:
>> The i40e neon vector implementation is not compiled with meson.
>> Add the file to meson for Arm platform.
>>
>> Cc: stable@dpdk.org
>>
>> Reported-by: David Marchand <david.marchand@redhat.com>
>> Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>
>> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
>> Reviewed-by: Phil Yang <phil.yang@arm.com>
>> ---
>>  drivers/net/i40e/meson.build | 3 +++
>>  1 file changed, 3 insertions(+)
>>
> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
> 

Applied to dpdk-next-net/master, thanks.
  

Patch

diff --git a/drivers/net/i40e/meson.build b/drivers/net/i40e/meson.build
index c452420ee..211d45d88 100644
--- a/drivers/net/i40e/meson.build
+++ b/drivers/net/i40e/meson.build
@@ -47,6 +47,9 @@  if arch_subdir == 'x86'
 elif arch_subdir == 'ppc'
        dpdk_conf.set('RTE_LIBRTE_I40E_INC_VECTOR', 1)
        sources += files('i40e_rxtx_vec_altivec.c')
+elif arch_subdir == 'arm'
+       dpdk_conf.set('RTE_LIBRTE_I40E_INC_VECTOR', 1)
+       sources += files('i40e_rxtx_vec_neon.c')
 endif
 
 install_headers('rte_pmd_i40e.h')