git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
app/testpmd: add async flow create/destroy operations
[dpdk.git]
/
app
/
test
/
test_lpm_perf.c
diff --git
a/app/test/test_lpm_perf.c
b/app/test/test_lpm_perf.c
index
2bed00d
..
e858716
100644
(file)
--- a/
app/test/test_lpm_perf.c
+++ b/
app/test/test_lpm_perf.c
@@
-3,6
+3,17
@@
* Copyright(c) 2020 Arm Limited
*/
* Copyright(c) 2020 Arm Limited
*/
+#include "test.h"
+
+#ifdef RTE_EXEC_ENV_WINDOWS
+static int
+test_lpm_perf(void)
+{
+ printf("lpm_perf not supported on Windows, skipping test\n");
+ return TEST_SKIPPED;
+}
+
+#else
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
@@
-15,7
+26,6
@@
#include <rte_ip.h>
#include <rte_lpm.h>
#include <rte_ip.h>
#include <rte_lpm.h>
-#include "test.h"
#include "test_xmmt_ops.h"
struct rte_lpm *lpm;
#include "test_xmmt_ops.h"
struct rte_lpm *lpm;
@@
-763,4
+773,6
@@
test_lpm_perf(void)
return 0;
}
return 0;
}
+#endif /* !RTE_EXEC_ENV_WINDOWS */
+
REGISTER_TEST_COMMAND(lpm_perf_autotest, test_lpm_perf);
REGISTER_TEST_COMMAND(lpm_perf_autotest, test_lpm_perf);