summaryrefslogtreecommitdiff
path: root/lib/librte_table
diff options
context:
space:
mode:
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>2017-10-18 16:03:50 +0100
committerCristian Dumitrescu <cristian.dumitrescu@intel.com>2017-10-24 13:10:08 +0200
commit71afef2c14c62fa49c3fb8c10cccb0a0f472c61c (patch)
tree00ad06eb94c4bc3349642715462e7bb71c5125b4 /lib/librte_table
parentec35c73ec6470e92afd5cab8cef748e8484a1187 (diff)
downloaddpdk-71afef2c14c62fa49c3fb8c10cccb0a0f472c61c.zip
dpdk-71afef2c14c62fa49c3fb8c10cccb0a0f472c61c.tar.gz
dpdk-71afef2c14c62fa49c3fb8c10cccb0a0f472c61c.tar.xz
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>
Diffstat (limited to 'lib/librte_table')
-rw-r--r--lib/librte_table/rte_table_hash.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/librte_table/rte_table_hash.h b/lib/librte_table/rte_table_hash.h
index eb18c7a..3c53d6a 100644
--- a/lib/librte_table/rte_table_hash.h
+++ b/lib/librte_table/rte_table_hash.h
@@ -129,12 +129,6 @@ struct rte_table_hash_params {
uint64_t seed;
};
-/** Hash function */
-typedef uint64_t (*rte_table_hash_op_hash_nomask)(
- void *key,
- uint32_t key_size,
- uint64_t seed);
-
extern struct rte_table_ops rte_table_hash_ext_ops;
extern struct rte_table_ops rte_table_hash_lru_ops;