ea7be0a038
This commit adds rte_table_hash_func.h and rte_table_hash_func_arm64.h to librte_table. This reduces code duplication by removing duplicate header files within two folders and consolidating them into a single one. This also adds a scalar implementation of the x86_64 intrinsic for crc32 as a generic fallback. Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Kevin Laatz <kevin.laatz@intel.com> Acked-by: Gavin Hu <gavin.hu@arm.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
32 lines
765 B
Meson
32 lines
765 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2017 Intel Corporation
|
|
|
|
version = 3
|
|
sources = files('rte_table_acl.c',
|
|
'rte_table_lpm.c',
|
|
'rte_table_lpm_ipv6.c',
|
|
'rte_table_hash_cuckoo.c',
|
|
'rte_table_hash_key8.c',
|
|
'rte_table_hash_key16.c',
|
|
'rte_table_hash_key32.c',
|
|
'rte_table_hash_ext.c',
|
|
'rte_table_hash_lru.c',
|
|
'rte_table_array.c',
|
|
'rte_table_stub.c')
|
|
headers = files('rte_table.h',
|
|
'rte_table_acl.h',
|
|
'rte_table_lpm.h',
|
|
'rte_table_lpm_ipv6.h',
|
|
'rte_table_hash.h',
|
|
'rte_table_hash_cuckoo.h',
|
|
'rte_table_hash_func.h',
|
|
'rte_table_hash_func_arm64.h',
|
|
'rte_lru.h',
|
|
'rte_table_array.h',
|
|
'rte_table_stub.h')
|
|
deps += ['mbuf', 'port', 'lpm', 'hash', 'acl']
|
|
|
|
if arch_subdir == 'x86'
|
|
headers += files('rte_lru_x86.h')
|
|
endif
|