ofproto-dpif-upcall: Do not call dpif_handlers_set() when there is no
authorAlex Wang <alexw@nicira.com>
Fri, 9 May 2014 21:42:30 +0000 (14:42 -0700)
committerAlex Wang <alexw@nicira.com>
Fri, 9 May 2014 21:42:38 +0000 (14:42 -0700)
commit380fffecdfa154cc5c3522d727378c24563d2769
tree7e944aefadaecbc18d3ae384777f13d13cca386e
parentbfe4277e6542c914df51f4c29e0d7bfb82acedc8
ofproto-dpif-upcall: Do not call dpif_handlers_set() when there is no
handler/revalidator configuration change.

dpif_handlers_set(), which dumps all vport from datapath, should not be
called constantly.

Found by inspection.

Signed-off-by: Alex Wang <alexw@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif-upcall.c