1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2018 Intel Corporation
3 # Copyright(c) 2020 Broadcom
5 install_headers('rte_pmd_bnxt.h')
7 includes += include_directories('tf_ulp')
8 includes += include_directories('tf_core')
10 sources = files('bnxt_cpr.c',
31 'tf_core/tf_em_common.c',
32 'tf_core/tf_em_internal.c',
36 'tf_core/tf_session.c',
37 'tf_core/tf_device.c',
38 'tf_core/tf_device_p4.c',
39 'tf_core/tf_identifier.c',
40 'tf_core/tf_shadow_tbl.c',
41 'tf_core/tf_shadow_tcam.c',
44 'tf_core/tf_if_tbl.c',
46 'tf_core/tf_global_cfg.c',
47 'tf_core/tf_em_host.c',
48 'tf_core/tf_shadow_identifier.c',
51 'hcapi/hcapi_cfa_p4.c',
54 'tf_ulp/ulp_mark_mgr.c',
55 'tf_ulp/ulp_flow_db.c',
56 'tf_ulp/ulp_template_db_tbl.c',
57 'tf_ulp/ulp_template_db_class.c',
58 'tf_ulp/ulp_template_db_act.c',
60 'tf_ulp/ulp_mapper.c',
61 'tf_ulp/ulp_matcher.c',
62 'tf_ulp/ulp_rte_parser.c',
63 'tf_ulp/bnxt_ulp_flow.c',
64 'tf_ulp/ulp_port_db.c',
65 'tf_ulp/ulp_def_rules.c',
66 'tf_ulp/ulp_fc_mgr.c',
70 if arch_subdir == 'x86'
71 sources += files('bnxt_rxtx_vec_sse.c')
72 elif arch_subdir == 'arm' and host_machine.cpu_family().startswith('aarch64')
73 sources += files('bnxt_rxtx_vec_neon.c')