bfd: Implement BFD decay.
authorAlex Wang <alexw@nicira.com>
Tue, 20 Aug 2013 23:41:05 +0000 (23:41 +0000)
committerEthan Jackson <ethan@nicira.com>
Tue, 20 Aug 2013 21:00:45 +0000 (14:00 -0700)
commitc1c4e8c76912a597a6ad964f7b80fc9f63caa7f3
tree56e996658b1332d11fa94513b3b02e50b4f5ef23
parent857165b5fd264ccfcd89462259e917da20071a0a
bfd: Implement BFD decay.

When there is no incoming data traffic at the interface for a period,
BFD decay allows the bfd session to increase the min_rx. This is
helpful in that some interfaces may usually be idle for a long time.
And cpu consumption can be reduced by processing fewer bfd control
packets.

Signed-off-by: Alex Wang <alexw@nicira.com>
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
lib/bfd.c
lib/bfd.h
ofproto/ofproto-dpif.c
tests/bfd.at
vswitchd/vswitch.xml