[spp] [PATCH 0/3] Rename spp_port_rxtx

yasufum.o at gmail.com yasufum.o at gmail.com
Mon Jun 24 10:40:40 CEST 2019


From: Yasufumi Ogawa <yasufum.o at gmail.com>

Enum `spp_port_rxtx` is used as a port attribute to have a direction,
RX or TX. It is not used to have a set of RX and TX, but defines the
direction. So, It is better to be named as `port_dir` or so. This series
of patches is to rename this enum for spp_vf, spp_mirror and spp_pcap.

Yasufumi Ogawa (3):
  shared/sec: revise enum spp_port_rxtx
  shared/sec: rename members of enum sppwk_port_dir
  spp_pcap: revise enum spp_port_rxtx

 src/mirror/mir_cmd_runner.c                   | 24 +++++------
 src/pcap/cmd_runner.c                         |  8 ++--
 src/pcap/cmd_utils.h                          | 17 ++++----
 .../secondary/spp_worker_th/cmd_parser.c      | 18 ++++-----
 .../secondary/spp_worker_th/cmd_parser.h      |  4 +-
 .../spp_worker_th/cmd_res_formatter.c         | 16 ++++----
 .../spp_worker_th/cmd_res_formatter.h         |  6 +--
 .../secondary/spp_worker_th/cmd_utils.c       | 17 ++++----
 .../secondary/spp_worker_th/cmd_utils.h       | 27 ++++++-------
 src/shared/secondary/spp_worker_th/spp_port.c | 40 +++++++++----------
 src/shared/secondary/spp_worker_th/spp_port.h |  4 +-
 src/vf/vf_cmd_runner.c                        | 32 +++++++--------
 12 files changed, 104 insertions(+), 109 deletions(-)

-- 
2.17.1



More information about the spp mailing list