1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2018-2021 Hisilicon Limited
6 reason = 'only supported on Linux'
10 if arch_subdir != 'x86' and arch_subdir != 'arm' or not dpdk_conf.get('RTE_ARCH_64')
12 reason = 'only supported on x86_64 and aarch64'
36 if arch_subdir == 'arm' and dpdk_conf.get('RTE_ARCH_64')
37 sources += files('hns3_rxtx_vec.c')
38 if cc.get_define('__ARM_FEATURE_SVE', args: machine_args) != ''
39 sources += files('hns3_rxtx_vec_sve.c')