summaryrefslogtreecommitdiff
path: root/tests/test-ovn.c
diff options
context:
space:
mode:
authorMickey Spiegel <mickeys.dev@gmail.com>2017-05-16 23:04:56 -0700
committerBen Pfaff <blp@ovn.org>2017-05-30 10:57:16 -0700
commit00c875d0d315fa9fddfd5bae6ad92b08e67f2e7d (patch)
tree90232a2f2201434ab1023cc57dbd52b3a5d208aa /tests/test-ovn.c
parent6ecf961e7ce82a932c9665d401c0ac636e73f33b (diff)
downloadopenvswitch-00c875d0d315fa9fddfd5bae6ad92b08e67f2e7d.tar.gz
ovn: Increase logical pipeline length from 16 to 24 stages.
The OVN ingress pipeline for a logical switch is maxed out at 16 stages. This patch takes the simple approach of starting the ingress pipeline at table 8 rather than table 16, and starting the egress pipeline at table 40 rather than table 48. Signed-off-by: Mickey Spiegel <mickeys.dev@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests/test-ovn.c')
-rw-r--r--tests/test-ovn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-ovn.c b/tests/test-ovn.c
index 18860aeee..32efac478 100644
--- a/tests/test-ovn.c
+++ b/tests/test-ovn.c
@@ -1224,7 +1224,7 @@ test_parse_actions(struct ovs_cmdl_context *ctx OVS_UNUSED)
.symtab = &symtab,
.dhcp_opts = &dhcp_opts,
.dhcpv6_opts = &dhcpv6_opts,
- .n_tables = 16,
+ .n_tables = 24,
.cur_ltable = 10,
};
error = ovnacts_parse_string(ds_cstr(&input), &pp, &ovnacts, &prereqs);
@@ -1245,8 +1245,8 @@ test_parse_actions(struct ovs_cmdl_context *ctx OVS_UNUSED)
.group_table = &group_table,
.pipeline = OVNACT_P_INGRESS,
- .ingress_ptable = 16,
- .egress_ptable = 48,
+ .ingress_ptable = 8,
+ .egress_ptable = 40,
.output_ptable = 64,
.mac_bind_ptable = 65,
};