net/bnxt: add TruFlow hash function
[dpdk.git] / drivers / net / bnxt / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2018 Intel Corporation
3 # Copyright(c) 2020 Broadcom
4
5 install_headers('rte_pmd_bnxt.h')
6
7 includes += include_directories('tf_ulp')
8 includes += include_directories('tf_core')
9
10 sources = files('bnxt_cpr.c',
11         'bnxt_ethdev.c',
12         'bnxt_filter.c',
13         'bnxt_flow.c',
14         'bnxt_hwrm.c',
15         'bnxt_irq.c',
16         'bnxt_ring.c',
17         'bnxt_rxq.c',
18         'bnxt_rxr.c',
19         'bnxt_stats.c',
20         'bnxt_txq.c',
21         'bnxt_txr.c',
22         'bnxt_util.c',
23         'bnxt_vnic.c',
24         'bnxt_reps.c',
25
26         'tf_core/tf_core.c',
27         'tf_core/bitalloc.c',
28         'tf_core/tf_msg.c',
29         'tf_core/rand.c',
30         'tf_core/stack.c',
31         'tf_core/tf_em_common.c',
32         'tf_core/tf_em_host.c',
33         'tf_core/tf_em_internal.c',
34         'tf_core/tf_rm.c',
35         'tf_core/tf_tbl.c',
36         'tf_core/tfp.c',
37         'tf_core/tf_session.c',
38         'tf_core/tf_device.c',
39         'tf_core/tf_device_p4.c',
40         'tf_core/tf_identifier.c',
41         'tf_core/tf_shadow_tbl.c',
42         'tf_core/tf_shadow_tcam.c',
43         'tf_core/tf_tcam.c',
44         'tf_core/tf_util.c',
45         'tf_core/tf_if_tbl.c',
46         'tf_core/ll.c',
47         'tf_core/tf_global_cfg.c',
48         'tf_core/tf_em_host.c',
49         'tf_core/tf_shadow_identifier.c',
50         'tf_core/tf_hash.c',
51
52         'hcapi/hcapi_cfa_p4.c',
53
54         'tf_ulp/bnxt_ulp.c',
55         'tf_ulp/ulp_mark_mgr.c',
56         'tf_ulp/ulp_flow_db.c',
57         'tf_ulp/ulp_template_db_tbl.c',
58         'tf_ulp/ulp_template_db_class.c',
59         'tf_ulp/ulp_template_db_act.c',
60         'tf_ulp/ulp_utils.c',
61         'tf_ulp/ulp_mapper.c',
62         'tf_ulp/ulp_matcher.c',
63         'tf_ulp/ulp_rte_parser.c',
64         'tf_ulp/bnxt_ulp_flow.c',
65         'tf_ulp/ulp_port_db.c',
66         'tf_ulp/ulp_def_rules.c',
67         'tf_ulp/ulp_fc_mgr.c',
68
69         'rte_pmd_bnxt.c')
70
71 if arch_subdir == 'x86'
72         sources += files('bnxt_rxtx_vec_sse.c')
73 elif arch_subdir == 'arm' and host_machine.cpu_family().startswith('aarch64')
74         sources += files('bnxt_rxtx_vec_neon.c')
75 endif