bc767866a3
This patch adds the support for PTP driver for DPAA2 devices. To enable set CONFIG_RTE_LIBRTE_IEEE1588=y in config/defconfig_arm64-dpaa2-linuxapp-gc Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
32 lines
613 B
Meson
32 lines
613 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright 2018 NXP
|
|
|
|
version = 2
|
|
|
|
if not is_linux
|
|
build = false
|
|
reason = 'only supported on linux'
|
|
endif
|
|
|
|
deps += ['mempool_dpaa2']
|
|
sources = files('base/dpaa2_hw_dpni.c',
|
|
'dpaa2_mux.c',
|
|
'dpaa2_ethdev.c',
|
|
'dpaa2_flow.c',
|
|
'dpaa2_rxtx.c',
|
|
'mc/dpkg.c',
|
|
'mc/dpdmux.c',
|
|
'mc/dpni.c')
|
|
|
|
if dpdk_conf.has('RTE_LIBRTE_IEEE1588')
|
|
sources += files('mc/dprtc.c')
|
|
sources += files('dpaa2_ptp.c')
|
|
endif
|
|
|
|
includes += include_directories('base', 'mc')
|
|
|
|
# depends on fslmc bus which uses experimental API
|
|
allow_experimental_apis = true
|
|
|
|
install_headers('rte_pmd_dpaa2.h')
|