# for BSD only
lib_execinfo = cc.find_library('execinfo', required: false)
-default_cflags = machine_args
+default_cflags = machine_args + ['-DALLOW_EXPERIMENTAL_API']
foreach app:apps
build = true
name = app
- allow_experimental_apis = false
sources = []
includes = []
cflags = default_cflags
link_libs = dpdk_static_libraries + dpdk_drivers
endif
- if allow_experimental_apis
- cflags += '-DALLOW_EXPERIMENTAL_API'
- endif
-
executable('dpdk-' + name,
sources,
c_args: cflags,
#
APP = testbbdev
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
'test_bbdev.c',
'test_bbdev_perf.c',
'test_bbdev_vector.c')
-allow_experimental_apis = true
deps += ['bbdev', 'bus_vdev']
if dpdk_conf.has('RTE_LIBRTE_PMD_BBDEV_FPGA_LTE_FEC')
deps += ['pmd_bbdev_fpga_lte_fec']
APP = dpdk-test-compress-perf
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
# all source are stored in SRCS-y
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Intel Corporation
-allow_experimental_apis = true
sources = files('comp_perf_options_parse.c',
'main.c',
'comp_perf_test_verify.c',
APP = dpdk-test-crypto-perf
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
# all source are stored in SRCS-y
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Intel Corporation
-allow_experimental_apis = true
sources = files('cperf_ops.c',
'cperf_options_parsing.c',
'cperf_test_common.c',
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
# all source are stored in SRCS-y
SRCS-y := main.c
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2019 Intel Corporation
-allow_experimental_apis = true
sources = files('main.c')
deps += ['fib', 'lpm', 'net']
#
APP = testpmd
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
CFLAGS += -Wno-deprecated-declarations
# override default name to drop the hyphen
name = 'testpmd'
-allow_experimental_apis = true
cflags += '-Wno-deprecated-declarations'
sources = files('cmdline.c',
'cmdline_flow.c',
APP = testsad
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
# all source are stored in SRCS-y
SRCS-y := main.c
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2019 Intel Corporation
-allow_experimental_apis = true
sources = files('main.c')
deps += ['ipsec', 'net']
LDLIBS += -lrte_ipsec
endif
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
test_deps += 'pdump'
endif
-cflags = machine_args
if cc.has_argument('-Wno-format-truncation')
cflags += '-Wno-format-truncation'
endif
test_sources,
link_whole: link_libs,
dependencies: test_dep_objs,
- c_args: [cflags, '-DALLOW_EXPERIMENTAL_API'],
+ c_args: cflags,
install_rpath: driver_install_path,
install: true)
The optional fields are:
-allow_experimental_apis
- **Default Value = false**
- Used to allow the library to make use of APIs marked as experimental.
- Set to ``true`` if the C files in the library call any functions
- marked as experimental in any included header files.
-
build
**Default Value = true**
Used to optionally compile a library, based on its dependencies or
For drivers, the values are largely the same as for libraries. The variables
supported are:
-allow_experimental_apis
- As above.
-
build
As above.
LIB = librte_pmd_bbdev_fpga_lte_fec.a
# build flags
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
# Copyright(c) 2019 Intel Corporation
deps += ['bbdev', 'bus_vdev', 'ring', 'pci', 'bus_pci']
-allow_experimental_apis = true
sources = files('fpga_lte_fec.c')
LIB = librte_pmd_bbdev_null.a
# build flags
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring -lrte_kvargs
# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
deps += ['bbdev', 'bus_vdev', 'ring']
-allow_experimental_apis = true
sources = files('bbdev_null.c')
LIB = librte_pmd_bbdev_turbo_sw.a
# build flags
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring -lrte_kvargs
endif
deps += ['bbdev', 'bus_vdev', 'ring']
-allow_experimental_apis = true
sources = files('bbdev_turbo_software.c')
#
LIB = librte_bus_dpaa.a
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS := -I$(SRCDIR) $(CFLAGS)
CFLAGS += -O3 $(WERROR_FLAGS)
CFLAGS += -Wno-pointer-arith
'base/qbman/qman_driver.c',
'dpaa_bus.c')
-allow_experimental_apis = true
-
if cc.has_argument('-Wno-cast-qual')
cflags += '-Wno-cast-qual'
endif
#
LIB = librte_bus_fslmc.a
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
'qbman/qbman_portal.c',
'qbman/qbman_debug.c')
-allow_experimental_apis = true
-
includes += include_directories('mc', 'qbman/include', 'portal')
#
LIB = librte_bus_ifpga.a
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
LDLIBS += -lrte_eal
deps += ['pci', 'kvargs', 'rawdev']
install_headers('rte_bus_ifpga.h')
sources = files('ifpga_common.c', 'ifpga_bus.c')
-
-allow_experimental_apis = true
CFLAGS := -I$(SRCDIR) $(CFLAGS)
CFLAGS += -O3 $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),)
SYSTEM := linux
CFLAGS += -I$(RTE_SDK)/drivers/bus/pci/$(SYSTEM)
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common
-# memseg walk is not part of stable API yet
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_pci -lrte_kvargs
includes += include_directories('bsd')
endif
-# memseg walk is not part of stable API yet
-allow_experimental_apis = true
-
deps += ['kvargs']
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
# versioning export map
EXPORT_MAP := rte_bus_vdev_version.map
'vdev_params.c')
install_headers('rte_bus_vdev.h')
-allow_experimental_apis = true
-
deps += ['kvargs']
CFLAGS += -I$(SRCDIR)
CFLAGS += -O3 $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),)
SYSTEM := linux
# SPDX-License-Identifier: BSD-3-Clause
-allow_experimental_apis = true
-
install_headers('rte_bus_vmbus.h','rte_vmbus_reg.h')
sources = files('vmbus_common.c',
deps = ['kvargs', 'pci', 'cryptodev']
includes += include_directories('../../crypto/octeontx')
-allow_experimental_apis = true
#
LIB = librte_common_dpaax.a
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
CFLAGS += -Wno-pointer-arith
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 NXP
-allow_experimental_apis = true
-
if not is_linux
build = false
reason = 'only supported on linux'
#
LIB = librte_common_iavf.a
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
CFLAGS += -Wno-pointer-arith
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2019 Intel Corporation
-allow_experimental_apis = true
-
sources = files('iavf_adminq.c', 'iavf_common.c', 'iavf_impl.c')
if cc.has_argument('-Wno-pointer-to-int-cast')
ext_deps += declare_dependency(link_args:ibv_ldflags.split())
endif
-allow_experimental_apis = true
deps += ['hash', 'pci', 'net', 'eal', 'kvargs']
sources = files(
'mlx5_devx_cmds.c',
CFLAGS += -I$(RTE_SDK)/drivers/common/octeontx2
CFLAGS += -I$(RTE_SDK)/drivers/mempool/octeontx2
CFLAGS += -I$(RTE_SDK)/drivers/bus/pci
-CFLAGS += -DALLOW_EXPERIMENTAL_API
ifneq ($(CONFIG_RTE_ARCH_64),y)
CFLAGS += -Wno-int-to-pointer-cast
# Copyright(C) 2019 Marvell International Ltd.
#
-allow_experimental_apis = true
-
sources= files('otx2_dev.c',
'otx2_irq.c',
'otx2_mbox.c',
ifeq ($(CONFIG_RTE_LIBRTE_COMPRESSDEV),y)
- CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lrte_compressdev
SRCS-y += qat_comp.c
SRCS-y += qat_comp_pmd.c
# build flags
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
# external library dependencies
LDLIBS += -lisal
deps += 'bus_vdev'
sources = files('isal_compress_pmd.c', 'isal_compress_pmd_ops.c')
ext_deps += dep
-
-allow_experimental_apis = true
# build flags
CFLAGS += $(WERROR_FLAGS)
CFLAGS += -O3
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -I$(RTE_SDK)/drivers/compress/octeontx/include
# external library include paths
name = 'octeontx_compress'
sources = files('otx_zip.c', 'otx_zip_pmd.c')
-allow_experimental_apis = true
includes += include_directories('include')
deps += ['mempool_octeontx', 'bus_pci']
ext_deps += dep
# Add our sources files to the list
-allow_experimental_apis = true
qat_sources += files('qat_comp_pmd.c',
'qat_comp.c')
qat_includes += include_directories('.')
# build flags
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
# versioning export map
EXPORT_MAP := rte_pmd_zlib_version.map
deps += 'bus_vdev'
sources = files('zlib_pmd.c', 'zlib_pmd_ops.c')
ext_deps += dep
-
-allow_experimental_apis = true
# build flags
CFLAGS += -O3
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += $(WERROR_FLAGS)
# versioning export map
endif
endif
-allow_experimental_apis = true
sources = files('aesni_gcm_pmd.c', 'aesni_gcm_pmd_ops.c')
deps += ['bus_vdev']
# build flags
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
# versioning export map
EXPORT_MAP := rte_pmd_aesni_mb_version.map
endif
sources = files('rte_aesni_mb_pmd.c', 'rte_aesni_mb_pmd_ops.c')
-allow_experimental_apis = true
deps += ['bus_vdev']
# external library dependencies
CFLAGS += -I$(ARMV8_CRYPTO_LIB_PATH)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -L$(ARMV8_CRYPTO_LIB_PATH) -lAArch64crypto
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_cryptodev
deps += ['bus_vdev']
sources = files('rte_armv8_pmd.c', 'rte_armv8_pmd_ops.c')
-allow_experimental_apis = true
LIB = librte_pmd_caam_jr.a
# build flags
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
CFLAGS += -D _GNU_SOURCE
CFLAGS += -O3
'caam_jr_uio.c',
'caam_jr.c')
-allow_experimental_apis = true
-
includes += include_directories('../../bus/dpaa/include/')
includes += include_directories('../../common/dpaax/')
includes += include_directories('../../common/dpaax/caamflib/')
LIB = librte_pmd_dpaa2_sec.a
# build flags
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
sources = files('dpaa2_sec_dpseci.c',
'mc/dpseci.c')
-allow_experimental_apis = true
-
includes += include_directories('mc', '../../common/dpaax', '../../common/dpaax/caamflib')
LIB = librte_pmd_dpaa_sec.a
# build flags
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
deps += ['bus_dpaa', 'mempool_dpaa', 'security']
sources = files('dpaa_sec.c')
-allow_experimental_apis = true
-
includes += include_directories('../../bus/dpaa/include')
includes += include_directories('../../common/dpaax')
includes += include_directories('../../common/dpaax/caamflib/')
# build flags
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
# versioning export map
EXPORT_MAP := rte_pmd_kasumi_version.map
endif
-allow_experimental_apis = true
ext_deps += lib
sources = files('rte_kasumi_pmd.c', 'rte_kasumi_pmd_ops.c')
deps += ['bus_vdev']
# build flags
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
# versioning export map
EXPORT_MAP := rte_pmd_nitrox_version.map
endif
deps += ['bus_pci']
-allow_experimental_apis = true
sources = files(
'nitrox_device.c',
'nitrox_hal.c',
CFLAGS += -O3
CFLAGS += -I$(RTE_SDK)/drivers/common/cpt
-CFLAGS += -DALLOW_EXPERIMENTAL_API
# PMD code
SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_CRYPTO) += otx_cryptodev.c
deps += ['common_cpt']
name = 'octeontx_crypto'
-allow_experimental_apis = true
sources = files('otx_cryptodev.c',
'otx_cryptodev_capabilities.c',
'otx_cryptodev_hw_access.c',
CFLAGS += -I$(RTE_SDK)/drivers/crypto/octeontx2
CFLAGS += -I$(RTE_SDK)/drivers/mempool/octeontx2
CFLAGS += -I$(RTE_SDK)/drivers/net/octeontx2
-CFLAGS += -DALLOW_EXPERIMENTAL_API
ifneq ($(CONFIG_RTE_ARCH_64),y)
CFLAGS += -Wno-int-to-pointer-cast
deps += ['security']
name = 'octeontx2_crypto'
-allow_experimental_apis = true
sources = files('otx2_cryptodev.c',
'otx2_cryptodev_capabilities.c',
'otx2_cryptodev_hw_access.c',
# build flags
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
# versioning export map
EXPORT_MAP := rte_pmd_openssl_version.map
build = false
reason = 'missing dependency, "libcrypto"'
endif
-allow_experimental_apis = true
deps += 'bus_vdev'
sources = files('rte_openssl_pmd.c', 'rte_openssl_pmd_ops.c')
ext_deps += dep
# build flags
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
# versioning export map
EXPORT_MAP := rte_pmd_snow3g_version.map
endif
-allow_experimental_apis = true
ext_deps += lib
sources = files('rte_snow3g_pmd.c', 'rte_snow3g_pmd_ops.c')
deps += ['bus_vdev', 'cryptodev']
# build flags
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
# versioning export map
EXPORT_MAP := rte_pmd_zuc_version.map
endif
-allow_experimental_apis = true
ext_deps += lib
sources = files('rte_zuc_pmd.c', 'rte_zuc_pmd_ops.c')
deps += ['bus_vdev']
#
LIB = librte_pmd_dpaa_event.a
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS := -I$(SRCDIR) $(CFLAGS)
CFLAGS += -O3 $(WERROR_FLAGS)
CFLAGS += -Wno-pointer-arith
deps += ['pmd_dpaa', 'pmd_dpaa_sec']
sources = files('dpaa_eventdev.c')
-allow_experimental_apis = true
includes += include_directories('../../crypto/dpaa_sec/')
# versioning export map
EXPORT_MAP := rte_pmd_dpaa2_event_version.map
-# depends on fslmc bus which uses experimental API
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
#
# all source are stored in SRCS-y
#
'dpaa2_eventdev.c',
'dpaa2_eventdev_selftest.c')
-allow_experimental_apis = true
includes += include_directories('../../crypto/dpaa2_sec/')
CFLAGS += -Wno-format-nonliteral
endif
-# Depends on rte_ring_elem_*()
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
LDLIBS += -lrte_eal
LDLIBS += -lrte_mbuf
LDLIBS += -lrte_mempool
cflags += '-Wno-format-nonliteral'
endif
sources = files('dsw_evdev.c', 'dsw_event.c', 'dsw_xstats.c')
-
-# Depends on rte_ring_elem_*()
-allow_experimental_apis = true
CFLAGS += -I$(RTE_SDK)/drivers/event/octeontx2
CFLAGS += -I$(RTE_SDK)/drivers/net/octeontx2
CFLAGS += -O3
-CFLAGS += -DALLOW_EXPERIMENTAL_API
ifneq ($(CONFIG_RTE_ARCH_64),y)
CFLAGS += -Wno-int-to-pointer-cast
'otx2_tim_worker.c'
)
-allow_experimental_apis = true
-
extra_flags = []
# This integrated controller runs only on a arm64 machine, remove 32bit warnings
if not dpdk_conf.get('RTE_ARCH_64')
# build flags
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lrte_eal -lrte_eventdev -lrte_kvargs
LDLIBS += -lrte_bus_vdev -lrte_mbuf -lrte_mempool
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
-allow_experimental_apis = true
sources = files(
'opdl_evdev.c',
'opdl_evdev_init.c',
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lrte_eal -lrte_mempool -lrte_ring
# This software was jointly developed between OKTET Labs (under contract
# for Solarflare) and Solarflare Communications, Inc.
-allow_experimental_apis = true
-
sources = files('rte_mempool_bucket.c')
# versioning export map
EXPORT_MAP := rte_mempool_dpaa_version.map
-# depends on dpaa bus which uses experimental API
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
# all source are stored in SRCS-y
#
SRCS-$(CONFIG_RTE_LIBRTE_DPAA_MEMPOOL) += dpaa_mempool.c
deps += ['bus_dpaa']
sources = files('dpaa_mempool.c')
-
-# depends on dpaa bus which uses experimental API
-allow_experimental_apis = true
# versioning export map
EXPORT_MAP := rte_mempool_dpaa2_version.map
-# depends on fslmc bus which uses experimental API
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
# all source are stored in SRCS-y
#
SRCS-$(CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL) += dpaa2_hw_mempool.c
deps += ['bus_fslmc']
sources = files('dpaa2_hw_mempool.c')
-
-# depends on fslmc bus which uses experimental API
-allow_experimental_apis = true
CFLAGS += $(WERROR_FLAGS)
CFLAGS += -I$(RTE_SDK)/drivers/common/octeontx/
-CFLAGS += -DALLOW_EXPERIMENTAL_API
EXPORT_MAP := rte_mempool_octeontx_version.map
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Cavium, Inc
-allow_experimental_apis = true
-
sources = files('octeontx_fpavf.c',
'rte_mempool_octeontx.c'
)
endif
endif
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
EXPORT_MAP := rte_mempool_octeontx2_version.map
#
# Copyright(C) 2019 Marvell International Ltd.
#
-allow_experimental_apis = true
-
sources = files('otx2_mempool_ops.c',
'otx2_mempool.c',
'otx2_mempool_irq.c',
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
# Headers
CFLAGS += -I$(RTE_SDK)/lib/librte_mempool
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017-2019 Intel Corporation
-allow_experimental_apis = true
-
sources = files('rte_mempool_stack.c')
deps += ['stack']
disabled_drivers = run_command(list_dir_globs, get_option('disable_drivers'),
).stdout().split()
-default_cflags = machine_args
+default_cflags = machine_args + ['-DALLOW_EXPERIMENTAL_API']
if cc.has_argument('-Wno-format-truncation')
default_cflags += '-Wno-format-truncation'
endif
reason = '<unknown reason>' # set if build == false to explain
name = drv
fmt_name = ''
- allow_experimental_apis = false
sources = []
objs = []
cflags = default_cflags
dpdk_conf.set(config_flag_fmt.format(fmt_name.to_upper()),1)
lib_name = driver_name_fmt.format(fmt_name)
- if allow_experimental_apis
- cflags += '-DALLOW_EXPERIMENTAL_API'
- endif
-
dpdk_extra_ldflags += pkgconfig_extra_libs
# generate pmdinfo sources by building a temporary
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
EXPORT_MAP := rte_pmd_atlantic_version.map
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Aquantia Corporation
-allow_experimental_apis = true
-
sources = files(
'atl_rxtx.c',
'atl_ethdev.c',
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
LDLIBS += -lrte_bus_pci
build = false
reason = 'only supported on linux'
endif
-allow_experimental_apis = true
sources = files('avp_ethdev.c')
install_headers('rte_avp_common.h', 'rte_avp_fifo.h')
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
EXPORT_MAP := rte_pmd_axgbe_version.map
reason = 'only supported on linux'
endif
-allow_experimental_apis = true
-
sources = files('axgbe_ethdev.c',
'axgbe_dev.c',
'axgbe_mdio.c',
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
CFLAGS += -DZLIB_CONST
-CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lz
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
build = dep.found()
reason = 'missing dependency, "zlib"'
ext_deps += dep
-allow_experimental_apis = true
cflags += '-DZLIB_CONST'
sources = files('bnx2x.c',
'bnx2x_ethdev.c',
#
LIB = librte_pmd_bond.a
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
# Copyright(c) 2017 Intel Corporation
name = 'bond' #, james bond :-)
-allow_experimental_apis = true
sources = files('rte_eth_bond_api.c', 'rte_eth_bond_pmd.c', 'rte_eth_bond_flow.c',
'rte_eth_bond_args.c', 'rte_eth_bond_8023ad.c', 'rte_eth_bond_alb.c')
EXPORT_MAP := rte_pmd_dpaa_version.map
-# depends on dpaa bus which uses experimental API
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
# Interfaces with DPDK
SRCS-$(CONFIG_RTE_LIBRTE_DPAA_PMD) += dpaa_ethdev.c
SRCS-$(CONFIG_RTE_LIBRTE_DPAA_PMD) += dpaa_rxtx.c
cflags += '-Wno-pointer-arith'
endif
-allow_experimental_apis = true
-
install_headers('rte_pmd_dpaa.h')
# versioning export map
EXPORT_MAP := rte_pmd_dpaa2_version.map
-# depends on fslmc bus which uses experimental API
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
SRCS-$(CONFIG_RTE_LIBRTE_DPAA2_PMD) += base/dpaa2_hw_dpni.c
SRCS-$(CONFIG_RTE_LIBRTE_DPAA2_PMD) += dpaa2_rxtx.c
SRCS-$(CONFIG_RTE_LIBRTE_DPAA2_PMD) += dpaa2_ethdev.c
includes += include_directories('base', 'mc')
-# depends on fslmc bus which uses experimental API
-allow_experimental_apis = true
-
install_headers('rte_pmd_dpaa2.h')
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
LDLIBS += -lrte_bus_pci
'-Wno-unused-variable', '-Wno-misleading-indentation',
'-Wno-implicit-fallthrough']
c_args = cflags
-if allow_experimental_apis
- c_args += '-DALLOW_EXPERIMENTAL_API'
-endif
foreach flag: error_cflags
if cc.has_argument(flag)
c_args += flag
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
-allow_experimental_apis = true
-
subdir('base')
objs = [base_objs]
INCLUDES :=-I$(SRCDIR) -I$(SRCDIR)/base/ena_defs -I$(SRCDIR)/base
EXPORT_MAP := rte_pmd_ena_version.map
-# rte_fbarray is not yet part of stable API
-CFLAGS += -DALLOW_EXPERIMENTAL_API
VPATH += $(SRCDIR)/base
#
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Intel Corporation
-allow_experimental_apis = true
sources = files('ena_ethdev.c',
'base/ena_com.c',
'base/ena_eth_com.c')
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax
-CFLAGS += -DALLOW_EXPERIMENTAL_API
EXPORT_MAP := rte_pmd_enetc_version.map
SRCS-$(CONFIG_RTE_LIBRTE_ENETC_PMD) += enetc_ethdev.c
SRCS-$(CONFIG_RTE_LIBRTE_ENETC_PMD) += enetc_rxtx.c
'enetc_rxtx.c')
includes += include_directories('base')
-allow_experimental_apis = true
EXPORT_MAP := rte_pmd_enic_version.map
-# Experimental APIs used: rte_intr_ack
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -I$(SRCDIR)/base/
CFLAGS += -I$(SRCDIR)
CFLAGS += -O3
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Cisco Systems, Inc.
-# Experimental APIs used: rte_intr_ack
-cflags += ['-DALLOW_EXPERIMENTAL_API']
sources = files(
'base/vnic_cq.c',
'base/vnic_dev.c',
# No exported include files
# Basic CFLAGS:
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -std=gnu99 -Wextra
CFLAGS += -O3
CFLAGS += -I.
cflags += '-DBSD'
endif
-allow_experimental_apis = true
-
sources = files('failsafe_args.c',
'failsafe.c',
'failsafe_eal.c',
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
EXPORT_MAP := rte_pmd_fm10k_version.map
'-Wno-implicit-fallthrough'
]
c_args = cflags
-if allow_experimental_apis
- c_args += '-DALLOW_EXPERIMENTAL_API'
-endif
foreach flag: error_cflags
if cc.has_argument(flag)
c_args += flag
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
-allow_experimental_apis = true
-
subdir('base')
objs = [base_objs]
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
# Experimantal APIs:
# - rte_mp_action_register
# - rte_mp_action_unregister
'hns3_stats.c',
'hns3_mp.c')
-allow_experimental_apis = true
-# Experimantal APIs:
-# - rte_mp_action_register
-# - rte_mp_action_unregister
-# - rte_mp_reply
-# - rte_mp_request_sync
-
deps += ['hash']
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS) -DPF_DRIVER -DVF_DRIVER -DINTEGRATED_VF
CFLAGS += -DX722_A0_SUPPORT
-CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs -lrte_hash
'-Wno-unused-parameter',
]
c_args = cflags
-if allow_experimental_apis
- c_args += '-DALLOW_EXPERIMENTAL_API'
-endif
foreach flag: error_cflags
if cc.has_argument(flag)
c_args += flag
cflags += ['-DPF_DRIVER',
'-DVF_DRIVER',
'-DINTEGRATED_VF',
- '-DX722_A0_SUPPORT',
- '-DALLOW_EXPERIMENTAL_API']
+ '-DX722_A0_SUPPORT']
subdir('base')
objs = [base_objs]
LIB = librte_pmd_iavf.a
CFLAGS += -I$(RTE_SDK)/drivers/common/iavf
-CFLAGS += -O3 $(WERROR_FLAGS) -Wno-strict-aliasing -DALLOW_EXPERIMENTAL_API
+CFLAGS += -O3 $(WERROR_FLAGS) -Wno-strict-aliasing
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs -lrte_hash
LDLIBS += -lrte_bus_pci
cflags += ['-Wno-strict-aliasing']
-allow_experimental_apis = true
-
includes += include_directories('../../common/iavf')
deps += ['common_iavf']
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lrte_eal -lrte_mbuf -lrte_ethdev -lrte_kvargs
LDLIBS += -lrte_bus_pci -lrte_mempool -lrte_hash
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Intel Corporation
-allow_experimental_apis = true
-
subdir('base')
objs = [base_objs]
#
LIB = librte_pmd_ionic.a
-# Required to use rte_eth_dev_create and rte_eth_dev_destroy
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
# rte_eth_dev_destroy()
# rte_eth_switch_domain_free()
#
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
CFLAGS += -I$(RTE_SDK)/drivers/bus/ifpga
subdir_done()
endif
-allow_experimental_apis = true
-
includes += include_directories('../../raw/ifpga')
sources += files('ipn3ke_ethdev.c',
#
LIB = librte_pmd_ixgbe.a
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
'-Wno-unused-parameter',
]
c_args = cflags
-if allow_experimental_apis
- c_args += '-DALLOW_EXPERIMENTAL_API'
-endif
foreach flag: error_cflags
if cc.has_argument(flag)
c_args += flag
cflags += ['-DRTE_LIBRTE_IXGBE_BYPASS']
-allow_experimental_apis = true
-
subdir('base')
objs = [base_objs]
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-# Experimantal APIs:
-# - rte_intr_callback_unregister_pending
-# - rte_mp_action_register
-# - rte_mp_reply
-# - rte_mp_request_sync
-# - rte_mcfg_get_single_file_segments
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool
LDLIBS += -lrte_ethdev -lrte_kvargs -lrte_net
LDLIBS += -lrte_hash
sources = files('rte_eth_memif.c',
'memif_socket.c')
-allow_experimental_apis = true
-# Experimantal APIs:
-# - rte_intr_callback_unregister_pending
-# - rte_mp_action_register
-# - rte_mp_reply
-# - rte_mp_request_sync
-# - rte_mcfg_get_single_file_segments
-
deps += ['hash']
CFLAGS += -D_DEFAULT_SOURCE
CFLAGS += -D_XOPEN_SOURCE=600
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
ifeq ($(CONFIG_RTE_IBVERBS_LINK_DLOPEN),y)
CFLAGS += -DMLX4_GLUE='"$(LIB_GLUE)"'
CFLAGS += -DMLX4_GLUE_VERSION='"$(LIB_GLUE_VERSION)"'
ext_deps += declare_dependency(link_args:ibv_ldflags.split())
endif
-allow_experimental_apis = true
sources = files(
'mlx4.c',
'mlx4_ethdev.c',
EXPORT_MAP := rte_pmd_mlx5_version.map
-# memseg walk is not part of stable API
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
# DEBUG which is usually provided on the command-line may enable
# CONFIG_RTE_LIBRTE_MLX5_DEBUG.
ifeq ($(DEBUG),1)
subdir_done()
endif
-allow_experimental_apis = true
deps += ['hash', 'common_mlx5']
sources = files(
'mlx5.c',
LIB = librte_pmd_netvsc.a
CFLAGS += -O3 $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
EXPORT_MAP := rte_pmd_netvsc_version.map
sources = files('hn_ethdev.c', 'hn_rxtx.c', 'hn_rndis.c', 'hn_nvs.c', 'hn_vf.c')
deps += ['bus_vmbus' ]
-
-allow_experimental_apis = true
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lm
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
'nfpcore/nfp_nsp_eth.c',
'nfpcore/nfp_hwinfo.c',
'nfp_net.c')
-
-allow_experimental_apis = true
CFLAGS_octeontx_rxtx.o += -O3 -Ofast
endif
-CFLAGS_octeontx_ethdev.o += -DALLOW_EXPERIMENTAL_API
-
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs -lrte_common_octeontx
LDLIBS += -lrte_mempool_octeontx
endforeach
c_args = cflags
-if allow_experimental_apis
- c_args += '-DALLOW_EXPERIMENTAL_API'
-endif
base_lib = static_library('octeontx_base', sources,
c_args: c_args,
dependencies: static_objs,
'octeontx_ethdev.c'
)
-allow_experimental_apis = true
-
deps += ['mempool_octeontx', 'eventdev']
includes += include_directories('base')
CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax
EXPORT_MAP := rte_pmd_pfe_version.map
-# Driver uses below experimental APIs
-# rte_mem_iova2virt
-# rte_mem_virt2memseg
-CFLAGS += -DALLOW_EXPERIMENTAL_API
# Interfaces with DPDK
SRCS-$(CONFIG_RTE_LIBRTE_PFE_PMD) += pfe_ethdev.c
cflags += '-Wno-pointer-arith'
endif
-# Driver uses below experimental APIs
-# rte_mem_iova2virt
-# rte_mem_virt2memseg
-allow_experimental_apis = true
-
includes += include_directories('base')
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
LDLIBS += -lrte_bus_pci
'-Wno-pointer-bool-conversion',
]
c_args = cflags
-if allow_experimental_apis
- c_args += '-DALLOW_EXPERIMENTAL_API'
-endif
foreach flag: error_cflags
if cc.has_argument(flag)
c_args += flag
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
-allow_experimental_apis = true
-
subdir('base')
objs = [base_objs]
#
LIB = librte_pmd_sfc_efx.a
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -I$(SRCDIR)/base/
CFLAGS += -I$(SRCDIR)
CFLAGS += -O3
]
c_args = cflags
-if allow_experimental_apis
- c_args += '-DALLOW_EXPERIMENTAL_API'
-endif
foreach flag: extra_flags
if cc.has_argument(flag)
c_args += flag
reason = 'only supported on x86_64'
endif
-allow_experimental_apis = true
-
extra_flags = []
# Strict-aliasing rules are violated by rte_eth_link to uint64_t casts
#
LIB = librte_pmd_softnic.a
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
LDLIBS += -lrte_pipeline -lrte_port -lrte_table
build = false
reason = 'only supported on linux'
endif
-allow_experimental_apis = true
install_headers('rte_eth_softnic.h')
sources = files('rte_eth_softnic_tm.c',
'rte_eth_softnic.c',
CFLAGS += -I$(SRCDIR)
CFLAGS += -I.
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs -lrte_hash
LDLIBS += -lrte_bus_vdev -lrte_gso
'TCA_ACT_BPF_FD' ],
]
config = configuration_data()
-allow_experimental_apis = true
foreach arg:args
config.set(arg[0], cc.has_header_symbol(arg[1], arg[2]))
endforeach
LIB = librte_pmd_thunderx_nicvf.a
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lm
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
]
c_args = cflags
-if allow_experimental_apis
- c_args += '-DALLOW_EXPERIMENTAL_API'
-endif
base_lib = static_library('nicvf_base', sources,
c_args: c_args,
dependencies: static_rte_ethdev
subdir('base')
objs = [base_objs]
-allow_experimental_apis = true
sources = files('nicvf_rxtx.c',
'nicvf_ethdev.c',
'nicvf_svf.c'
EXPORT_MAP := rte_pmd_vdev_netvsc_version.map
# Additional compilation flags.
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += -g
CFLAGS += -Wall -Wextra
endif
sources = files('vdev_netvsc.c')
-allow_experimental_apis = true
-
cflags_options = [
'-D_BSD_SOURCE',
'-D_DEFAULT_SOURCE',
#
LIB = librte_pmd_virtio.a
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Intel Corporation
-allow_experimental_apis = true
sources += files('virtio_ethdev.c',
'virtio_pci.c',
'virtio_rxtx.c',
#
LIB = librte_pmd_vmxnet3_uio.a
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
-allow_experimental_apis = true
sources += files(
'vmxnet3_ethdev.c',
'vmxnet3_rxtx.c',
#
LIB = librte_rawdev_dpaa2_cmdif.a
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
deps += ['rawdev', 'mempool_dpaa2', 'bus_vdev']
sources = files('dpaa2_cmdif.c')
-allow_experimental_apis = true
-
install_headers('rte_pmd_dpaa2_cmdif.h')
#
LIB = librte_rawdev_dpaa2_qdma.a
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
deps += ['rawdev', 'mempool_dpaa2', 'ring', 'kvargs']
sources = files('dpaa2_qdma.c')
-allow_experimental_apis = true
-
install_headers('rte_pmd_dpaa2_qdma.h')
#
LIB = librte_rawdev_ifpga.a
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
CFLAGS += -I$(RTE_SDK)/drivers/bus/ifpga
includes += include_directories('base')
includes += include_directories('../../net/ipn3ke')
includes += include_directories('../../net/i40e')
-
-allow_experimental_apis = true
#
LIB = librte_rawdev_ntb.a
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool
sources = files('ntb.c',
'ntb_hw_intel.c')
install_headers('rte_pmd_ntb.h')
-allow_experimental_apis = true
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
#
# Add extra flags for base driver source files to disable warnings in them
build = dpdk_conf.has('RTE_LIBRTE_VHOST')
reason = 'missing dependency, DPDK vhost library'
-allow_experimental_apis = true
sources = files('ifcvf_vdpa.c', 'base/ifcvf.c')
includes += include_directories('base')
deps += 'vhost'
CFLAGS += -Wno-error=cast-qual
EXPORT_MAP := rte_pmd_mlx5_vdpa_version.map
-# memseg walk is not part of stable API
-CFLAGS += -DALLOW_EXPERIMENTAL_API
# DEBUG which is usually provided on the command-line may enable
# CONFIG_RTE_LIBRTE_MLX5_DEBUG.
endif
fmt_name = 'mlx5_vdpa'
-allow_experimental_apis = true
deps += ['hash', 'common_mlx5', 'vhost', 'pci', 'bus_pci', 'eal', 'sched']
sources = files(
'mlx5_vdpa.c',
LIB = librte_bbdev.a
# build flags
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
LDLIBS += -lrte_eal -lrte_mempool -lrte_mbuf
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
-allow_experimental_apis = true
sources = files('rte_bbdev.c')
headers = files('rte_bbdev.h',
'rte_bbdev_pmd.h',
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lrte_net -lrte_eal
LDLIBS += -lrte_mempool -lrte_ring
LDLIBS += -lrte_mbuf -lrte_ethdev
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Intel Corporation
-allow_experimental_apis = true
sources = files('bpf.c',
'bpf_exec.c',
'bpf_load.c',
LIB = librte_cmdline.a
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
-CFLAGS += -DALLOW_EXPERIMENTAL_API
EXPORT_MAP := rte_cmdline_version.map
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
-allow_experimental_apis = true
sources = files('cmdline.c',
'cmdline_cirbuf.c',
'cmdline_parse.c',
# build flags
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lrte_eal -lrte_mempool -lrte_kvargs
# library source files
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Intel Corporation
-allow_experimental_apis = true
sources = files('rte_compressdev.c',
'rte_compressdev_pmd.c',
'rte_comp.c')
# build flags
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lrte_eal -lrte_mempool -lrte_ring -lrte_mbuf
LDLIBS += -lrte_kvargs
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017-2019 Intel Corporation
-allow_experimental_apis = true
sources = files('rte_cryptodev.c', 'rte_cryptodev_pmd.c')
headers = files('rte_cryptodev.h',
'rte_cryptodev_pmd.h',
VPATH += $(RTE_SDK)/lib/librte_eal/$(ARCH_DIR)
VPATH += $(RTE_SDK)/lib/librte_eal/common
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -I$(SRCDIR)/include
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/include
VPATH += $(RTE_SDK)/lib/librte_eal/$(ARCH_DIR)
VPATH += $(RTE_SDK)/lib/librte_eal/common
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -I$(SRCDIR)/include
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/include
subdir(arch_subdir)
-allow_experimental_apis = true
deps += 'kvargs'
if dpdk_conf.has('RTE_USE_LIBBSD')
ext_deps += libbsd
#
LIB = librte_ethdev.a
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
LDLIBS += -lrte_net -lrte_eal -lrte_mempool -lrte_ring
# Copyright(c) 2017 Intel Corporation
name = 'ethdev'
-allow_experimental_apis = true
sources = files('ethdev_private.c',
'ethdev_profile.c',
'rte_class_eth.c',
LIB = librte_eventdev.a
# build flags
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
ifeq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
-allow_experimental_apis = true
-
if is_linux
cflags += '-DLINUX'
else
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lrte_eal -lrte_rib
EXPORT_MAP := rte_fib_version.map
# Copyright(c) 2018 Vladimir Medvedkin <medvedkinv@gmail.com>
# Copyright(c) 2019 Intel Corporation
-allow_experimental_apis = true
sources = files('rte_fib.c', 'rte_fib6.c', 'dir24_8.c', 'trie.c')
headers = files('rte_fib.h', 'rte_fib6.h')
deps += ['rib']
# library name
LIB = librte_flow_classify.a
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
-allow_experimental_apis = true
sources = files('rte_flow_classify.c', 'rte_flow_classify_parse.c')
headers = files('rte_flow_classify.h')
deps += ['net', 'table']
# library name
LIB = librte_hash.a
-CFLAGS += -O3 -DALLOW_EXPERIMENTAL_API
+CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
LDLIBS += -lrte_eal -lrte_ring
sources = files('rte_cuckoo_hash.c', 'rte_fbk_hash.c')
deps += ['ring']
-
-# rte ring reset is not yet part of stable API
-allow_experimental_apis = true
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lrte_eal -lrte_mempool -lrte_mbuf -lrte_net
LDLIBS += -lrte_cryptodev -lrte_security -lrte_hash
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Intel Corporation
-allow_experimental_apis = true
-
sources = files('esp_inb.c', 'esp_outb.c', 'sa.c', 'ses.c', 'ipsec_sad.c')
headers = files('rte_ipsec.h', 'rte_ipsec_group.h', 'rte_ipsec_sa.h', 'rte_ipsec_sad.h')
LIB = librte_mbuf.a
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
-CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lrte_eal -lrte_mempool
'rte_mbuf_ptype.h', 'rte_mbuf_pool_ops.h',
'rte_mbuf_dyn.h')
deps += ['mempool']
-
-allow_experimental_apis = true
LIB = librte_mempool.a
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
-CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lrte_eal -lrte_ring
EXPORT_MAP := rte_mempool_version.map
-# memseg walk is not yet part of stable API
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
# all source are stored in SRCS-y
SRCS-$(CONFIG_RTE_LIBRTE_MEMPOOL) += rte_mempool.c
SRCS-$(CONFIG_RTE_LIBRTE_MEMPOOL) += rte_mempool_ops.c
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
-allow_experimental_apis = true
-
extra_flags = []
foreach flag: extra_flags
'rte_mempool_ops_default.c')
headers = files('rte_mempool.h')
deps += ['ring']
-
-# memseg walk is not yet part of stable API
-allow_experimental_apis = true
LIB = librte_net.a
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
LDLIBS += -lrte_mbuf -lrte_eal -lrte_mempool
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
-allow_experimental_apis = true
headers = files('rte_ip.h',
'rte_tcp.h',
'rte_udp.h',
# library name
LIB = librte_pdump.a
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
LDLIBS += -lrte_eal -lrte_mempool -lrte_mbuf -lrte_ethdev
sources = files('rte_pdump.c')
headers = files('rte_pdump.h')
-allow_experimental_apis = true
deps += ['ethdev']
#
LIB = librte_pipeline.a
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
LDLIBS += -lrte_eal -lrte_mempool -lrte_mbuf -lrte_table
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
-allow_experimental_apis = true
sources = files('rte_pipeline.c', 'rte_port_in_action.c', 'rte_table_action.c')
headers = files('rte_pipeline.h', 'rte_port_in_action.h', 'rte_table_action.h')
deps += ['port', 'table', 'meter', 'sched', 'cryptodev']
# library name
LIB = librte_power.a
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 -fno-strict-aliasing
LDLIBS += -lrte_eal -lrte_timer
# library name
LIB = librte_rcu.a
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
LDLIBS += -lrte_eal
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Arm Limited
-allow_experimental_apis = true
-
sources = files('rte_rcu_qsbr.c')
headers = files('rte_rcu_qsbr.h')
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lrte_eal -lrte_mempool
EXPORT_MAP := rte_rib_version.map
# Copyright(c) 2018 Vladimir Medvedkin <medvedkinv@gmail.com>
# Copyright(c) 2019 Intel Corporation
-allow_experimental_apis = true
sources = files('rte_rib.c', 'rte_rib6.c')
headers = files('rte_rib.h', 'rte_rib6.h')
deps += ['mempool']
# library name
LIB = librte_ring.a
-CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 -DALLOW_EXPERIMENTAL_API
+CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
LDLIBS += -lrte_eal
EXPORT_MAP := rte_ring_version.map
'rte_ring_elem.h',
'rte_ring_c11_mem.h',
'rte_ring_generic.h')
-
-# rte_ring_create_elem and rte_ring_get_memsize_elem are experimental
-allow_experimental_apis = true
LIB = librte_stack.a
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
-CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lrte_eal
EXPORT_MAP := rte_stack_version.map
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2019 Intel Corporation
-allow_experimental_apis = true
-
sources = files('rte_stack.c', 'rte_stack_std.c', 'rte_stack_lf.c')
headers = files('rte_stack.h',
'rte_stack_std.h',
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lrte_eal -lrte_ethdev
LDLIBS += -lrte_metrics
sources = files('rte_telemetry.c', 'rte_telemetry_parser.c', 'rte_telemetry_parser_test.c')
headers = files('rte_telemetry.h', 'rte_telemetry_internal.h', 'rte_telemetry_parser.h')
deps += ['metrics', 'ethdev']
-cflags += '-DALLOW_EXPERIMENTAL_API'
jansson = dependency('jansson', required: false)
if jansson.found()
# library name
LIB = librte_timer.a
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
LDLIBS += -lrte_eal
sources = files('rte_timer.c')
headers = files('rte_timer.h')
-allow_experimental_apis = true
EXPORT_MAP := rte_vhost_version.map
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
CFLAGS += -I vhost_user
CFLAGS += -fno-strict-aliasing
endif
dpdk_conf.set('RTE_LIBRTE_VHOST_POSTCOPY',
cc.has_header('linux/userfaultfd.h'))
-allow_experimental_apis = true
cflags += '-fno-strict-aliasing'
sources = files('fd_man.c', 'iotlb.c', 'socket.c', 'vdpa.c',
'vhost.c', 'vhost_user.c',
libraries = ['kvargs','eal'] # only supported libraries for windows
endif
-default_cflags = machine_args
+default_cflags = machine_args + ['-DALLOW_EXPERIMENTAL_API']
if cc.has_argument('-Wno-format-truncation')
default_cflags += '-Wno-format-truncation'
endif
build = true
reason = '<unknown reason>' # set if build == false to explain why
name = l
- allow_experimental_apis = false
use_function_versioning = false
sources = []
headers = []
static_dep = shared_dep
else
- if allow_experimental_apis
- cflags += '-DALLOW_EXPERIMENTAL_API'
- endif
if use_function_versioning
cflags += '-DRTE_USE_FUNCTION_VERSIONING'
endif
ifeq ($(BUILDING_RTE_SDK),1)
# building sdk
CFLAGS += -include $(RTE_OUTPUT)/include/rte_config.h
+CFLAGS += -DALLOW_EXPERIMENTAL_API
else
# if we are building an external application, include SDK's lib and
# includes too