[PATCH 2/2] test/cpuflags: remove RTE_CPUFLAG_NUMFLAGS
Sivaprasad Tummala
sivaprasad.tummala at amd.com
Wed Aug 2 23:11:50 CEST 2023
This patch removes RTE_CPUFLAG_NUMFLAGS to allow new CPU
features without breaking ABI each time.
Signed-off-by: Sivaprasad Tummala <sivaprasad.tummala at amd.com>
---
app/test/test_cpuflags.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/app/test/test_cpuflags.c b/app/test/test_cpuflags.c
index a0e342ae48..2b8563602c 100644
--- a/app/test/test_cpuflags.c
+++ b/app/test/test_cpuflags.c
@@ -322,15 +322,6 @@ test_cpuflags(void)
CHECK_FOR_FLAG(RTE_CPUFLAG_LBT_MIPS);
#endif
- /*
- * Check if invalid data is handled properly
- */
- printf("\nCheck for invalid flag:\t");
- result = rte_cpu_get_flag_enabled(RTE_CPUFLAG_NUMFLAGS);
- printf("%s\n", cpu_flag_result(result));
- if (result != -ENOENT)
- return -1;
-
return 0;
}
--
2.34.1
More information about the dev
mailing list