Soft Patch Panel
 help / color / mirror / Atom feed
From: Yasufumi Ogawa <yasufum.o@gmail.com>
To: spp@dpdk.org, ferruh.yigit@intel.com, yasufum.o@gmail.com
Subject: [spp] [PATCH] spp_vf: remove spp_vf.h
Date: Fri,  2 Aug 2019 18:36:13 +0900	[thread overview]
Message-ID: <20190802093613.14107-1-yasufum.o@gmail.com> (raw)

There are no contents other than RTE_LOGTYPE in `spp_vf.h`. This update
is remove this file. RTE_LOGTYPE is moved to each of source files.

Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
---
 src/vf/classifier.c |  1 -
 src/vf/forwarder.c  |  1 -
 src/vf/spp_vf.c     |  3 ++-
 src/vf/spp_vf.h     | 20 --------------------
 4 files changed, 2 insertions(+), 23 deletions(-)
 delete mode 100644 src/vf/spp_vf.h

diff --git a/src/vf/classifier.c b/src/vf/classifier.c
index 622c102..cadd03e 100644
--- a/src/vf/classifier.c
+++ b/src/vf/classifier.c
@@ -22,7 +22,6 @@
 #include <netinet/in.h>
 
 #include "classifier.h"
-#include "spp_vf.h"
 #include "shared/secondary/return_codes.h"
 #include "shared/secondary/string_buffer.h"
 #include "shared/secondary/json_helper.h"
diff --git a/src/vf/forwarder.c b/src/vf/forwarder.c
index 20c2084..3e98526 100644
--- a/src/vf/forwarder.c
+++ b/src/vf/forwarder.c
@@ -5,7 +5,6 @@
 #include <rte_cycles.h>
 
 #include "forwarder.h"
-#include "spp_vf.h"
 #include "shared/secondary/return_codes.h"
 #include "shared/secondary/spp_worker_th/vf_deps.h"
 #include "shared/secondary/spp_worker_th/port_capability.h"
diff --git a/src/vf/spp_vf.c b/src/vf/spp_vf.c
index 7584c5c..aabddd3 100644
--- a/src/vf/spp_vf.c
+++ b/src/vf/spp_vf.c
@@ -6,7 +6,6 @@
 #include <arpa/inet.h>
 #include <getopt.h>
 
-#include "spp_vf.h"
 #include "classifier.h"
 #include "forwarder.h"
 #include "shared/secondary/utils.h"
@@ -17,6 +16,8 @@
 #include "shared/secondary/spp_worker_th/cmd_parser.h"
 #include "shared/secondary/spp_worker_th/port_capability.h"
 
+#define RTE_LOGTYPE_APP RTE_LOGTYPE_USER1
+
 #ifdef SPP_RINGLATENCYSTATS_ENABLE
 #include "shared/secondary/spp_worker_th/ringlatencystats.h"
 #endif
diff --git a/src/vf/spp_vf.h b/src/vf/spp_vf.h
deleted file mode 100644
index 8465f1b..0000000
--- a/src/vf/spp_vf.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2017-2018 Nippon Telegraph and Telephone Corporation
- */
-
-#ifndef __SPP_VF_H__
-#define __SPP_VF_H__
-
-/**
- * @file
- * SPP_VF main
- *
- * Main function of spp_vf.
- * This provides the function for initializing and starting the threads.
- */
-
-#include "shared/common.h"
-
-#define RTE_LOGTYPE_APP RTE_LOGTYPE_USER1
-
-#endif /* __SPP_VF_H__ */
-- 
2.17.1


                 reply	other threads:[~2019-08-02  9:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20190802093613.14107-1-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).