cfm: Extracts the cfm status in one function.
authorAlex Wang <alexw@nicira.com>
Tue, 10 Jun 2014 01:35:35 +0000 (18:35 -0700)
committerAlex Wang <alexw@nicira.com>
Sat, 14 Jun 2014 00:47:32 +0000 (17:47 -0700)
commit685acfd9ff6679a0c6b4f3a53db6b633cf40472d
tree18e96dc36d6323cc0da0896f25354974d6abad37
parentd8043da7182aa0700e8e85a7c53929f3be054ef9
cfm: Extracts the cfm status in one function.

This commit adds a new function, cfm_get_status(), for extracting
all cfm status at once.  This helps avoid the sequence of lock
acquire/release in current implementation of status query.

Signed-off-by: Alex Wang <alexw@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/cfm.c
lib/cfm.h
ofproto/ofproto-dpif.c
ofproto/ofproto-provider.h
ofproto/ofproto.c
ofproto/ofproto.h
vswitchd/bridge.c