classifier: Remove rare optimization case.
authorJarno Rajahalme <jarno@ovn.org>
Wed, 4 May 2016 20:00:06 +0000 (13:00 -0700)
committerJarno Rajahalme <jarno@ovn.org>
Wed, 4 May 2016 20:00:06 +0000 (13:00 -0700)
commit31ecf25fad50093c9dfd3396f9e3adef6e9e2eed
treed2d4075511960c144a14b2b8aff6984894d76469
parentfd7a68dd76e558a060d082b0b492991a6d35e345
classifier: Remove rare optimization case.

This optimization applied when a staged lookup index would narrow down
to a single rule, which happens sometimes is simple test cases, but
presumably less often in more populated flow tables.  The result of
this optimization allowed a bit more general megaflows, but the bit
patterns produced were sometimes cryptic.  Finally, a later fix to a
more important performance problem does not allow for this
optimization any more, so remove it now.

Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Acked-by: Ryan Moats <rmoats@us.ibm.com>
Acked-by: Ben Pfaff <blp@ovn.org>
lib/classifier.c
tests/classifier.at
tests/ofproto-dpif.at