Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
New upstream version 18.05
[deb_dpdk.git]
/
test
/
test
/
test_table_tables.c
diff --git
a/test/test/test_table_tables.c
b/test/test/test_table_tables.c
index
a7a69b8
..
20df2e9
100644
(file)
--- a/
test/test/test_table_tables.c
+++ b/
test/test/test_table_tables.c
@@
-903,14
+903,14
@@
test_table_hash_cuckoo(void)
uint32_t entry_size = 1;
/* Initialize params and create tables */
uint32_t entry_size = 1;
/* Initialize params and create tables */
- struct rte_table_hash_params cuckoo_params = {
+ struct rte_table_hash_
cuckoo_
params cuckoo_params = {
.name = "TABLE",
.key_size = 32,
.key_offset = APP_METADATA_OFFSET(32),
.key_mask = NULL,
.n_keys = 1 << 16,
.n_buckets = 1 << 16,
.name = "TABLE",
.key_size = 32,
.key_offset = APP_METADATA_OFFSET(32),
.key_mask = NULL,
.n_keys = 1 << 16,
.n_buckets = 1 << 16,
- .f_hash =
(rte_table_hash_op_hash)pipeline_test_hash
,
+ .f_hash =
pipeline_test_hash_cuckoo
,
.seed = 0,
};
.seed = 0,
};
@@
-941,7
+941,7
@@
test_table_hash_cuckoo(void)
if (table != NULL)
return -4;
if (table != NULL)
return -4;
- cuckoo_params.f_hash = pipeline_test_hash;
+ cuckoo_params.f_hash = pipeline_test_hash
_cuckoo
;
cuckoo_params.name = NULL;
table = rte_table_hash_cuckoo_ops.f_create(&cuckoo_params,
cuckoo_params.name = NULL;
table = rte_table_hash_cuckoo_ops.f_create(&cuckoo_params,