[ovs-git] Open vSwitch: bfd: Optimize BFD for Megaflows. (branch-1.12)

dev at openvswitch.org dev at openvswitch.org
Mon Aug 5 20:21:42 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, branch-1.12 has been updated
       via  30bbc5045f274fbde8b5c39d573ae2bac6d26ba6 (commit)
      from  55e3710d021f1baa159e44debf5955bb0a223fe7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 30bbc5045f274fbde8b5c39d573ae2bac6d26ba6
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=30bbc5045f274fbde8b5c39d573ae2bac6d26ba6
Author: Gurucharan Shetty <gshetty at nicira.com>
		
bfd: Optimize BFD for Megaflows.
		
The current situation is that whenever any packet enters the
userspace, bfd_should_process_flow() looks at the UDP destination
port to figure out whether that is a BFD packet. This means that
UDP destination port cannot be wildcarded for all the other flows
too.

To optimize BFD for megaflows, we introduce a new
'bfd:bfd_dst_mac' field in the database. Whenever this field is set
by a controller, it is assumed that all the BFD packets to/from
this interface will have the destination mac address set as the one
specified in the bfd:bfd_dst_mac field. If this field is set, we
first look at the destination mac address of a packet and if it
does not match the mac address set in bfd:bfd_dst_mac, we do not
process that packet as bfd. If the field does match, we go ahead
and look at the UDP destination port too.

Also, change the default BFD destination mac address to
"00:23:20:00:00:01".

Feature #18850.
Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 lib/bfd.c            |   25 +++++++++++++++++++++++--
 lib/packets.h        |    3 +++
 vswitchd/vswitch.xml |    9 +++++++++
 3 files changed, 35 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list