apps: add mask-based hash functions
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>
Wed, 18 Oct 2017 15:03:50 +0000 (16:03 +0100)
committerCristian Dumitrescu <cristian.dumitrescu@intel.com>
Tue, 24 Oct 2017 11:10:08 +0000 (13:10 +0200)
commit71afef2c14c62fa49c3fb8c10cccb0a0f472c61c
tree00ad06eb94c4bc3349642715462e7bb71c5125b4
parentec35c73ec6470e92afd5cab8cef748e8484a1187
apps: add mask-based hash functions

Introduce mask-based hash functions in hash_func.h.

Propagate their usage in test/test, test/test-pipeline and
examples/ip_pipeline.

Remove the non-mask-based hash function prototype from API (which
was previously used as build workaround).

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
12 files changed:
examples/ip_pipeline/pipeline/hash_func.h
examples/ip_pipeline/pipeline/pipeline_flow_classification.c
examples/ip_pipeline/pipeline/pipeline_flow_classification_be.c
examples/ip_pipeline/pipeline/pipeline_passthrough_be.c
examples/ip_pipeline/pipeline/pipeline_routing_be.c
lib/librte_table/rte_table_hash.h
test/test-pipeline/main.h
test/test-pipeline/pipeline_hash.c
test/test/test_table.c
test/test/test_table.h
test/test/test_table_combined.c
test/test/test_table_tables.c