flow: Always inline miniflows.
authorJarno Rajahalme <jrajahalme@nicira.com>
Wed, 15 Jul 2015 20:17:01 +0000 (13:17 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Wed, 15 Jul 2015 20:17:10 +0000 (13:17 -0700)
commit8fd4792403254f868398a89fb5625830ee5a08eb
treeeed8d2700e60d70e22843afe028292460d4fef84
parent1aaf0ada55979e0e30dc23fbf1c88b6aae06e93e
flow: Always inline miniflows.

Now that performance critical code already inlines miniflows and
minimasks, we can simplify struct miniflow by always dynamically
allocating miniflows and minimasks to the correct size.  This changes
the struct minimatch to always contain pointers to its miniflow and
minimask.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/classifier-private.h
lib/classifier.c
lib/dpif-netdev.c
lib/flow.c
lib/flow.h
lib/match.c
lib/match.h
lib/tnl-ports.c
ofproto/ofproto.c
tests/test-classifier.c