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 2F289A0096 for ; Wed, 8 May 2019 04:03:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 26B1D1F28; Wed, 8 May 2019 04:03:55 +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 015941D7 for ; Wed, 8 May 2019 04:03:52 +0200 (CEST) Received: from vc1.ecl.ntt.co.jp (vc1.ecl.ntt.co.jp [129.60.86.153]) by tama500.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id x4823pQx023056; Wed, 8 May 2019 11:03:51 +0900 Received: from vc1.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc1.ecl.ntt.co.jp (Postfix) with ESMTP id DD83DEA7086; Wed, 8 May 2019 11:03:51 +0900 (JST) Received: from localhost.localdomain (lobster.nslab.ecl.ntt.co.jp [129.60.13.95]) by vc1.ecl.ntt.co.jp (Postfix) with ESMTP id CFBAAEA407F; Wed, 8 May 2019 11:03:51 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: spp@dpdk.org, ferruh.yigit@intel.com, ogawa.yasufumi@lab.ntt.co.jp Date: Wed, 8 May 2019 11:01:18 +0900 Message-Id: <1557280895-7978-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-TM-AS-MML: disable Subject: [spp] [PATCH 00/17] Refactor command parser of SPP worker 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 Hi, The name of group of spp_vf siblings is changed to SPP worker for removing ambiguity by which prefix of libs of SPP worker `spp_` is renamed to `sppwk_`. For this update, each of common functions and vars should also be renamed. This series of patches is the first step of the update. * Rename `command_dec.h` to `cmd_parser.h`. * Update all of functions and vars in `cmd_parser.h` to apply with the above changes. Regards, Yasufumi Yasufumi Ogawa (17): shared/sec: change prefix of common functions shared/sec: refactor parse error code shared/sec: revice cmd parser of SPP worker shared/sec: refactor branching for cmd action shared/sec: rename define starts from SPP_CMD_MAX shared/sec: rename define of buffer size for cmds shared/sec: remove unused define of cmd parser shared/sec: refactor commad type of SPP worker shared/sec: change struct of classier table attrs shared/sec: refactor function parsing cls port shared/sec: rename func of flush command shared/sec: change struct of comp command shared/sec: revise port info of SPP worker shared/sec: rename func for getting port ID shared/sec: rename dpdk_port attr shared/sec: rename struct for command request shared/sec: rename func for parsing request src/mirror/spp_mirror.c | 30 +-- .../secondary/spp_worker_th/cmd_parser.h | 157 ++++++++++++ .../secondary/spp_worker_th/command_dec.c | 233 +++++++++--------- .../secondary/spp_worker_th/command_dec.h | 201 --------------- .../secondary/spp_worker_th/command_proc.c | 168 ++++++------- src/shared/secondary/spp_worker_th/spp_port.c | 6 +- src/shared/secondary/spp_worker_th/spp_proc.c | 80 +++--- src/shared/secondary/spp_worker_th/spp_proc.h | 72 +++--- src/vf/classifier_mac.c | 42 ++-- src/vf/spp_forward.c | 26 +- src/vf/spp_vf.c | 2 +- 11 files changed, 487 insertions(+), 530 deletions(-) create mode 100644 src/shared/secondary/spp_worker_th/cmd_parser.h delete mode 100644 src/shared/secondary/spp_worker_th/command_dec.h -- 2.17.1