[spp] [PATCH 1/2] spp_mirror: remove unit test section

yasufum.o at gmail.com yasufum.o at gmail.com
Tue Sep 10 13:20:37 CEST 2019


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



More information about the spp mailing list