2019-05-28 14:25:22 +05:30
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(C) 2019 Marvell International Ltd.
|
|
|
|
#
|
|
|
|
|
2019-06-02 15:02:02 +05:30
|
|
|
sources = files('otx2_rx.c',
|
2019-06-02 16:45:37 +05:30
|
|
|
'otx2_tx.c',
|
2019-05-29 22:49:53 +05:30
|
|
|
'otx2_tm.c',
|
2019-05-29 17:06:05 +05:30
|
|
|
'otx2_rss.c',
|
2019-05-28 18:08:35 +05:30
|
|
|
'otx2_mac.c',
|
2019-05-31 13:54:42 +05:30
|
|
|
'otx2_ptp.c',
|
2019-06-29 16:18:16 +05:30
|
|
|
'otx2_flow.c',
|
2019-05-29 13:35:08 +05:30
|
|
|
'otx2_link.c',
|
2019-06-30 06:55:08 +05:30
|
|
|
'otx2_vlan.c',
|
2019-05-29 14:29:29 +05:30
|
|
|
'otx2_stats.c',
|
2019-10-15 16:14:21 +05:30
|
|
|
'otx2_mcast.c',
|
2019-05-30 12:24:11 +05:30
|
|
|
'otx2_lookup.c',
|
2019-05-28 14:25:22 +05:30
|
|
|
'otx2_ethdev.c',
|
2019-05-31 12:45:10 +05:30
|
|
|
'otx2_flow_ctrl.c',
|
2019-06-26 16:04:22 +05:30
|
|
|
'otx2_flow_parse.c',
|
2019-06-26 15:55:03 +05:30
|
|
|
'otx2_flow_utils.c',
|
2019-05-28 19:50:07 +05:30
|
|
|
'otx2_ethdev_irq.c',
|
2019-05-28 21:25:50 +05:30
|
|
|
'otx2_ethdev_ops.c',
|
2020-02-04 16:47:14 +05:30
|
|
|
'otx2_ethdev_sec.c',
|
2019-05-29 10:49:41 +05:30
|
|
|
'otx2_ethdev_debug.c',
|
2019-05-28 19:32:32 +05:30
|
|
|
'otx2_ethdev_devargs.c'
|
2019-05-28 14:25:22 +05:30
|
|
|
)
|
|
|
|
|
2020-02-04 16:47:15 +05:30
|
|
|
deps += ['bus_pci', 'cryptodev', 'eventdev', 'security']
|
2020-02-04 16:47:14 +05:30
|
|
|
deps += ['common_octeontx2', 'mempool_octeontx2']
|
2019-05-28 16:43:13 +05:30
|
|
|
|
2020-01-24 15:37:54 +00:00
|
|
|
extra_flags = ['-flax-vector-conversions']
|
2019-05-28 16:43:13 +05:30
|
|
|
# This integrated controller runs only on a arm64 machine, remove 32bit warnings
|
|
|
|
if not dpdk_conf.get('RTE_ARCH_64')
|
|
|
|
extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast']
|
|
|
|
endif
|
|
|
|
|
|
|
|
foreach flag: extra_flags
|
|
|
|
if cc.has_argument(flag)
|
|
|
|
cflags += flag
|
|
|
|
endif
|
|
|
|
endforeach
|
2020-02-04 16:47:15 +05:30
|
|
|
|
|
|
|
includes += include_directories('../../common/cpt')
|
|
|
|
includes += include_directories('../../crypto/octeontx2')
|