1# SPDX-License-Identifier: BSD-3-Clause 2# Copyright(c) 2018 Intel Corporation 3# Copyright(c) 2020 Broadcom 4 5headers = files('rte_pmd_bnxt.h') 6 7includes += include_directories('tf_ulp') 8includes += include_directories('tf_core') 9 10sources = 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_internal.c', 33 'tf_core/tf_rm.c', 34 'tf_core/tf_tbl.c', 35 'tf_core/tfp.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', 42 'tf_core/tf_tcam.c', 43 'tf_core/tf_util.c', 44 'tf_core/tf_if_tbl.c', 45 'tf_core/ll.c', 46 'tf_core/tf_global_cfg.c', 47 'tf_core/tf_em_host.c', 48 'tf_core/tf_shadow_identifier.c', 49 'tf_core/tf_hash.c', 50 51 'hcapi/hcapi_cfa_p4.c', 52 53 'tf_ulp/bnxt_ulp.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', 59 'tf_ulp/ulp_utils.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', 67 'tf_ulp/ulp_tun.c', 68 'tf_ulp/ulp_template_db_wh_plus_act.c', 69 'tf_ulp/ulp_template_db_wh_plus_class.c', 70 'tf_ulp/ulp_template_db_stingray_act.c', 71 'tf_ulp/ulp_template_db_stingray_class.c', 72 73 'rte_pmd_bnxt.c') 74 75if arch_subdir == 'x86' 76 sources += files('bnxt_rxtx_vec_sse.c') 77elif arch_subdir == 'arm' and host_machine.cpu_family().startswith('aarch64') 78 sources += files('bnxt_rxtx_vec_neon.c') 79endif 80