2021-04-06 20:10:54 +05:30
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2021 Marvell, Inc
|
|
|
|
#
|
|
|
|
|
|
|
|
if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
|
2021-04-20 11:22:25 +01:00
|
|
|
build = false
|
|
|
|
reason = 'only supported on 64-bit Linux'
|
|
|
|
subdir_done()
|
2021-04-06 20:10:54 +05:30
|
|
|
endif
|
|
|
|
|
|
|
|
config_flag_fmt = 'RTE_LIBRTE_@0@_COMMON'
|
|
|
|
deps = ['eal', 'pci', 'bus_pci', 'mbuf']
|
2021-04-20 11:22:25 +01:00
|
|
|
sources = files(
|
2021-06-25 11:06:46 +05:30
|
|
|
'roc_ae_fpm_tables.c',
|
2021-06-21 17:04:32 +02:00
|
|
|
'roc_bphy.c',
|
2021-06-21 17:04:18 +02:00
|
|
|
'roc_bphy_cgx.c',
|
2021-06-21 17:04:33 +02:00
|
|
|
'roc_bphy_irq.c',
|
2021-06-25 11:06:35 +05:30
|
|
|
'roc_cpt.c',
|
2021-06-25 11:06:39 +05:30
|
|
|
'roc_cpt_debug.c',
|
2021-04-20 11:22:25 +01:00
|
|
|
'roc_dev.c',
|
|
|
|
'roc_idev.c',
|
|
|
|
'roc_irq.c',
|
|
|
|
'roc_mbox.c',
|
|
|
|
'roc_model.c',
|
|
|
|
'roc_nix.c',
|
|
|
|
'roc_nix_debug.c',
|
|
|
|
'roc_nix_fc.c',
|
|
|
|
'roc_nix_irq.c',
|
|
|
|
'roc_nix_mac.c',
|
|
|
|
'roc_nix_mcast.c',
|
|
|
|
'roc_nix_npc.c',
|
|
|
|
'roc_nix_ops.c',
|
|
|
|
'roc_nix_ptp.c',
|
|
|
|
'roc_nix_queue.c',
|
|
|
|
'roc_nix_rss.c',
|
|
|
|
'roc_nix_stats.c',
|
|
|
|
'roc_nix_tm.c',
|
|
|
|
'roc_nix_tm_ops.c',
|
|
|
|
'roc_nix_tm_utils.c',
|
|
|
|
'roc_nix_vlan.c',
|
|
|
|
'roc_npa.c',
|
|
|
|
'roc_npa_debug.c',
|
|
|
|
'roc_npa_irq.c',
|
|
|
|
'roc_npc.c',
|
|
|
|
'roc_npc_mcam.c',
|
2021-06-23 10:16:03 +05:30
|
|
|
'roc_npc_mcam_dump.c',
|
2021-04-20 11:22:25 +01:00
|
|
|
'roc_npc_parse.c',
|
|
|
|
'roc_npc_utils.c',
|
|
|
|
'roc_platform.c',
|
|
|
|
'roc_sso.c',
|
|
|
|
'roc_sso_debug.c',
|
|
|
|
'roc_sso_irq.c',
|
|
|
|
'roc_tim.c',
|
|
|
|
'roc_tim_irq.c',
|
|
|
|
'roc_utils.c',
|
|
|
|
)
|
2021-04-06 20:10:54 +05:30
|
|
|
includes += include_directories('../../bus/pci')
|