[spp] [PATCH 0/5] Revising logs and comments in shared
yasufum.o at gmail.com
yasufum.o at gmail.com
Mon Jun 24 04:23:20 CEST 2019
From: Yasufumi Ogawa <yasufum.o at gmail.com>
This series of patches is to refactor log messages and comments for
code maintenance.
* Rename functions start with `dump_` used for not dumping messages but
logging.
* Revise ambiguous variables start with `num_` used for "Number of" or
exact number. Former one is renamed as starts with `nof_`.
* Revise terms of funcs and vars which are not correct meaning for
usages.
Yasufumi Ogawa (5):
shared/sec: revise comments in cmd_utils.h
shared/sec: rename funcs start with dump
shared/sec: revise member of struct for interface
shared/sec: rename defines for length of str
shared/sec: add prefix to defines of worker types
src/mirror/spp_mirror.c | 6 +-
.../secondary/spp_worker_th/cmd_parser.c | 4 +-
.../secondary/spp_worker_th/cmd_runner.c | 11 +-
.../secondary/spp_worker_th/cmd_utils.c | 88 ++---
.../secondary/spp_worker_th/cmd_utils.h | 352 +++++++-----------
src/shared/secondary/spp_worker_th/vf_deps.h | 15 +-
src/vf/classifier_mac.c | 18 +-
src/vf/spp_forward.c | 8 +-
8 files changed, 196 insertions(+), 306 deletions(-)
--
2.17.1
More information about the spp
mailing list