summaryrefslogtreecommitdiff
path: root/lib/librte_table/rte_table_hash_cuckoo.c
diff options
context:
space:
mode:
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>2017-10-18 16:03:42 +0100
committerCristian Dumitrescu <cristian.dumitrescu@intel.com>2017-10-24 13:07:19 +0200
commit1880e755f7522f27e44ff90642d65964e54797c8 (patch)
tree9b052a3ce03ca8cbaf62e422290eb5a280df0aa8 /lib/librte_table/rte_table_hash_cuckoo.c
parent326223fea35c4fbadc081ef417e5d2b096541c69 (diff)
downloaddpdk-1880e755f7522f27e44ff90642d65964e54797c8.zip
dpdk-1880e755f7522f27e44ff90642d65964e54797c8.tar.gz
dpdk-1880e755f7522f27e44ff90642d65964e54797c8.tar.xz
table: rename cuckoo hash table ops
The dosig particle is eliminated from the cuckoo hash ops name. Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Diffstat (limited to 'lib/librte_table/rte_table_hash_cuckoo.c')
-rw-r--r--lib/librte_table/rte_table_hash_cuckoo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/librte_table/rte_table_hash_cuckoo.c b/lib/librte_table/rte_table_hash_cuckoo.c
index da1597f..beb45c5 100644
--- a/lib/librte_table/rte_table_hash_cuckoo.c
+++ b/lib/librte_table/rte_table_hash_cuckoo.c
@@ -286,7 +286,7 @@ rte_table_hash_cuckoo_entry_delete(void *table, void *key,
static int
-rte_table_hash_cuckoo_lookup_dosig(void *table,
+rte_table_hash_cuckoo_lookup(void *table,
struct rte_mbuf **pkts,
uint64_t pkts_mask,
uint64_t *lookup_hit_mask,
@@ -370,13 +370,13 @@ rte_table_hash_cuckoo_stats_read(void *table, struct rte_table_stats *stats,
return 0;
}
-struct rte_table_ops rte_table_hash_cuckoo_dosig_ops = {
+struct rte_table_ops rte_table_hash_cuckoo_ops = {
.f_create = rte_table_hash_cuckoo_create,
.f_free = rte_table_hash_cuckoo_free,
.f_add = rte_table_hash_cuckoo_entry_add,
.f_delete = rte_table_hash_cuckoo_entry_delete,
.f_add_bulk = NULL,
.f_delete_bulk = NULL,
- .f_lookup = rte_table_hash_cuckoo_lookup_dosig,
+ .f_lookup = rte_table_hash_cuckoo_lookup,
.f_stats = rte_table_hash_cuckoo_stats_read,
};