net/i40e: enable NEON Rx/Tx in meson
authorRuifeng Wang <ruifeng.wang@arm.com>
Fri, 5 Jun 2020 05:20:55 +0000 (13:20 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 5 Jun 2020 11:10:19 +0000 (13:10 +0200)
The i40e neon vector implementation is not compiled with meson.
Add the file to meson for Arm platform.

Fixes: e940646b20fa ("drivers/net: build Intel NIC PMDs with meson")
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>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
drivers/net/i40e/meson.build

index c452420..211d45d 100644 (file)
@@ -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')