[spp] [PATCH 0/9] Refactor ringlatencystats
yasufum.o at gmail.com
yasufum.o at gmail.com
Thu Sep 12 12:48:15 CEST 2019
From: Yasufumi Ogawa <yasufum.o at gmail.com>
Spp_vf and spp_mirror support a feature for measuring latency of ring
PMD intended to be used by developers to roughly evaluate performance.
It is implemented as a set of utility functions. Howver, usage is not
intuitive for users because the name of functions are redundant,
lackness of comments, or log messages are not clear.
This series of update is to refactor the feature.
Yasufumi Ogawa (9):
shared: rename file ringlatencystats to be short
shared: rename func for calc latency of ring
shared: rename struct for ring latency stats
shared: rename func for init latency stats
shared: renaem util funcs of ring latency
spp_vf: revise util func for status command
spp_mirror: revise util func for status command
spp_pcap: revise util func for status command
shared: add TODO to fix bug in latency stats
src/mirror/Makefile | 6 +-
src/mirror/mir_cmd_runner.c | 23 +++---
src/mirror/spp_mirror.c | 6 +-
src/pcap/Makefile | 2 +-
src/pcap/cmd_runner.c | 12 +--
src/pcap/spp_pcap.c | 2 +-
.../{ringlatencystats.c => latency_stats.c} | 68 ++++++++--------
.../{ringlatencystats.h => latency_stats.h} | 77 +++++++++----------
.../secondary/spp_worker_th/port_capability.c | 7 +-
src/vf/Makefile | 6 +-
src/vf/classifier.c | 2 +-
src/vf/forwarder.c | 2 +-
src/vf/spp_vf.c | 6 +-
src/vf/vf_cmd_runner.c | 23 +++---
14 files changed, 113 insertions(+), 129 deletions(-)
rename src/shared/secondary/spp_worker_th/{ringlatencystats.c => latency_stats.c} (73%)
rename src/shared/secondary/spp_worker_th/{ringlatencystats.h => latency_stats.h} (67%)
--
2.17.1
More information about the spp
mailing list