Currently, we send the first packet of every new connection to userspace to figure out the target IP address of load-balancing.
With this patch, we use the selection method of dp_hash to prevent that situation. Signed-off-by: Gurucharan Shetty <[email protected]> --- ovn/lib/actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ovn/lib/actions.c b/ovn/lib/actions.c index d0d73b6..c987643 100644 --- a/ovn/lib/actions.c +++ b/ovn/lib/actions.c @@ -983,7 +983,7 @@ encode_CT_LB(const struct ovnact_ct_lb *cl, : MFF_LOG_DNAT_ZONE - MFF_REG0; struct ds ds = DS_EMPTY_INITIALIZER; - ds_put_format(&ds, "type=select"); + ds_put_format(&ds, "type=select,selection_method=dp_hash"); BUILD_ASSERT(MFF_LOG_CT_ZONE >= MFF_REG0); BUILD_ASSERT(MFF_LOG_CT_ZONE < MFF_REG0 + FLOW_N_REGS); -- 1.9.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
