From e90e115a01afe7001863582b65fdaa278794e610 Mon Sep 17 00:00:00 2001 From: Harry van Haaren Date: Mon, 13 Jul 2020 13:42:10 +0100 Subject: dpif-netdev: implement subtable lookup validation. This commit refactors the existing dpif subtable function pointer infrastructure, and implements an autovalidator component. The refactoring of the existing dpcls subtable lookup function handling, making it more generic, and cleaning up how to enable more implementations in future. In order to ensure all implementations provide identical results, the autovalidator is added. The autovalidator itself implements the subtable lookup function prototype, but internally iterates over all other available implementations. The end result is that testing of each implementation becomes automatic, when the auto- validator implementation is selected. Signed-off-by: Harry van Haaren Acked-by: William Tu Signed-off-by: Ian Stokes --- configure.ac | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 5ce510c20..4a6995ea8 100644 --- a/configure.ac +++ b/configure.ac @@ -181,6 +181,7 @@ OVS_CONDITIONAL_CC_OPTION([-Wno-unused-parameter], [HAVE_WNO_UNUSED_PARAMETER]) OVS_ENABLE_WERROR OVS_ENABLE_SPARSE OVS_CTAGS_IDENTIFIERS +OVS_CHECK_DPCLS_AUTOVALIDATOR AC_ARG_VAR(KARCH, [Kernel Architecture String]) AC_SUBST(KARCH) -- cgit v1.2.1