1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2018 Intel Corporation
5 #ifndef __INCLUDE_RTE_TABLE_HASH_CUCKOO_H__
6 #define __INCLUDE_RTE_TABLE_HASH_CUCKOO_H__
14 * RTE Table Hash Cuckoo
21 #include "rte_table.h"
23 /** Hash table parameters */
24 struct rte_table_hash_cuckoo_params {
28 /** Key size (number of bytes) */
31 /** Byte offset within packet meta-data where the key is located */
40 /** Number of buckets */
44 rte_hash_function f_hash;
46 /** Seed value for the hash function */
50 /** Cuckoo hash table operations */
51 extern struct rte_table_ops rte_table_hash_cuckoo_ops;