2017-12-18 15:56:25 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2017 Intel Corporation
|
2017-10-17 12:43:57 +00:00
|
|
|
|
|
|
|
sources = files(
|
2021-04-20 10:22:24 +00:00
|
|
|
'rte_port_ethdev.c',
|
|
|
|
'rte_port_fd.c',
|
|
|
|
'rte_port_frag.c',
|
|
|
|
'rte_port_ras.c',
|
|
|
|
'rte_port_ring.c',
|
|
|
|
'rte_port_sched.c',
|
|
|
|
'rte_port_source_sink.c',
|
|
|
|
'rte_port_sym_crypto.c',
|
|
|
|
'rte_port_eventdev.c',
|
|
|
|
'rte_swx_port_ethdev.c',
|
|
|
|
'rte_swx_port_fd.c',
|
|
|
|
'rte_swx_port_ring.c',
|
|
|
|
'rte_swx_port_source_sink.c',
|
|
|
|
)
|
2017-10-17 12:43:57 +00:00
|
|
|
headers = files(
|
2021-04-20 10:22:24 +00:00
|
|
|
'rte_port_ethdev.h',
|
|
|
|
'rte_port_fd.h',
|
|
|
|
'rte_port_frag.h',
|
|
|
|
'rte_port_ras.h',
|
|
|
|
'rte_port.h',
|
|
|
|
'rte_port_ring.h',
|
|
|
|
'rte_port_sched.h',
|
|
|
|
'rte_port_source_sink.h',
|
|
|
|
'rte_port_sym_crypto.h',
|
|
|
|
'rte_port_eventdev.h',
|
|
|
|
'rte_swx_port.h',
|
|
|
|
'rte_swx_port_ethdev.h',
|
|
|
|
'rte_swx_port_fd.h',
|
|
|
|
'rte_swx_port_ring.h',
|
|
|
|
'rte_swx_port_source_sink.h',
|
|
|
|
)
|
2019-10-01 18:05:26 +00:00
|
|
|
deps += ['ethdev', 'sched', 'ip_frag', 'cryptodev', 'eventdev']
|
2017-10-17 12:43:57 +00:00
|
|
|
|
2019-09-24 12:04:14 +00:00
|
|
|
if dpdk_conf.has('RTE_PORT_PCAP')
|
2021-04-20 10:22:24 +00:00
|
|
|
ext_deps += pcap_dep # dependency provided in config/meson.build
|
2019-09-24 12:04:14 +00:00
|
|
|
endif
|
|
|
|
|
2020-10-15 15:05:54 +00:00
|
|
|
if dpdk_conf.has('RTE_LIB_KNI')
|
2021-04-20 10:22:24 +00:00
|
|
|
sources += files('rte_port_kni.c')
|
|
|
|
headers += files('rte_port_kni.h')
|
|
|
|
deps += 'kni'
|
2017-10-17 12:43:57 +00:00
|
|
|
endif
|