diff options
author | Ferruh Yigit <ferruh.yigit@intel.com> | 2016-07-07 15:37:41 +0100 |
---|---|---|
committer | Ferruh Yigit <ferruh.yigit@intel.com> | 2016-07-27 13:52:57 +0100 |
commit | 7ce981fbd8c97f6882abde26793c2c126a77a54a (patch) | |
tree | 3f006f4dc5470d8ada889c9fe5752537ce542504 | |
parent | 06f9209a90d7c31c9a6a0076074ca909f89d3041 (diff) | |
download | spp-7ce981fbd8c97f6882abde26793c2c126a77a54a.zip spp-7ce981fbd8c97f6882abde26793c2c126a77a54a.tar.gz spp-7ce981fbd8c97f6882abde26793c2c126a77a54a.tar.xz |
spp: make soft patch panel standalone app
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
-rw-r--r-- | Makefile | 43 | ||||
-rwxr-xr-x | docs/qemu-ifup (renamed from examples/multi_process/patch_panel/docs/qemu-ifup) | 0 | ||||
-rw-r--r-- | docs/sample_configs/1nfv_1vm_bi.config (renamed from examples/multi_process/patch_panel/docs/sample_configs/1nfv_1vm_bi.config) | 0 | ||||
-rw-r--r-- | docs/sample_configs/1nfv_1vm_uni.config (renamed from examples/multi_process/patch_panel/docs/sample_configs/1nfv_1vm_uni.config) | 0 | ||||
-rw-r--r-- | docs/sample_configs/1nfv_bi.config (renamed from examples/multi_process/patch_panel/docs/sample_configs/1nfv_bi.config) | 0 | ||||
-rw-r--r-- | docs/sample_configs/2nfv_1ring_uni.config (renamed from examples/multi_process/patch_panel/docs/sample_configs/2nfv_1ring_uni.config) | 0 | ||||
-rw-r--r-- | docs/sample_configs/2nfv_1vm_bi.config (renamed from examples/multi_process/patch_panel/docs/sample_configs/2nfv_1vm_bi.config) | 0 | ||||
-rw-r--r-- | docs/sample_configs/2nfv_bi.config (renamed from examples/multi_process/patch_panel/docs/sample_configs/2nfv_bi.config) | 0 | ||||
-rw-r--r-- | docs/setup_guide.md (renamed from examples/multi_process/patch_panel/docs/setup_guide.md) | 0 | ||||
-rw-r--r-- | docs/spp_commands.md (renamed from examples/multi_process/patch_panel/docs/spp_commands.md) | 0 | ||||
-rw-r--r-- | docs/workflow.md (renamed from examples/multi_process/patch_panel/docs/workflow.md) | 0 | ||||
-rw-r--r-- | src/Makefile (renamed from examples/multi_process/patch_panel/Makefile) | 2 | ||||
-rw-r--r-- | src/nfv/Makefile (renamed from examples/multi_process/patch_panel/nfv/Makefile) | 0 | ||||
-rw-r--r-- | src/nfv/nfv.c (renamed from examples/multi_process/patch_panel/nfv/nfv.c) | 0 | ||||
-rw-r--r-- | src/primary/Makefile (renamed from examples/multi_process/patch_panel/primary/Makefile) | 0 | ||||
-rw-r--r-- | src/primary/args.c (renamed from examples/multi_process/patch_panel/primary/args.c) | 0 | ||||
-rw-r--r-- | src/primary/args.h (renamed from examples/multi_process/patch_panel/primary/args.h) | 0 | ||||
-rw-r--r-- | src/primary/init.c (renamed from examples/multi_process/patch_panel/primary/init.c) | 0 | ||||
-rw-r--r-- | src/primary/init.h (renamed from examples/multi_process/patch_panel/primary/init.h) | 0 | ||||
-rw-r--r-- | src/primary/main.c (renamed from examples/multi_process/patch_panel/primary/main.c) | 0 | ||||
-rw-r--r-- | src/shared/common.c (renamed from examples/multi_process/patch_panel/shared/common.c) | 0 | ||||
-rw-r--r-- | src/shared/common.h (renamed from examples/multi_process/patch_panel/shared/common.h) | 0 | ||||
-rwxr-xr-x | src/spp.py (renamed from examples/multi_process/patch_panel/spp.py) | 0 | ||||
-rw-r--r-- | src/vm/Makefile (renamed from examples/multi_process/patch_panel/vm/Makefile) | 0 | ||||
-rw-r--r-- | src/vm/args.c (renamed from examples/multi_process/patch_panel/vm/args.c) | 0 | ||||
-rw-r--r-- | src/vm/args.h (renamed from examples/multi_process/patch_panel/vm/args.h) | 0 | ||||
-rw-r--r-- | src/vm/init.c (renamed from examples/multi_process/patch_panel/vm/init.c) | 0 | ||||
-rw-r--r-- | src/vm/init.h (renamed from examples/multi_process/patch_panel/vm/init.h) | 0 | ||||
-rw-r--r-- | src/vm/main.c (renamed from examples/multi_process/patch_panel/vm/main.c) | 0 |
29 files changed, 44 insertions, 1 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0655c0c --- /dev/null +++ b/Makefile @@ -0,0 +1,43 @@ +# BSD LICENSE +# +# Copyright(c) 2015-2016 Intel Corporation. All rights reserved. +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# * Neither the name of Intel Corporation nor the names of its +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +ifeq ($(RTE_SDK),) +$(error "Please define RTE_SDK environment variable") +endif + +# Default target, can be overriden by command line or environment +RTE_TARGET ?= x86_64-native-linuxapp-gcc + +include $(RTE_SDK)/mk/rte.vars.mk + +DIRS-y += src + +include $(RTE_SDK)/mk/rte.extsubdir.mk diff --git a/examples/multi_process/patch_panel/docs/qemu-ifup b/docs/qemu-ifup index 4538b65..4538b65 100755 --- a/examples/multi_process/patch_panel/docs/qemu-ifup +++ b/docs/qemu-ifup diff --git a/examples/multi_process/patch_panel/docs/sample_configs/1nfv_1vm_bi.config b/docs/sample_configs/1nfv_1vm_bi.config index c4e8baa..c4e8baa 100644 --- a/examples/multi_process/patch_panel/docs/sample_configs/1nfv_1vm_bi.config +++ b/docs/sample_configs/1nfv_1vm_bi.config diff --git a/examples/multi_process/patch_panel/docs/sample_configs/1nfv_1vm_uni.config b/docs/sample_configs/1nfv_1vm_uni.config index 202f216..202f216 100644 --- a/examples/multi_process/patch_panel/docs/sample_configs/1nfv_1vm_uni.config +++ b/docs/sample_configs/1nfv_1vm_uni.config diff --git a/examples/multi_process/patch_panel/docs/sample_configs/1nfv_bi.config b/docs/sample_configs/1nfv_bi.config index 3e333db..3e333db 100644 --- a/examples/multi_process/patch_panel/docs/sample_configs/1nfv_bi.config +++ b/docs/sample_configs/1nfv_bi.config diff --git a/examples/multi_process/patch_panel/docs/sample_configs/2nfv_1ring_uni.config b/docs/sample_configs/2nfv_1ring_uni.config index be8f51c..be8f51c 100644 --- a/examples/multi_process/patch_panel/docs/sample_configs/2nfv_1ring_uni.config +++ b/docs/sample_configs/2nfv_1ring_uni.config diff --git a/examples/multi_process/patch_panel/docs/sample_configs/2nfv_1vm_bi.config b/docs/sample_configs/2nfv_1vm_bi.config index 2ba3175..2ba3175 100644 --- a/examples/multi_process/patch_panel/docs/sample_configs/2nfv_1vm_bi.config +++ b/docs/sample_configs/2nfv_1vm_bi.config diff --git a/examples/multi_process/patch_panel/docs/sample_configs/2nfv_bi.config b/docs/sample_configs/2nfv_bi.config index cad6bc7..cad6bc7 100644 --- a/examples/multi_process/patch_panel/docs/sample_configs/2nfv_bi.config +++ b/docs/sample_configs/2nfv_bi.config diff --git a/examples/multi_process/patch_panel/docs/setup_guide.md b/docs/setup_guide.md index d10f376..d10f376 100644 --- a/examples/multi_process/patch_panel/docs/setup_guide.md +++ b/docs/setup_guide.md diff --git a/examples/multi_process/patch_panel/docs/spp_commands.md b/docs/spp_commands.md index 1cd86fc..1cd86fc 100644 --- a/examples/multi_process/patch_panel/docs/spp_commands.md +++ b/docs/spp_commands.md diff --git a/examples/multi_process/patch_panel/docs/workflow.md b/docs/workflow.md index 4b6744c..4b6744c 100644 --- a/examples/multi_process/patch_panel/docs/workflow.md +++ b/docs/workflow.md diff --git a/examples/multi_process/patch_panel/Makefile b/src/Makefile index 798ed2b..6fd24b8 100644 --- a/examples/multi_process/patch_panel/Makefile +++ b/src/Makefile @@ -1,6 +1,6 @@ # BSD LICENSE # -# Copyright(c) 2010-2014 Intel Corporation. All rights reserved. +# Copyright(c) 2015-2016 Intel Corporation. All rights reserved. # All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/examples/multi_process/patch_panel/nfv/Makefile b/src/nfv/Makefile index aab58a7..aab58a7 100644 --- a/examples/multi_process/patch_panel/nfv/Makefile +++ b/src/nfv/Makefile diff --git a/examples/multi_process/patch_panel/nfv/nfv.c b/src/nfv/nfv.c index fc9ad1e..fc9ad1e 100644 --- a/examples/multi_process/patch_panel/nfv/nfv.c +++ b/src/nfv/nfv.c diff --git a/examples/multi_process/patch_panel/primary/Makefile b/src/primary/Makefile index ec4d98b..ec4d98b 100644 --- a/examples/multi_process/patch_panel/primary/Makefile +++ b/src/primary/Makefile diff --git a/examples/multi_process/patch_panel/primary/args.c b/src/primary/args.c index 55433a1..55433a1 100644 --- a/examples/multi_process/patch_panel/primary/args.c +++ b/src/primary/args.c diff --git a/examples/multi_process/patch_panel/primary/args.h b/src/primary/args.h index 73e1f82..73e1f82 100644 --- a/examples/multi_process/patch_panel/primary/args.h +++ b/src/primary/args.h diff --git a/examples/multi_process/patch_panel/primary/init.c b/src/primary/init.c index d4675c6..d4675c6 100644 --- a/examples/multi_process/patch_panel/primary/init.c +++ b/src/primary/init.c diff --git a/examples/multi_process/patch_panel/primary/init.h b/src/primary/init.h index 915552c..915552c 100644 --- a/examples/multi_process/patch_panel/primary/init.h +++ b/src/primary/init.h diff --git a/examples/multi_process/patch_panel/primary/main.c b/src/primary/main.c index 15fa53a..15fa53a 100644 --- a/examples/multi_process/patch_panel/primary/main.c +++ b/src/primary/main.c diff --git a/examples/multi_process/patch_panel/shared/common.c b/src/shared/common.c index da73cfe..da73cfe 100644 --- a/examples/multi_process/patch_panel/shared/common.c +++ b/src/shared/common.c diff --git a/examples/multi_process/patch_panel/shared/common.h b/src/shared/common.h index 6ae4ac9..6ae4ac9 100644 --- a/examples/multi_process/patch_panel/shared/common.h +++ b/src/shared/common.h diff --git a/examples/multi_process/patch_panel/spp.py b/src/spp.py index b937b5a..b937b5a 100755 --- a/examples/multi_process/patch_panel/spp.py +++ b/src/spp.py diff --git a/examples/multi_process/patch_panel/vm/Makefile b/src/vm/Makefile index 8996d84..8996d84 100644 --- a/examples/multi_process/patch_panel/vm/Makefile +++ b/src/vm/Makefile diff --git a/examples/multi_process/patch_panel/vm/args.c b/src/vm/args.c index dc11d77..dc11d77 100644 --- a/examples/multi_process/patch_panel/vm/args.c +++ b/src/vm/args.c diff --git a/examples/multi_process/patch_panel/vm/args.h b/src/vm/args.h index ecaebd2..ecaebd2 100644 --- a/examples/multi_process/patch_panel/vm/args.h +++ b/src/vm/args.h diff --git a/examples/multi_process/patch_panel/vm/init.c b/src/vm/init.c index 40b0ffe..40b0ffe 100644 --- a/examples/multi_process/patch_panel/vm/init.c +++ b/src/vm/init.c diff --git a/examples/multi_process/patch_panel/vm/init.h b/src/vm/init.h index 91f54df..91f54df 100644 --- a/examples/multi_process/patch_panel/vm/init.h +++ b/src/vm/init.h diff --git a/examples/multi_process/patch_panel/vm/main.c b/src/vm/main.c index a1c4fac..a1c4fac 100644 --- a/examples/multi_process/patch_panel/vm/main.c +++ b/src/vm/main.c |