BFD: fix timing in the main loop 81/4181/2
authorKlement Sekera <ksekera@cisco.com>
Thu, 8 Dec 2016 09:16:41 +0000 (10:16 +0100)
committerDamjan Marion <dmarion.lists@gmail.com>
Fri, 9 Dec 2016 09:00:26 +0000 (09:00 +0000)
commite4504c6320790bba27fccf3746eb38f75f4d2e95
treee690d99b07e4259e3be22a74662f49f80d4c5397
parent56912c896ae803fad01af390ade921be68ea5ba2
BFD: fix timing in the main loop

Properly wakeup the main process loop only when necessary to avoid
missed events. Improve BFD unit test reliability and speed. Add
timestamps to logs and replace Queue with more efficient deque.

Change-Id: I01255a02057d3146917b43b669ccdc74f31ef0c8
Signed-off-by: Klement Sekera <ksekera@cisco.com>
test/bfd.py
test/framework.py
test/log.py
test/test_bfd.py
test/vpp_papi_provider.py
vnet/vnet/bfd/bfd_debug.h
vnet/vnet/bfd/bfd_main.c
vnet/vnet/bfd/bfd_udp.c