upcall: Revalidate using cache of mask, actions.
authorJoe Stringer <joestringer@nicira.com>
Wed, 6 Aug 2014 04:40:37 +0000 (16:40 +1200)
committerJoe Stringer <joestringer@nicira.com>
Tue, 25 Nov 2014 22:12:24 +0000 (14:12 -0800)
commitbc2df54d2a41a1584fe2ae7a9bcfcc2ee7ccac57
treeba86322b96377280b1e1aba9b08f279898a2d849
parent23597df052262dec961fd86eb7c54d10984a1ec0
upcall: Revalidate using cache of mask, actions.

This allows us to ignore most fields of a flow_dump, requiring only the
flow key for looking up the ukey. Fetching flows can also be avoided in
the corner case where a flow is missed from a dump but revalidation is
required.

A future patch will modify the datapath interface to allow datapaths to
skip dumping these fields, so this cache will be used instead.

Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif-upcall.c