From: Yasufumi Ogawa <yasufum.o@gmail.com>
To: spp@dpdk.org, ferruh.yigit@intel.com, yasufum.o@gmail.com
Subject: [spp] [PATCH 1/6] spp_vf: rename file classifier_mac
Date: Fri, 2 Aug 2019 18:33:53 +0900 [thread overview]
Message-ID: <20190802093358.13696-2-yasufum.o@gmail.com> (raw)
In-Reply-To: <20190802093358.13696-1-yasufum.o@gmail.com>
This update is to change files named as `classifier_mac` to
`classifier` because claffisication only supports MAC and `_mac` has
no meaning.
Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
---
src/vf/Makefile | 2 +-
src/vf/{classifier_mac.c => classifier.c} | 2 +-
src/vf/{classifier_mac.h => classifier.h} | 0
src/vf/spp_vf.c | 2 +-
src/vf/vf_cmd_runner.c | 2 +-
5 files changed, 4 insertions(+), 4 deletions(-)
rename src/vf/{classifier_mac.c => classifier.c} (99%)
rename src/vf/{classifier_mac.h => classifier.h} (100%)
diff --git a/src/vf/Makefile b/src/vf/Makefile
index 92d2854..5981d62 100644
--- a/src/vf/Makefile
+++ b/src/vf/Makefile
@@ -15,7 +15,7 @@ SPP_SEC_DIR = ../shared/secondary
SPP_WKT_DIR = ../shared/secondary/spp_worker_th
# all source are stored in SRCS-y
-SRCS-y := spp_vf.c classifier_mac.c forwarder.c
+SRCS-y := spp_vf.c classifier.c forwarder.c
SRCS-y += $(SPP_SEC_DIR)/string_buffer.c
SRCS-y += $(SPP_SEC_DIR)/json_helper.c
SRCS-y += $(SPP_SEC_DIR)/utils.c $(SPP_SEC_DIR)/add_port.c
diff --git a/src/vf/classifier_mac.c b/src/vf/classifier.c
similarity index 99%
rename from src/vf/classifier_mac.c
rename to src/vf/classifier.c
index f3be5b6..49c7d01 100644
--- a/src/vf/classifier_mac.c
+++ b/src/vf/classifier.c
@@ -21,7 +21,7 @@
#include <rte_launch.h>
#include <netinet/in.h>
-#include "classifier_mac.h"
+#include "classifier.h"
#include "spp_vf.h"
#include "shared/secondary/return_codes.h"
#include "shared/secondary/string_buffer.h"
diff --git a/src/vf/classifier_mac.h b/src/vf/classifier.h
similarity index 100%
rename from src/vf/classifier_mac.h
rename to src/vf/classifier.h
diff --git a/src/vf/spp_vf.c b/src/vf/spp_vf.c
index caf4678..2091023 100644
--- a/src/vf/spp_vf.c
+++ b/src/vf/spp_vf.c
@@ -7,7 +7,7 @@
#include <getopt.h>
#include "spp_vf.h"
-#include "classifier_mac.h"
+#include "classifier.h"
#include "forwarder.h"
#include "shared/secondary/utils.h"
#include "shared/secondary/spp_worker_th/cmd_utils.h"
diff --git a/src/vf/vf_cmd_runner.c b/src/vf/vf_cmd_runner.c
index 16328f4..9536a80 100644
--- a/src/vf/vf_cmd_runner.c
+++ b/src/vf/vf_cmd_runner.c
@@ -2,7 +2,7 @@
* Copyright(c) 2019 Nippon Telegraph and Telephone Corporation
*/
-#include "classifier_mac.h"
+#include "classifier.h"
#include "forwarder.h"
#include "shared/secondary/return_codes.h"
#include "shared/secondary/json_helper.h"
--
2.17.1
next prev parent reply other threads:[~2019-08-02 9:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-02 9:33 [spp] [PATCH 0/6] Refactor classifier of spp_vf Yasufumi Ogawa
2019-08-02 9:33 ` Yasufumi Ogawa [this message]
2019-08-02 9:33 ` [spp] [PATCH 2/6] spp_vf: rename func spp_classifier_mac_init Yasufumi Ogawa
2019-08-02 9:33 ` [spp] [PATCH 3/6] spp_vf: remove no meaning int variables Yasufumi Ogawa
2019-08-02 9:33 ` [spp] [PATCH 4/6] spp_vf: rename management_info to cls_mng_info Yasufumi Ogawa
2019-08-02 9:33 ` [spp] [PATCH 5/6] spp_vf: refactor variables in classifier.c Yasufumi Ogawa
2019-08-02 9:33 ` [spp] [PATCH 6/6] spp_vf: rename spp_classifier_mac_do Yasufumi Ogawa
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=20190802093358.13696-2-yasufum.o@gmail.com \
--to=yasufum.o@gmail.com \
--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).