[spp] [PATCH 00/11] Refactor functions for handling commands

ogawa.yasufumi at lab.ntt.co.jp ogawa.yasufumi at lab.ntt.co.jp
Fri May 31 05:35:54 CEST 2019


From: Yasufumi Ogawa <ogawa.yasufumi at lab.ntt.co.jp>

Some of function in SPP workers such as parsing command or checking
params for are named or have comments inappropriately. This series of
update is to refactor this issues.

Yasufumi Ogawa (11):
  shared/sec: rename functions of sppwk_cmd_runner
  shared/sec: revise enum for cmd response
  shared/sec: refactor passing err in cmd_runner
  shared/sec: rename struct for command response
  shared/sec: refactor funcs for managing port info
  shared/sec: rename util functions in cmd_runner
  shared/sec: rename func for getting component ID
  shared/sec: refactor func for updating cls table
  shared/sec: rename func for executing command
  shared/sec: add helpers for logging cmd parser
  shared/sec: rename func for updating port

 src/mirror/spp_mirror.c                       |   4 +-
 .../secondary/spp_worker_th/cmd_parser.c      |  52 ++-
 .../secondary/spp_worker_th/cmd_parser.h      |   4 +
 .../secondary/spp_worker_th/cmd_runner.c      | 408 ++++++++----------
 .../secondary/spp_worker_th/cmd_runner.h      |  32 +-
 src/shared/secondary/spp_worker_th/spp_proc.c |  76 ++--
 src/shared/secondary/spp_worker_th/spp_proc.h |  53 +--
 src/vf/spp_vf.c                               |   4 +-
 8 files changed, 319 insertions(+), 314 deletions(-)

-- 
2.17.1



More information about the spp mailing list