From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 535E6A0096 for ; Fri, 10 May 2019 10:37:49 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BB06B4D27; Fri, 10 May 2019 10:37:48 +0200 (CEST) Received: from tama500.ecl.ntt.co.jp (tama500.ecl.ntt.co.jp [129.60.39.148]) by dpdk.org (Postfix) with ESMTP id EC4514C8F for ; Fri, 10 May 2019 10:37:46 +0200 (CEST) Received: from vc2.ecl.ntt.co.jp (vc2.ecl.ntt.co.jp [129.60.86.154]) by tama500.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id x4A8bjhx012413; Fri, 10 May 2019 17:37:45 +0900 Received: from vc2.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 0E4606385F0; Fri, 10 May 2019 17:37:45 +0900 (JST) Received: from localhost.localdomain (lobster.nslab.ecl.ntt.co.jp [129.60.13.95]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id F419F6385DB; Fri, 10 May 2019 17:37:44 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: spp@dpdk.org, ferruh.yigit@intel.com, ogawa.yasufumi@lab.ntt.co.jp Date: Fri, 10 May 2019 17:35:23 +0900 Message-Id: <1557477327-11611-2-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1557477327-11611-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> References: <1557477327-11611-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> X-TM-AS-MML: disable Subject: [spp] [PATCH 1/5] shared/sec: rename src command_dec to cmd_parser 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" From: Yasufumi Ogawa For refactoring, rename source file `command_dec.c` to `cmd_parser.c` because it defines vars and functions for parsing command, not decoding. Signed-off-by: Yasufumi Ogawa --- src/mirror/Makefile | 2 +- .../secondary/spp_worker_th/{command_dec.c => cmd_parser.c} | 0 src/shared/secondary/spp_worker_th/cmd_parser.h | 2 +- src/vf/Makefile | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename src/shared/secondary/spp_worker_th/{command_dec.c => cmd_parser.c} (100%) diff --git a/src/mirror/Makefile b/src/mirror/Makefile index be58e3a..3104059 100644 --- a/src/mirror/Makefile +++ b/src/mirror/Makefile @@ -20,7 +20,7 @@ SRCS-y += ../shared/secondary/utils.c ../shared/secondary/add_port.c SRCS-y += $(SPP_WKT_DIR)/spp_proc.c SRCS-y += $(SPP_WKT_DIR)/spp_port.c SRCS-y += $(SPP_WKT_DIR)/command_conn.c -SRCS-y += $(SPP_WKT_DIR)/command_dec.c +SRCS-y += $(SPP_WKT_DIR)/cmd_parser.c SRCS-y += $(SPP_WKT_DIR)/command_proc.c SRCS-y += $(SPP_WKT_DIR)/string_buffer.c SRCS-y += $(SPP_WKT_DIR)/ringlatencystats.c diff --git a/src/shared/secondary/spp_worker_th/command_dec.c b/src/shared/secondary/spp_worker_th/cmd_parser.c similarity index 100% rename from src/shared/secondary/spp_worker_th/command_dec.c rename to src/shared/secondary/spp_worker_th/cmd_parser.c diff --git a/src/shared/secondary/spp_worker_th/cmd_parser.h b/src/shared/secondary/spp_worker_th/cmd_parser.h index 785fffe..b03a920 100644 --- a/src/shared/secondary/spp_worker_th/cmd_parser.h +++ b/src/shared/secondary/spp_worker_th/cmd_parser.h @@ -55,7 +55,7 @@ enum sppwk_action { * SPP command type. * * @attention This enumerated type must have the same order of command_list - * defined in command_dec.c + * defined in cmd_parser.c */ /* * TODO(yasufum) consider to divide because each of target of scope is diff --git a/src/vf/Makefile b/src/vf/Makefile index a8b60fb..8c1cb2b 100644 --- a/src/vf/Makefile +++ b/src/vf/Makefile @@ -19,7 +19,7 @@ SRCS-y += $(SPP_WKT_DIR)/string_buffer.c SRCS-y += $(SPP_WKT_DIR)/ringlatencystats.c SRCS-y += $(SPP_WKT_DIR)/spp_port.c SRCS-y += $(SPP_WKT_DIR)/command_conn.c -SRCS-y += $(SPP_WKT_DIR)/command_dec.c +SRCS-y += $(SPP_WKT_DIR)/cmd_parser.c SRCS-y += $(SPP_WKT_DIR)/command_proc.c SRCS-y += $(SPP_WKT_DIR)/spp_proc.c SRCS-y += ../shared/common.c -- 2.17.1