BPF datapath is always exact match.

Signed-off-by: William Tu <[email protected]>
---
 ofproto/ofproto-dpif-upcall.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c
index 4f696fdca7f6..92a55d0b7768 100644
--- a/ofproto/ofproto-dpif-upcall.c
+++ b/ofproto/ofproto-dpif-upcall.c
@@ -388,7 +388,11 @@ static void upcall_uninit(struct upcall *);
 static upcall_callback upcall_cb;
 static dp_purge_callback dp_purge_cb;
 
+#ifdef HAVE_BPF
+static atomic_bool enable_megaflows = ATOMIC_VAR_INIT(false);
+#else
 static atomic_bool enable_megaflows = ATOMIC_VAR_INIT(true);
+#endif
 static atomic_bool enable_ufid = ATOMIC_VAR_INIT(true);
 
 void
-- 
2.7.4


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#1378): https://lists.iovisor.org/g/iovisor-dev/message/1378
Mute This Topic: https://lists.iovisor.org/mt/23475628/21656
Group Owner: [email protected]
Unsubscribe: https://lists.iovisor.org/g/iovisor-dev/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to