classifier: Optimize search of "catchall" table.
authorBen Pfaff <blp@nicira.com>
Mon, 9 Apr 2012 22:49:22 +0000 (15:49 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 19 Apr 2012 03:37:56 +0000 (20:37 -0700)
commitc23740be661db40a54b8cd0c397945fb3987e771
tree136ae2e7587125cd4dfe0c0f77f75ac323e438d5
parent18e89129873f9dbdcdaa3cee909c1690da008e8d
classifier: Optimize search of "catchall" table.

Most flow tables have some kind of "catchall" rule that matches every
packet.  For this table, the cost of copying, zeroing, and hashing the
input flow is significant.  This patch avoids these costs.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/classifier.c
lib/classifier.h