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

GitHub noreply at github.com
Wed Oct 3 22:26:58 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 2ccd0d2f0b63052408b5500e22c5254e8374e996
      https://github.com/openvswitch/ovs/commit/2ccd0d2f0b63052408b5500e22c5254e8374e996
  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