Soft Patch Panel
 help / color / Atom feed
* [spp] [PATCH 0/9] Refactor ringlatencystats
@ 2019-09-12 10:48 yasufum.o
  2019-09-12 10:48 ` [spp] [PATCH 1/9] shared: rename file ringlatencystats to be short yasufum.o
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: yasufum.o @ 2019-09-12 10:48 UTC (permalink / raw)
  To: spp, ferruh.yigit, yasufum.o

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


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

end of thread, back to index

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-12 10:48 [spp] [PATCH 0/9] Refactor ringlatencystats yasufum.o
2019-09-12 10:48 ` [spp] [PATCH 1/9] shared: rename file ringlatencystats to be short yasufum.o
2019-09-12 10:48 ` [spp] [PATCH 2/9] shared: rename func for calc latency of ring yasufum.o
2019-09-12 10:48 ` [spp] [PATCH 3/9] shared: rename struct for ring latency stats yasufum.o
2019-09-12 10:48 ` [spp] [PATCH 4/9] shared: rename func for init " yasufum.o
2019-09-12 10:48 ` [spp] [PATCH 5/9] shared: renaem util funcs of ring latency yasufum.o
2019-09-12 10:48 ` [spp] [PATCH 6/9] spp_vf: revise util func for status command yasufum.o
2019-09-12 10:48 ` [spp] [PATCH 7/9] spp_mirror: " yasufum.o
2019-09-12 10:48 ` [spp] [PATCH 8/9] spp_pcap: " yasufum.o
2019-09-12 10:48 ` [spp] [PATCH 9/9] shared: add TODO to fix bug in latency stats yasufum.o

Soft Patch Panel

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/spp/0 spp/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 spp spp/ http://inbox.dpdk.org/spp \
		spp@dpdk.org
	public-inbox-index spp


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.spp


AGPL code for this site: git clone https://public-inbox.org/ public-inbox