Soft Patch Panel
 help / color / mirror / Atom feed
* [spp] [PATCH 0/5] Revising logs and comments in shared
@ 2019-06-24  2:23 yasufum.o
  2019-06-24  2:23 ` [spp] [PATCH 1/5] shared/sec: revise comments in cmd_utils.h yasufum.o
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: yasufum.o @ 2019-06-24  2:23 UTC (permalink / raw)
  To: spp, ferruh.yigit, yasufum.o

From: Yasufumi Ogawa <yasufum.o@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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-06-24  2:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-24  2:23 [spp] [PATCH 0/5] Revising logs and comments in shared yasufum.o
2019-06-24  2:23 ` [spp] [PATCH 1/5] shared/sec: revise comments in cmd_utils.h yasufum.o
2019-06-24  2:23 ` [spp] [PATCH 2/5] shared/sec: rename funcs start with dump yasufum.o
2019-06-24  2:23 ` [spp] [PATCH 3/5] shared/sec: revise member of struct for interface yasufum.o
2019-06-24  2:23 ` [spp] [PATCH 4/5] shared/sec: rename defines for length of str yasufum.o
2019-06-24  2:23 ` [spp] [PATCH 5/5] shared/sec: add prefix to defines of worker types yasufum.o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).