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 41026A045E for ; Fri, 31 May 2019 05:39:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 389201C0B; Fri, 31 May 2019 05:39:34 +0200 (CEST) Received: from tama50.ecl.ntt.co.jp (tama50.ecl.ntt.co.jp [129.60.39.147]) by dpdk.org (Postfix) with ESMTP id 5983C1C0B for ; Fri, 31 May 2019 05:39:32 +0200 (CEST) Received: from vc2.ecl.ntt.co.jp (vc2.ecl.ntt.co.jp [129.60.86.154]) by tama50.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id x4V3dVoh023677; Fri, 31 May 2019 12:39:31 +0900 Received: from vc2.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 4319C6395DB; Fri, 31 May 2019 12:39:31 +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 353346395D7; Fri, 31 May 2019 12:39:31 +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, 31 May 2019 12:36:53 +0900 Message-Id: <1559273819-26243-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.7.4 X-TM-AS-MML: disable Subject: [spp] [PATCH 0/6] Refactor functions for manipulating thread info 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 This series of update is to refactor functions for manipulating info of worker thread previously called as component. Yasufumi Ogawa (6): shared/sec: refactor func for deleting comp info shared/sec: revise types of spp worker shared/sec: rename funcs of flush cmd shared/sec: rename file spp_proc to cmd_utils shared/sec: refactor name of funcs for exec cmd shared/sec: rename struct spp_command src/mirror/Makefile | 2 +- src/mirror/spp_mirror.c | 51 +++--- src/pcap/Makefile | 2 +- src/pcap/{spp_proc.c => cmd_utils.c} | 2 +- src/pcap/{spp_proc.h => cmd_utils.h} | 6 +- src/pcap/command_dec.h | 2 +- src/pcap/command_proc.h | 2 +- src/pcap/spp_pcap.c | 2 +- src/pcap/spp_pcap.h | 2 +- .../secondary/spp_worker_th/cmd_parser.c | 63 +++---- .../secondary/spp_worker_th/cmd_parser.h | 12 +- .../secondary/spp_worker_th/cmd_runner.c | 159 +++++++++--------- .../secondary/spp_worker_th/cmd_runner.h | 10 +- .../spp_worker_th/{spp_proc.c => cmd_utils.c} | 87 +++++----- .../spp_worker_th/{spp_proc.h => cmd_utils.h} | 70 ++++---- .../secondary/spp_worker_th/command_conn.h | 2 +- .../secondary/spp_worker_th/mirror_deps.h | 2 +- .../spp_worker_th/ringlatencystats.c | 2 +- src/shared/secondary/spp_worker_th/spp_port.h | 8 +- src/shared/secondary/spp_worker_th/vf_deps.h | 8 +- src/vf/Makefile | 2 +- src/vf/classifier_mac.c | 2 +- src/vf/spp_forward.c | 23 ++- src/vf/spp_vf.c | 6 +- 24 files changed, 263 insertions(+), 264 deletions(-) rename src/pcap/{spp_proc.c => cmd_utils.c} (99%) rename src/pcap/{spp_proc.h => cmd_utils.h} (99%) rename src/shared/secondary/spp_worker_th/{spp_proc.c => cmd_utils.c} (94%) rename src/shared/secondary/spp_worker_th/{spp_proc.h => cmd_utils.h} (92%) -- 2.17.1