From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0BCC3A10DA for ; Fri, 2 Aug 2019 11:36:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 06A001C234; Fri, 2 Aug 2019 11:36:20 +0200 (CEST) Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by dpdk.org (Postfix) with ESMTP id 78DE91C234 for ; Fri, 2 Aug 2019 11:36:18 +0200 (CEST) Received: by mail-pf1-f193.google.com with SMTP id m30so35757895pff.8 for ; Fri, 02 Aug 2019 02:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=f8aQUgRSOVgitgPDwEzq5BRamS8Ur0l0wI51cpRzm7A=; b=f9egwCmolt1fnfpNy1SKU/K+YEI75g7LSnJTFNJ44XNLIHPdb9eqPGu8BZjAjhJe1P jJqHXaQjScKhyTe67WciT1WV90sGFdWubAKCnUaPYNpcy9T8kTn7yjd3nWsYqwe2Y3pU LOGWVnfkeitOKLU5KU4Ki0hmXtV4XrSFSlmpFhSFaGj4ioCTeopZlTIscw8C1E41xVYY kngMV6NTvX37zR6JIdxR0RVl0GxMx5clDtXLQ9DXbVdb8JYVMnO8rTJGN08ItCQxQDAe fgS1Jfp6P4ZcjJ0wL34zIapYGpi+tMX/hyrTu7Q+qOpRaA6uwHAw5wIHeHykCj70AlWJ 42Eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=f8aQUgRSOVgitgPDwEzq5BRamS8Ur0l0wI51cpRzm7A=; b=Kl73w4VzsCxdecQiUpyOEVgQ/Tnd3XpSxRJq+YwzvCdae1c30NorLyCtzfMHwHcWjy MvBvDrmvJKopJGwRzS/2loACGmwP4dlXoIx05JSQkStZuGurm9JAM0Ts3sYsP5TlaTYK 5lkBCXtwxUrQlDuBov0WRB/dMA1pklADWm1r+ytNtbur+H6CFL0uESV3LVMAkh85NtZK jNbaYu1m/KjZy6K6/fSHZY2uHVEvEwINacv6HIOkRch2MOfu2yCAwf/zgA1AWeufiFYX qwuJYhz8KjhwziGTppTcmT56h03k4jVhS0blGNBOh2O67vB+wy+QOSaaYueXotfjewgO o5UQ== X-Gm-Message-State: APjAAAU2RZjU1Xif1ABCoYXq0REekRHLPo4EL3hiUrilWn3f4zDMQWJT zQvQPOdfcBcnrXLBM3ZGHyIzYOhr X-Google-Smtp-Source: APXvYqwRgJ+JIrPONKiljUhjC2pcQeb7zjLhfEJHLRn/U99SH96h5Xe5joI7ANReDQtrPiJOTOONpA== X-Received: by 2002:a63:2b84:: with SMTP id r126mr80594993pgr.308.1564738577606; Fri, 02 Aug 2019 02:36:17 -0700 (PDT) Received: from localhost.localdomain ([2400:4050:c8c2:de00:9c1a:eba9:3129:63d2]) by smtp.gmail.com with ESMTPSA id l31sm116284223pgm.63.2019.08.02.02.36.16 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 02 Aug 2019 02:36:17 -0700 (PDT) From: Yasufumi Ogawa To: spp@dpdk.org, ferruh.yigit@intel.com, yasufum.o@gmail.com Date: Fri, 2 Aug 2019 18:36:13 +0900 Message-Id: <20190802093613.14107-1-yasufum.o@gmail.com> X-Mailer: git-send-email 2.17.1 Subject: [spp] [PATCH] spp_vf: remove spp_vf.h X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spp-bounces@dpdk.org Sender: "spp" 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 --- 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 #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 #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 #include -#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