datapath: Make every packet passing through the datapath have an sw_flow.
authorBen Pfaff <blp@nicira.com>
Thu, 28 Apr 2011 23:54:07 +0000 (16:54 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 29 Apr 2011 17:47:14 +0000 (10:47 -0700)
commite0e57990f6d59db44e47b3991b8bea7392b9f30b
tree9a9a52428f23bddb37679c8507cb6a31e67e4207
parent6f04e94a264edae76aa2bb44a9019e19b29d47a1
datapath: Make every packet passing through the datapath have an sw_flow.

This way, it's always possible to get a packet's key or hash simply by
looking at its 'flow', without considering whether the packet came from
userspace or from a vport.

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