datapath: Move flow allocation into a function.
authorJesse Gross <jesse@nicira.com>
Tue, 27 Jul 2010 01:46:27 +0000 (18:46 -0700)
committerJesse Gross <jesse@nicira.com>
Wed, 22 Sep 2010 20:43:01 +0000 (13:43 -0700)
commit560e802229f3028c02273435dd1c6efba33e0949
tree13131a209f733d78d553e4838d90aba768872f4f
parent02892690e6866781a0a6c84e25a2c1d277822788
datapath: Move flow allocation into a function.

As the process to allocate a flow becomes more involved it becomes
more cumbersome for the code to be mixed in with the general
datapath so split it out into a new function.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Reviewed-by: Ben Pfaff <blp@nicira.com>
datapath/datapath.c
datapath/flow.c
datapath/flow.h