[v1,02/13] driver/mempool: build mempool stack on Windows
Checks
Commit Message
From: Jie Zhou <jizh@microsoft.com>
mempool_autotest failed on Windows at setting the "stack" handler
test case. Per debugging, in rte_mempool_ops_table, there are only
6 ring ops registered, and no "stack" ops registered which caused
the failure of rte_mempool_set_ops_byname and thus the test failed.
Per code investigation, the "stack" ops are registered in
rte_mempool_stack.c:
MEMPOOL_REGISTER_OPS(ops_stack);
MEMPOOL_REGISTER_OPS(ops_lf_stack);
The reason these two ops are not registered is because currently
driver\mempool\stack is not build on Windows. After building stack
on Windows, the mempool_autotest now completed as pass.
Signed-off-by: Jie Zhou <jizh@linux.microsoft.com>
---
drivers/mempool/stack/meson.build | 5 -----
1 file changed, 5 deletions(-)
@@ -1,11 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017-2019 Intel Corporation
-if is_windows
- build = false
- reason = 'not supported on Windows'
-endif
-
sources = files('rte_mempool_stack.c')
deps += ['stack']