app/pipeline: move from test directory

Move to the app directory, and add to meson build.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
This commit is contained in:
Bruce Richardson 2019-02-26 12:19:01 +00:00 committed by Thomas Monjalon
parent 75795fabd2
commit 474572d2ae
17 changed files with 18 additions and 3 deletions

View File

@ -1093,7 +1093,7 @@ F: lib/librte_port/
F: lib/librte_table/
F: doc/guides/prog_guide/packet_framework.rst
F: test/test/test_table*
F: test/test-pipeline/
F: app/test-pipeline/
F: doc/guides/sample_app_ug/test_pipeline.rst
F: examples/ip_pipeline/
F: doc/guides/sample_app_ug/ip_pipeline.rst

View File

@ -8,6 +8,7 @@ DIRS-$(CONFIG_RTE_PROC_INFO) += proc-info
DIRS-$(CONFIG_RTE_LIBRTE_PDUMP) += pdump
DIRS-$(CONFIG_RTE_LIBRTE_ACL) += test-acl
DIRS-$(CONFIG_RTE_LIBRTE_CMDLINE) += test-cmdline
DIRS-$(CONFIG_RTE_LIBRTE_PIPELINE) += test-pipeline
ifeq ($(CONFIG_RTE_LIBRTE_BBDEV),y)
DIRS-$(CONFIG_RTE_TEST_BBDEV) += test-bbdev

View File

@ -10,6 +10,7 @@ apps = [
'test-compress-perf',
'test-crypto-perf',
'test-eventdev',
'test-pipeline',
'test-pmd']
# for BSD only

View File

@ -0,0 +1,14 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2019 Intel Corporation
sources = files(
'config.c',
'init.c',
'main.c',
'pipeline_acl.c',
'pipeline_hash.c',
'pipeline_lpm.c',
'pipeline_lpm_ipv6.c',
'pipeline_stub.c',
'runtime.c')
deps += 'pipeline'

View File

@ -32,7 +32,7 @@ Compiling the Application
-------------------------
To compile the sample application see :doc:`compiling`
The application is located in the ``$RTE_SDK/test/test-pipline`` directory.
The application is located in the ``$RTE_SDK/app/test-pipline`` directory.
Running the Application

View File

@ -4,6 +4,5 @@
include $(RTE_SDK)/mk/rte.vars.mk
DIRS-$(CONFIG_RTE_APP_TEST) += test
DIRS-$(CONFIG_RTE_LIBRTE_PIPELINE) += test-pipeline
include $(RTE_SDK)/mk/rte.subdir.mk