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
|
|
|
|
|
|
|
version = 3
|
|
|
|
sources = files(
|
|
|
|
'rte_port_ethdev.c',
|
|
|
|
'rte_port_fd.c',
|
2018-03-29 13:48:47 +00:00
|
|
|
'rte_port_frag.c',
|
|
|
|
'rte_port_ras.c',
|
2017-10-17 12:43:57 +00:00
|
|
|
'rte_port_ring.c',
|
|
|
|
'rte_port_sched.c',
|
|
|
|
'rte_port_source_sink.c')
|
|
|
|
headers = files(
|
|
|
|
'rte_port_ethdev.h',
|
|
|
|
'rte_port_fd.h',
|
2018-03-29 13:48:47 +00:00
|
|
|
'rte_port_frag.h',
|
|
|
|
'rte_port_ras.h',
|
2017-10-17 12:43:57 +00:00
|
|
|
'rte_port.h',
|
|
|
|
'rte_port_ring.h',
|
|
|
|
'rte_port_sched.h',
|
|
|
|
'rte_port_source_sink.h')
|
2018-03-29 13:48:47 +00:00
|
|
|
deps += ['ethdev', 'sched', 'ip_frag']
|
2017-10-17 12:43:57 +00:00
|
|
|
|
|
|
|
if dpdk_conf.has('RTE_LIBRTE_KNI')
|
|
|
|
sources += files('rte_port_kni.c')
|
|
|
|
headers += files('rte_port_kni.h')
|
|
|
|
deps += 'kni'
|
|
|
|
endif
|