lib: Inline functions used in classifier_lookup.
authorJarno Rajahalme <jrajahalme@nicira.com>
Tue, 29 Apr 2014 22:50:38 +0000 (15:50 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Tue, 29 Apr 2014 22:50:38 +0000 (15:50 -0700)
commit3d91d9094dcf49c210bd4ebae4bd1e0cea9defce
tree56e867632cb3465e092770825ae0794c49a30153
parent28a560d97a8b6882e7dfd4df2e52806dba4fd0e5
lib: Inline functions used in classifier_lookup.

This helps about 1% in TCP_CRR performance test.  However, this also
helps by clearly showing the classifier_lookup() cost in perf reports
as one item.

This also cleans up the flow/match APIs from functionality only used
by the classifier, making is more straightforward to evolve them
later.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
lib/classifier.c
lib/flow.c
lib/flow.h
lib/hindex.c
lib/hindex.h
lib/match.c
lib/match.h
tests/test-classifier.c