8a80fa4723
If mempool manager supports object blocks (physically and virtual contiguous set of objects), it is sufficient to get the first object only and the function allows to avoid filling in of information about each block member. Signed-off-by: Artem V. Andreev <artem.andreev@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Olivier Matz <olivier.matz@6wind.com>
26 lines
621 B
Meson
26 lines
621 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2017 Intel Corporation
|
|
|
|
allow_experimental_apis = true
|
|
|
|
extra_flags = []
|
|
|
|
# Allow deprecated symbol to use deprecated rte_mempool_populate_iova_tab()
|
|
# from earlier deprecated rte_mempool_populate_phys_tab()
|
|
extra_flags += '-Wno-deprecated-declarations'
|
|
|
|
foreach flag: extra_flags
|
|
if cc.has_argument(flag)
|
|
cflags += flag
|
|
endif
|
|
endforeach
|
|
|
|
version = 4
|
|
sources = files('rte_mempool.c', 'rte_mempool_ops.c',
|
|
'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
|