[ovs-git] [openvswitch/ovs] 9cd094: bfd: Make the tp_dst masking megaflow-friendly.

GitHub noreply at github.com
Thu Oct 4 01:27:52 UTC 2018


  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: 9cd0941d565223f5be81b78063b746383bd9d161
      https://github.com/openvswitch/ovs/commit/9cd0941d565223f5be81b78063b746383bd9d161
  Author: Han Zhou <hzhou8 at ebay.com>
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
    M lib/bfd.c
    M lib/flow.h

  Log Message:
  -----------
  bfd: Make the tp_dst masking megaflow-friendly.

When there are tunnel ports with BFD enabled, all UDP flows will have
dst port as match condition in datapath, which causes unnecessarily
high flow miss for all UDP traffic, and results in latency increase.

This patch solves the problem by masking tp_dst only for a single
bit that is enough to tell the mismatch when it is not BFD traffic.

Reported-at: https://mail.openvswitch.org/pipermail/ovs-discuss/2018-September/047360.html
Signed-off-by: Han Zhou <hzhou8 at ebay.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list