The PMD uses a public interface to allow applications to control the token pop mode. Supported token pop modes are as follows, and they impact core scheduling affinity for ldb ports. AUTO_POP: Pop the CQ tokens immediately after dequeueing. DELAYED_POP: Pop CQ tokens after (dequeue_depth - 1) events are released. Supported on load-balanced ports only. DEFERRED_POP: Pop the CQ tokens during next dequeue operation. Signed-off-by: Timothy McDaniel <timothy.mcdaniel@intel.com> Reviewed-by: Gage Eads <gage.eads@intel.com>
23 lines
488 B
Meson
23 lines
488 B
Meson
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2019-2020 Intel Corporation
|
|
|
|
if not is_linux or not dpdk_conf.has('RTE_ARCH_X86_64')
|
|
build = false
|
|
reason = 'only supported on ARCH_X86_64 Linux'
|
|
subdir_done()
|
|
endif
|
|
|
|
sources = files('dlb2.c',
|
|
'dlb2_iface.c',
|
|
'dlb2_xstats.c',
|
|
'pf/dlb2_main.c',
|
|
'pf/dlb2_pf.c',
|
|
'pf/base/dlb2_resource.c',
|
|
'rte_pmd_dlb2.c'
|
|
)
|
|
|
|
headers = files('rte_pmd_dlb2.h')
|
|
|
|
deps += ['mbuf', 'mempool', 'ring', 'pci', 'bus_pci']
|