2017-12-18 15:56:25 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2017 Intel Corporation
|
2017-10-17 12:43:57 +00:00
|
|
|
|
2021-10-20 11:25:54 +00:00
|
|
|
if is_windows
|
|
|
|
build = false
|
|
|
|
reason = 'not supported on Windows'
|
|
|
|
subdir_done()
|
|
|
|
endif
|
|
|
|
|
2021-04-20 10:22:24 +00:00
|
|
|
sources = files(
|
|
|
|
'rte_swx_table_em.c',
|
2021-09-20 15:01:30 +00:00
|
|
|
'rte_swx_table_learner.c',
|
2021-07-02 22:46:05 +00:00
|
|
|
'rte_swx_table_selector.c',
|
2021-04-20 10:22:24 +00:00
|
|
|
'rte_swx_table_wm.c',
|
|
|
|
'rte_table_acl.c',
|
|
|
|
'rte_table_array.c',
|
|
|
|
'rte_table_hash_cuckoo.c',
|
|
|
|
'rte_table_hash_ext.c',
|
|
|
|
'rte_table_hash_key8.c',
|
|
|
|
'rte_table_hash_key16.c',
|
|
|
|
'rte_table_hash_key32.c',
|
|
|
|
'rte_table_hash_lru.c',
|
|
|
|
'rte_table_lpm.c',
|
|
|
|
'rte_table_lpm_ipv6.c',
|
|
|
|
'rte_table_stub.c',
|
|
|
|
)
|
|
|
|
headers = files(
|
|
|
|
'rte_lru.h',
|
|
|
|
'rte_swx_table.h',
|
|
|
|
'rte_swx_table_em.h',
|
2021-09-20 15:01:30 +00:00
|
|
|
'rte_swx_table_learner.h',
|
2021-07-02 22:46:05 +00:00
|
|
|
'rte_swx_table_selector.h',
|
2021-04-20 10:22:24 +00:00
|
|
|
'rte_swx_table_wm.h',
|
|
|
|
'rte_table.h',
|
|
|
|
'rte_table_acl.h',
|
|
|
|
'rte_table_array.h',
|
|
|
|
'rte_table_hash.h',
|
|
|
|
'rte_table_hash_cuckoo.h',
|
|
|
|
'rte_table_hash_func.h',
|
|
|
|
'rte_table_lpm.h',
|
|
|
|
'rte_table_lpm_ipv6.h',
|
|
|
|
'rte_table_stub.h',
|
|
|
|
)
|
2018-03-29 13:48:47 +00:00
|
|
|
deps += ['mbuf', 'port', 'lpm', 'hash', 'acl']
|
2017-10-17 12:43:57 +00:00
|
|
|
|
2021-04-20 10:22:24 +00:00
|
|
|
indirect_headers += files(
|
|
|
|
'rte_lru_arm64.h',
|
|
|
|
'rte_lru_x86.h',
|
2021-04-26 10:54:03 +00:00
|
|
|
'rte_table_hash_func_arm64.h',
|
2021-04-20 10:22:24 +00:00
|
|
|
)
|