lib/classifier: Simpilify array ordering.
authorJarno Rajahalme <jrajahalme@nicira.com>
Thu, 15 May 2014 02:53:51 +0000 (19:53 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Thu, 15 May 2014 02:53:51 +0000 (19:53 -0700)
commit0b810ca89262d0ff270994a5074d29e3c0b0002a
tree5d6a2dd4a19007214472e340d408e7b4b090fd02
parent8492d147e9662066e1e3f53b3ed7f70d5184897f
lib/classifier: Simpilify array ordering.

The terminology we used for subtable ordering ('splice', 'right
before') was inherited from an earlier use of a linked list, and
turned out to be confusing when applied to an array.  Also, we only
ever move one subtable earlier or later within the array, so we can
simplify the code as well.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/classifier.c