The subtable signatures being specialized here were found in an NVGRE
tunnel scenario.

Signed-off-by: Cian Ferriter <cian.ferri...@intel.com>

---

v2:
* Improve commit title.
---
 lib/dpif-netdev-lookup-avx512-gather.c | 4 ++++
 lib/dpif-netdev-lookup-generic.c       | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/lib/dpif-netdev-lookup-avx512-gather.c 
b/lib/dpif-netdev-lookup-avx512-gather.c
index 7d3d81151..b916b2487 100644
--- a/lib/dpif-netdev-lookup-avx512-gather.c
+++ b/lib/dpif-netdev-lookup-avx512-gather.c
@@ -380,7 +380,9 @@ avx512_lookup_impl(struct dpcls_subtable *subtable,
 
 DECLARE_OPTIMIZED_LOOKUP_FUNCTION(9, 4)
 DECLARE_OPTIMIZED_LOOKUP_FUNCTION(9, 1)
+DECLARE_OPTIMIZED_LOOKUP_FUNCTION(8, 1)
 DECLARE_OPTIMIZED_LOOKUP_FUNCTION(5, 3)
+DECLARE_OPTIMIZED_LOOKUP_FUNCTION(5, 2)
 DECLARE_OPTIMIZED_LOOKUP_FUNCTION(5, 1)
 DECLARE_OPTIMIZED_LOOKUP_FUNCTION(4, 1)
 DECLARE_OPTIMIZED_LOOKUP_FUNCTION(4, 0)
@@ -419,7 +421,9 @@ dpcls_subtable_avx512_gather_probe__(uint32_t u0_bits, 
uint32_t u1_bits,
 
     CHECK_LOOKUP_FUNCTION(9, 4, use_vpop);
     CHECK_LOOKUP_FUNCTION(9, 1, use_vpop);
+    CHECK_LOOKUP_FUNCTION(8, 1, use_vpop);
     CHECK_LOOKUP_FUNCTION(5, 3, use_vpop);
+    CHECK_LOOKUP_FUNCTION(5, 2, use_vpop);
     CHECK_LOOKUP_FUNCTION(5, 1, use_vpop);
     CHECK_LOOKUP_FUNCTION(4, 1, use_vpop);
     CHECK_LOOKUP_FUNCTION(4, 0, use_vpop);
diff --git a/lib/dpif-netdev-lookup-generic.c b/lib/dpif-netdev-lookup-generic.c
index 6c74ac3a1..76f92dd5e 100644
--- a/lib/dpif-netdev-lookup-generic.c
+++ b/lib/dpif-netdev-lookup-generic.c
@@ -284,7 +284,9 @@ dpcls_subtable_lookup_generic(struct dpcls_subtable 
*subtable,
 
 DECLARE_OPTIMIZED_LOOKUP_FUNCTION(9, 4)
 DECLARE_OPTIMIZED_LOOKUP_FUNCTION(9, 1)
+DECLARE_OPTIMIZED_LOOKUP_FUNCTION(8, 1)
 DECLARE_OPTIMIZED_LOOKUP_FUNCTION(5, 3)
+DECLARE_OPTIMIZED_LOOKUP_FUNCTION(5, 2)
 DECLARE_OPTIMIZED_LOOKUP_FUNCTION(5, 1)
 DECLARE_OPTIMIZED_LOOKUP_FUNCTION(4, 1)
 DECLARE_OPTIMIZED_LOOKUP_FUNCTION(4, 0)
@@ -308,7 +310,9 @@ dpcls_subtable_generic_probe(uint32_t u0_bits, uint32_t 
u1_bits)
 
     CHECK_LOOKUP_FUNCTION(9, 4);
     CHECK_LOOKUP_FUNCTION(9, 1);
+    CHECK_LOOKUP_FUNCTION(8, 1);
     CHECK_LOOKUP_FUNCTION(5, 3);
+    CHECK_LOOKUP_FUNCTION(5, 2);
     CHECK_LOOKUP_FUNCTION(5, 1);
     CHECK_LOOKUP_FUNCTION(4, 1);
     CHECK_LOOKUP_FUNCTION(4, 0);
-- 
2.25.1

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to