On Wed, Jul 16, 2014 at 02:50:12PM +1200, Joe Stringer wrote: > Converting the flow key and mask back into netlink format during flow > dump is fairly expensive. By caching the userspace-provided versions of > these during flow setup, and copying the memory directly during flow > dump, we are able to support up to 33% more flows in the datapath.
Caching the userspace-provided flow key and mask could violate the guarantee given at the end of datapath/README: - When the kernel sends a given flow key to userspace, it always composes it the same way. This allows userspace to hash and compare entire flow keys that it may not be able to fully interpret. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev