ofproto-dpif: Handle learn action flow mods asynchronously.
authorEthan Jackson <ethan@nicira.com>
Fri, 12 Jul 2013 00:17:00 +0000 (17:17 -0700)
committerEthan Jackson <ethan@nicira.com>
Sat, 3 Aug 2013 01:27:23 +0000 (18:27 -0700)
commit3d9c5e58759d8da79b1d6c670f77e95ee2ad92f7
tree3567a9f77019962f93b05500a53b0f2886fd1852
parent55954f6e14ecdbd972294a4a8ed9f6f01cbffa9c
ofproto-dpif: Handle learn action flow mods asynchronously.

Once we have multiple threads running, having each execute flow mods
created by the learn action won't be tenable.  It essentially will
require us to make the core ofproto module thread safe, which is not
the direction we want to go.  This patch punts on the problem by
handing flow mods to ofproto-dpif to handle later.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/ofp-util.h
ofproto/ofproto-dpif-xlate.c
ofproto/ofproto-dpif.c
ofproto/ofproto-dpif.h