bfd: Implement forwarding_if_rx.
authorAlex Wang <alexw@nicira.com>
Thu, 22 Aug 2013 22:44:23 +0000 (15:44 -0700)
committerEthan Jackson <ethan@nicira.com>
Thu, 22 Aug 2013 22:26:06 +0000 (15:26 -0700)
commit01d18a3affec8249863053b99bc646545ca8171c
tree2fd9a2639402677811f7306a595674fde5293f73
parent0154b18b842527f408997639ea352b83fbb5b5b8
bfd: Implement forwarding_if_rx.

This commit adds a new boolean option "forwarding_if_rx" to bfd.

When forwarding_if_rx is true the interface will be considered
capable of packet I/O as long as there is packet received at
interface.  This is important in that when link becomes temporarily
conjested, consecutive BFD control packets can be lost.  And the
forwarding_if_rx can prevent link failover by detecting non-control
packets received at interface.

Signed-off-by: Alex Wang <alexw@nicira.com>
lib/bfd.c
tests/bfd.at
vswitchd/vswitch.xml