From: ogawa.yasufumi@lab.ntt.co.jp
To: ferruh.yigit@intel.com, spp@dpdk.org, ogawa.yasufumi@lab.ntt.co.jp
Subject: [spp] [PATCH 6/6] spp_mirror: update makefile
Date: Tue, 15 Jan 2019 12:28:38 +0900 [thread overview]
Message-ID: <1547522918-10223-7-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> (raw)
In-Reply-To: <1547522918-10223-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp>
From: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
Add refactored common source and header files to makefile and root
header file.
Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
---
src/mirror/Makefile | 3 ++-
src/mirror/spp_mirror.c | 4 +++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/mirror/Makefile b/src/mirror/Makefile
index 073afbd..f1995fc 100644
--- a/src/mirror/Makefile
+++ b/src/mirror/Makefile
@@ -14,6 +14,7 @@ APP = spp_mirror
# all source are stored in SRCS-y
SRCS-y := spp_mirror.c
SRCS-y += ../shared/common.c
+SRCS-y += ../shared/secondary/utils.c ../shared/secondary/add_port.c
SRCS-y += ../vf/common/spp_proc.c ../vf/common/spp_port.c
SRCS-y += ../vf/common/command_conn.c ../vf/common/command_proc.c
SRCS-y += ../vf/common/command_dec.c
@@ -21,7 +22,7 @@ SRCS-y += ../vf/common/ringlatencystats.c ../vf/common/string_buffer.c
CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += $(WERROR_FLAGS) -O3 -MMD
-CFLAGS += -I$(SRCDIR)/../shared
+CFLAGS += -I$(SRCDIR)/../
CFLAGS += -I$(SRCDIR)/../vf/common
CFLAGS += -DSPP_MIRROR_MODULE
CFLAGS += -DSPP_MIRROR_SHALLOWCOPY
diff --git a/src/mirror/spp_mirror.c b/src/mirror/spp_mirror.c
index fb9bcb1..4835d55 100644
--- a/src/mirror/spp_mirror.c
+++ b/src/mirror/spp_mirror.c
@@ -9,7 +9,9 @@
#include <rte_common.h>
#include <rte_cycles.h>
-#include "common.h"
+#include "shared/common.h"
+#include "shared/secondary/utils.h"
+
#include "spp_proc.h"
#include "spp_mirror.h"
#include "command_proc.h"
--
2.17.1
prev parent reply other threads:[~2019-01-15 3:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-15 3:28 [spp] [PATCH 0/6] Refactor for including headers ogawa.yasufumi
2019-01-15 3:28 ` [spp] [PATCH 1/6] shared: fix include error of add_port libs ogawa.yasufumi
2019-01-15 3:28 ` [spp] [PATCH 2/6] spp_nfv: update to use common app_port libs ogawa.yasufumi
2019-01-15 3:28 ` [spp] [PATCH 3/6] spp_vf/common: add RTE_LOGTYPE in each of files ogawa.yasufumi
2019-01-15 3:28 ` [spp] [PATCH 4/6] spp_vf/common: change name of func of adding port ogawa.yasufumi
2019-01-15 3:28 ` [spp] [PATCH 5/6] spp_vf: update makefile ogawa.yasufumi
2019-01-15 3:28 ` ogawa.yasufumi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1547522918-10223-7-git-send-email-ogawa.yasufumi@lab.ntt.co.jp \
--to=ogawa.yasufumi@lab.ntt.co.jp \
--cc=ferruh.yigit@intel.com \
--cc=spp@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).