Soft Patch Panel
 help / color / Atom feed
* [spp] [PATCH 0/2] Remove unit test
@ 2019-09-10 11:20 yasufum.o
  2019-09-10 11:20 ` [spp] [PATCH 1/2] spp_mirror: remove unit test section yasufum.o
  2019-09-10 11:20 ` [spp] [PATCH 2/2] spp_vf: " yasufum.o
  0 siblings, 2 replies; 3+ messages in thread
From: yasufum.o @ 2019-09-10 11:20 UTC (permalink / raw)
  To: spp, ferruh.yigit, yasufum.o

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

Spp_vf and spp_mirror support unit test which was used before release
these features. However, this unit test is not used anymore and should
be removed.

Yasufumi Ogawa (2):
  spp_mirror: remove unit test section
  spp_vf: remove unit test section

 src/mirror/spp_mirror.c | 5 -----
 src/vf/spp_vf.c         | 5 -----
 2 files changed, 10 deletions(-)

-- 
2.17.1


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

* [spp] [PATCH 1/2] spp_mirror: remove unit test section
  2019-09-10 11:20 [spp] [PATCH 0/2] Remove unit test yasufum.o
@ 2019-09-10 11:20 ` yasufum.o
  2019-09-10 11:20 ` [spp] [PATCH 2/2] spp_vf: " yasufum.o
  1 sibling, 0 replies; 3+ messages in thread
From: yasufum.o @ 2019-09-10 11:20 UTC (permalink / raw)
  To: spp, ferruh.yigit, yasufum.o

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

Spp_mirror supports unit test which was used before released, but nouse
anymore. This update is to remove the feature.

Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
---
 src/mirror/spp_mirror.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/mirror/spp_mirror.c b/src/mirror/spp_mirror.c
index 835c760..0ace09c 100644
--- a/src/mirror/spp_mirror.c
+++ b/src/mirror/spp_mirror.c
@@ -615,12 +615,7 @@ main(int argc, char *argv[])
 
 		/* Enter loop for accepting commands */
 		int ret_do = 0;
-#ifndef USE_UT_SPP_VF
-		while (likely(g_core_info[master_lcore].status !=
-				SPPWK_LCORE_REQ_STOP)) {
-#else
 		{
-#endif
 			/* Receive command */
 			ret_do = sppwk_run_cmd();
 			if (unlikely(ret_do != SPPWK_RET_OK))
-- 
2.17.1


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

* [spp] [PATCH 2/2] spp_vf: remove unit test section
  2019-09-10 11:20 [spp] [PATCH 0/2] Remove unit test yasufum.o
  2019-09-10 11:20 ` [spp] [PATCH 1/2] spp_mirror: remove unit test section yasufum.o
@ 2019-09-10 11:20 ` " yasufum.o
  1 sibling, 0 replies; 3+ messages in thread
From: yasufum.o @ 2019-09-10 11:20 UTC (permalink / raw)
  To: spp, ferruh.yigit, yasufum.o

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

As spp_mirror, spp_vf supports unit test but nouse anymore.

Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
---
 src/vf/spp_vf.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/vf/spp_vf.c b/src/vf/spp_vf.c
index e56545f..d6e6309 100644
--- a/src/vf/spp_vf.c
+++ b/src/vf/spp_vf.c
@@ -319,12 +319,7 @@ main(int argc, char *argv[])
 		backup_mng_info(&g_backup_info);
 
 		/* Enter loop for accepting commands */
-#ifndef USE_UT_SPP_VF
-		while (likely(g_core_info[master_lcore].status !=
-				SPPWK_LCORE_REQ_STOP)) {
-#else
 		{
-#endif
 			/* Receive command */
 			ret = sppwk_run_cmd();
 			if (unlikely(ret != SPPWK_RET_OK))
-- 
2.17.1


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

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-10 11:20 [spp] [PATCH 0/2] Remove unit test yasufum.o
2019-09-10 11:20 ` [spp] [PATCH 1/2] spp_mirror: remove unit test section yasufum.o
2019-09-10 11:20 ` [spp] [PATCH 2/2] spp_vf: " 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