This patch includes cuckoo has table for testing all the APIs
The cuckoo hash is added for both test_table_tables and test_table_combined
cases.
The testing is completed and the results are OK.
Signed-off-by: Sankar Chokkalingam
Signed-off-by: Guruprasad Rao
---
app/test/test_table_combined.c
/testpipeline -c 0xe -n 4 -- -p 0xf --hash-cuckoo-8
Signed-off-by: Sankar Chokkalingam
Signed-off-by: Guruprasad Rao
---
app/test-pipeline/config.c| 20 +-
app/test-pipeline/main.c | 12 +++-
app/test-pipeline/main.h | 12 +++-
app/test-pipeline
rte_table_hash_cuckoo_entry_delete
rte_table_hash_cuckoo_lookup_dosig
rte_table_hash_cuckoo_stats_read
Signed-off-by: Sankar Chokkalingam
Signed-off-by: Guruprasad Rao
---
lib/librte_table/Makefile| 4 +-
lib/librte_table/rte_table_hash.h| 31 ++-
lib/librte_table
hash-cuckoo-128
The key-sizes 8, 16 and 32 are already tested.
The table APIs are tested for basic functionality using
table_autotest and the results are OK.
Sankar Chokkalingam (3):
lib/librte_table: enabling cuckoo hash into table library
app/test-pipeline: added cuckoo hash
flow classification CLI")
Signed-off-by: Sankar Chokkalingam
Acked-by: Cristian Dumitrescu
---
examples/ip_pipeline/config/flow.cfg | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/ip_pipeline/config/flow.cfg
b/examples/ip_pipeline/config/flow.cfg
index 6895d3
5 matches
Mail list logo