diff options
author | Harry van Haaren <harry.van.haaren@intel.com> | 2020-07-13 13:42:10 +0100 |
---|---|---|
committer | Ian Stokes <ian.stokes@intel.com> | 2020-07-13 14:54:08 +0100 |
commit | e90e115a01afe7001863582b65fdaa278794e610 (patch) | |
tree | f357e7ab391ecd8cae3f3ec1140b03faaab4e351 /lib/automake.mk | |
parent | fa31efd211143f1adb06a62faad803a5aca1e400 (diff) | |
download | openvswitch-e90e115a01afe7001863582b65fdaa278794e610.tar.gz |
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 <harry.van.haaren@intel.com>
Acked-by: William Tu <u9012063@gmail.com>
Signed-off-by: Ian Stokes <ian.stokes@intel.com>
Diffstat (limited to 'lib/automake.mk')
-rw-r--r-- | lib/automake.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/automake.mk b/lib/automake.mk index 86940ccd2..1fc1a209e 100644 --- a/lib/automake.mk +++ b/lib/automake.mk @@ -81,6 +81,9 @@ lib_libopenvswitch_la_SOURCES = \ lib/dp-packet.h \ lib/dp-packet.c \ lib/dpdk.h \ + lib/dpif-netdev-lookup.h \ + lib/dpif-netdev-lookup.c \ + lib/dpif-netdev-lookup-autovalidator.c \ lib/dpif-netdev-lookup-generic.c \ lib/dpif-netdev.c \ lib/dpif-netdev.h \ |