net/virtio: move vring alignment to generic header
[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 if is_windows
6         build = false
7         reason = 'not supported on Windows'
8         subdir_done()
9 endif
10
11 headers = files('rte_pmd_bnxt.h')
12
13 includes += include_directories('tf_ulp')
14 includes += include_directories('tf_core')
15
16 sources = files('bnxt_cpr.c',
17         'bnxt_ethdev.c',
18         'bnxt_filter.c',
19         'bnxt_flow.c',
20         'bnxt_hwrm.c',
21         'bnxt_irq.c',
22         'bnxt_ring.c',
23         'bnxt_rxq.c',
24         'bnxt_rxr.c',
25         'bnxt_stats.c',
26         'bnxt_txq.c',
27         'bnxt_txr.c',
28         'bnxt_util.c',
29         'bnxt_vnic.c',
30         'bnxt_reps.c',
31
32         'tf_core/tf_core.c',
33         'tf_core/bitalloc.c',
34         'tf_core/tf_msg.c',
35         'tf_core/rand.c',
36         'tf_core/stack.c',
37         'tf_core/tf_em_common.c',
38         'tf_core/tf_em_internal.c',
39         'tf_core/tf_rm.c',
40         'tf_core/tf_tbl.c',
41         'tf_core/tfp.c',
42         'tf_core/tf_session.c',
43         'tf_core/tf_device.c',
44         'tf_core/tf_device_p4.c',
45         'tf_core/tf_identifier.c',
46         'tf_core/tf_shadow_tbl.c',
47         'tf_core/tf_shadow_tcam.c',
48         'tf_core/tf_tcam.c',
49         'tf_core/tf_util.c',
50         'tf_core/tf_if_tbl.c',
51         'tf_core/ll.c',
52         'tf_core/tf_global_cfg.c',
53         'tf_core/tf_em_host.c',
54         'tf_core/tf_shadow_identifier.c',
55         'tf_core/tf_hash.c',
56
57         'hcapi/hcapi_cfa_p4.c',
58
59         'tf_ulp/bnxt_ulp.c',
60         'tf_ulp/ulp_mark_mgr.c',
61         'tf_ulp/ulp_flow_db.c',
62         'tf_ulp/ulp_template_db_tbl.c',
63         'tf_ulp/ulp_template_db_class.c',
64         'tf_ulp/ulp_template_db_act.c',
65         'tf_ulp/ulp_utils.c',
66         'tf_ulp/ulp_mapper.c',
67         'tf_ulp/ulp_matcher.c',
68         'tf_ulp/ulp_rte_parser.c',
69         'tf_ulp/bnxt_ulp_flow.c',
70         'tf_ulp/ulp_port_db.c',
71         'tf_ulp/ulp_def_rules.c',
72         'tf_ulp/ulp_fc_mgr.c',
73         'tf_ulp/ulp_tun.c',
74         'tf_ulp/ulp_template_db_wh_plus_act.c',
75         'tf_ulp/ulp_template_db_wh_plus_class.c',
76         'tf_ulp/ulp_template_db_stingray_act.c',
77         'tf_ulp/ulp_template_db_stingray_class.c',
78
79         'rte_pmd_bnxt.c')
80
81 if arch_subdir == 'x86'
82         sources += files('bnxt_rxtx_vec_sse.c')
83 elif arch_subdir == 'arm' and host_machine.cpu_family().startswith('aarch64')
84         sources += files('bnxt_rxtx_vec_neon.c')
85 endif