From: ogawa.yasufumi@lab.ntt.co.jp
To: spp@dpdk.org, ferruh.yigit@intel.com, ogawa.yasufumi@lab.ntt.co.jp
Subject: [spp] [PATCH 2/9] spp_pcap: rename file of util libs
Date: Fri, 31 May 2019 17:51:32 +0900 [thread overview]
Message-ID: <1559292699-26940-3-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> (raw)
In-Reply-To: <1559292699-26940-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp>
From: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
As renamed in shared dir, this update is to rename `command_dec.*` and
`command_proc.*` to `cmd_parser.*` and `cmd_runner.*`.
Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
---
src/pcap/Makefile | 2 +-
src/pcap/{command_dec.c => cmd_parser.c} | 2 +-
src/pcap/{command_dec.h => cmd_parser.h} | 0
src/pcap/{command_proc.c => cmd_runner.c} | 4 ++--
src/pcap/{command_proc.h => cmd_runner.h} | 0
src/pcap/spp_pcap.c | 4 ++--
6 files changed, 6 insertions(+), 6 deletions(-)
rename src/pcap/{command_dec.c => cmd_parser.c} (99%)
rename src/pcap/{command_dec.h => cmd_parser.h} (100%)
rename src/pcap/{command_proc.c => cmd_runner.c} (99%)
rename src/pcap/{command_proc.h => cmd_runner.h} (100%)
diff --git a/src/pcap/Makefile b/src/pcap/Makefile
index e5e0b00..61f6f81 100644
--- a/src/pcap/Makefile
+++ b/src/pcap/Makefile
@@ -16,7 +16,7 @@ SPP_WKT_DIR = ../shared/secondary/spp_worker_th
# all source are stored in SRCS-y
SRCS-y := spp_pcap.c
SRCS-y += cmd_utils.c
-SRCS-y += command_proc.c command_dec.c
+SRCS-y += cmd_runner.c cmd_parser.c
SRCS-y += ../shared/common.c
SRCS-y += $(SPP_WKT_DIR)/command_conn.c
SRCS-y += $(SPP_WKT_DIR)/spp_port.c
diff --git a/src/pcap/command_dec.c b/src/pcap/cmd_parser.c
similarity index 99%
rename from src/pcap/command_dec.c
rename to src/pcap/cmd_parser.c
index 943ab0f..6734c1e 100644
--- a/src/pcap/command_dec.c
+++ b/src/pcap/cmd_parser.c
@@ -9,7 +9,7 @@
#include <rte_log.h>
#include <rte_branch_prediction.h>
-#include "command_dec.h"
+#include "cmd_parser.h"
#define RTE_LOGTYPE_SPP_COMMAND_DEC RTE_LOGTYPE_USER2
diff --git a/src/pcap/command_dec.h b/src/pcap/cmd_parser.h
similarity index 100%
rename from src/pcap/command_dec.h
rename to src/pcap/cmd_parser.h
diff --git a/src/pcap/command_proc.c b/src/pcap/cmd_runner.c
similarity index 99%
rename from src/pcap/command_proc.c
rename to src/pcap/cmd_runner.c
index 2987cad..f51b819 100644
--- a/src/pcap/command_proc.c
+++ b/src/pcap/cmd_runner.c
@@ -10,8 +10,8 @@
#include "shared/secondary/spp_worker_th/string_buffer.h"
#include "spp_pcap.h"
#include "shared/secondary/spp_worker_th/command_conn.h"
-#include "command_dec.h"
-#include "command_proc.h"
+#include "cmd_parser.h"
+#include "cmd_runner.h"
#define RTE_LOGTYPE_SPP_COMMAND_PROC RTE_LOGTYPE_USER2
diff --git a/src/pcap/command_proc.h b/src/pcap/cmd_runner.h
similarity index 100%
rename from src/pcap/command_proc.h
rename to src/pcap/cmd_runner.h
diff --git a/src/pcap/spp_pcap.c b/src/pcap/spp_pcap.c
index b048237..b48caf4 100644
--- a/src/pcap/spp_pcap.c
+++ b/src/pcap/spp_pcap.c
@@ -15,8 +15,8 @@
#include "shared/common.h"
#include "cmd_utils.h"
#include "spp_pcap.h"
-#include "command_proc.h"
-#include "command_dec.h"
+#include "cmd_runner.h"
+#include "cmd_parser.h"
#include "shared/secondary/spp_worker_th/spp_port.h"
/* Declare global variables */
--
2.17.1
next prev parent reply other threads:[~2019-05-31 8:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-31 8:51 [spp] [PATCH 0/9] Refactor func and struct for spp_pcap resources ogawa.yasufumi
2019-05-31 8:51 ` [spp] [PATCH 1/9] spp_pcap: rename enum spp_core_status ogawa.yasufumi
2019-05-31 8:51 ` ogawa.yasufumi [this message]
2019-05-31 8:51 ` [spp] [PATCH 3/9] spp_pcap: refactor parse error code ogawa.yasufumi
2019-05-31 8:51 ` [spp] [PATCH 4/9] spp_pcap: rename define starts from SPP_CMD_MAX ogawa.yasufumi
2019-05-31 8:51 ` [spp] [PATCH 5/9] spp_pcap: rename define of buffer size for cmds ogawa.yasufumi
2019-05-31 8:51 ` [spp] [PATCH 6/9] spp_pcap: revise name of error message object ogawa.yasufumi
2019-05-31 8:51 ` [spp] [PATCH 7/9] spp_pcap: revise return codes ogawa.yasufumi
2019-05-31 8:51 ` [spp] [PATCH 8/9] spp_pcap: rename struct spp_port_info ogawa.yasufumi
2019-05-31 8:51 ` [spp] [PATCH 9/9] spp_pcap: rename struct spp_port_index ogawa.yasufumi
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=1559292699-26940-3-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).