[ovs-dev] [PATCH v5 5/5] [RFC] lflow: Disable egress table optimization.

Ben Pfaff blp at ovn.org
Sat Feb 20 00:40:19 UTC 2016


I don't understand why, but without this change, the test in the previous
commit does not pass.

Signed-off-by: Ben Pfaff <blp at ovn.org>
---
 ovn/controller/lflow.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ovn/controller/lflow.c b/ovn/controller/lflow.c
index f16c5c9..a18c760 100644
--- a/ovn/controller/lflow.c
+++ b/ovn/controller/lflow.c
@@ -209,7 +209,7 @@ add_logical_flows(struct controller_ctx *ctx, const struct lport_index *lports,
         if (!ldp) {
             continue;
         }
-        if (!ingress && is_switch(ldp)) {
+        if (0 && !ingress && is_switch(ldp)) {
             /* For a logical switch datapath, local_datapaths tells us if there
              * are any local ports for this datapath.  If not, processing
              * logical flows for the egress pipeline of this datapath is
-- 
2.1.3




More information about the dev mailing list