From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail04.ics.ntt-tx.co.jp (mail05.ics.ntt-tx.co.jp [210.232.35.69]) by dpdk.org (Postfix) with ESMTP id E0D652B9A for ; Thu, 28 Dec 2017 05:56:13 +0100 (CET) Received: from gwchk03.silk.ntt-tx.co.jp (gwchk03.silk.ntt-tx.co.jp [10.107.0.111]) by mail04.ics.ntt-tx.co.jp (unknown) with ESMTP id vBS4uCgN025265 for unknown; Thu, 28 Dec 2017 13:56:12 +0900 Received: (from root@localhost) by gwchk03.silk.ntt-tx.co.jp (unknown) id vBS4u8FY027394 for unknown; Thu, 28 Dec 2017 13:56:08 +0900 Received: from gwchk.silk.ntt-tx.co.jp [10.107.0.110] by gwchk03.silk.ntt-tx.co.jp with ESMTP id PAA27381; Thu, 28 Dec 2017 13:56:08 +0900 Received: from imss03.silk.ntt-tx.co.jp (localhost [127.0.0.1]) by imss03.silk.ntt-tx.co.jp (unknown) with ESMTP id vBS4u7gc011126 for unknown; Thu, 28 Dec 2017 13:56:07 +0900 Received: from mgate01.silk.ntt-tx.co.jp (smtp02.silk.ntt-tx.co.jp [10.107.0.37]) by imss03.silk.ntt-tx.co.jp (unknown) with ESMTP id vBS4u7c3011099 for unknown; Thu, 28 Dec 2017 13:56:07 +0900 Message-Id: <201712280456.vBS4u7c3011099@imss03.silk.ntt-tx.co.jp> Received: from localhost by mgate01.silk.ntt-tx.co.jp (unknown) id vBS4u4bF025622 ; Thu, 28 Dec 2017 13:56:07 +0900 From: x-fn-spp@sl.ntt-tx.co.jp To: spp@dpdk.org Date: Thu, 28 Dec 2017 13:55:48 +0900 X-Mailer: git-send-email 1.9.1 In-Reply-To: <4aae78ff-3b6c-cdfe-a8b7-24ec08b73935@lab.ntt.co.jp> References: <4aae78ff-3b6c-cdfe-a8b7-24ec08b73935@lab.ntt.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-TM-AS-MML: No Subject: [spp] [PATCH 41/57] spp_vf: change function names 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: , X-List-Received-Date: Thu, 28 Dec 2017 04:56:16 -0000 From: Hiroyuki Nakamura Change function name in program files according to the change of the function name from "spp_config_format_if_info" to "spp_config_format_port_string" Signed-off-by: Daiki Yamashita Signed-off-by: Yasufum Ogawa --- src/vf/command_proc.c | 2 +- src/vf/spp_config.c | 2 +- src/vf/spp_config.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vf/command_proc.c b/src/vf/command_proc.c index a627277..fe18e22 100644 --- a/src/vf/command_proc.c +++ b/src/vf/command_proc.c @@ -235,7 +235,7 @@ int append_classifier_element_value( json_t *parent_obj = (json_t *)opaque; char port_str[64]; - spp_config_format_if_info(port_str, port->if_type, port->if_no); + spp_config_format_port_string(port_str, port->if_type, port->if_no); json_array_append_new(parent_obj, json_pack( "{ssssss}", diff --git a/src/vf/spp_config.c b/src/vf/spp_config.c index 01f279a..27bce8f 100644 --- a/src/vf/spp_config.c +++ b/src/vf/spp_config.c @@ -200,7 +200,7 @@ spp_config_get_if_info(const char *port, enum port_type *if_type, int *if_no) /* * IF種別とIF番号からIF情報文字列を作成する */ -int spp_config_format_if_info(char *port, enum port_type if_type, int if_no) +int spp_config_format_port_string(char *port, enum port_type if_type, int if_no) { const char* if_type_str; diff --git a/src/vf/spp_config.h b/src/vf/spp_config.h index a9bcb85..7a8bdf6 100644 --- a/src/vf/spp_config.h +++ b/src/vf/spp_config.h @@ -114,7 +114,7 @@ int spp_config_get_if_info(const char *port, enum port_type *if_type, int *if_no * OK : 0 * NG : -1 */ -int spp_config_format_if_info(char *port, enum port_type if_type, int if_no); +int spp_config_format_port_string(char *port, enum port_type if_type, int if_no); /* * Load config file -- 1.9.1