summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/test_bihash_template.c
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2020-08-06 11:38:40 -0400
committerFlorin Coras <florin.coras@gmail.com>2020-08-06 17:09:49 +0000
commitd4a639bbd2257a88fa3f06939a23c13af1d56dd3 (patch)
treeff83a04697e923aa79842b5937a045c669e22777 /src/vppinfra/test_bihash_template.c
parent11fb09e38ffcbadc2629361377413f3ce12ec4da (diff)
vppinfra: harmonize function names
Type: fix Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: Icce7eab4510785e15bdcf97e4d1881b0f46f6899
Diffstat (limited to 'src/vppinfra/test_bihash_template.c')
-rw-r--r--src/vppinfra/test_bihash_template.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/vppinfra/test_bihash_template.c b/src/vppinfra/test_bihash_template.c
index 86039d8408a..ffed5c73287 100644
--- a/src/vppinfra/test_bihash_template.c
+++ b/src/vppinfra/test_bihash_template.c
@@ -73,9 +73,9 @@ test_bihash_vec64 (test_main_t * tm)
h = &tm->hash;
#if BIHASH_32_64_SVM
- BV (clib_bihash_master_init_svm) (h, "test", user_buckets,
- 0x30000000 /* base_addr */ ,
- user_memory_size);
+ BV (clib_bihash_initiator_init_svm) (h, "test", user_buckets,
+ 0x30000000 /* base_addr */ ,
+ user_memory_size);
#else
BV (clib_bihash_init) (h, "test", user_buckets, user_memory_size);
#endif
@@ -123,9 +123,9 @@ test_bihash_stale_overwrite (test_main_t * tm)
h = &tm->hash;
#if BIHASH_32_64_SVM
- BV (clib_bihash_master_init_svm) (h, "test", tm->nbuckets,
- 0x30000000 /* base_addr */ ,
- tm->hash_memory_size);
+ BV (clib_bihash_initiator_init_svm) (h, "test", tm->nbuckets,
+ 0x30000000 /* base_addr */ ,
+ tm->hash_memory_size);
#else
BV (clib_bihash_init) (h, "test", tm->nbuckets, tm->hash_memory_size);
#endif
@@ -208,9 +208,9 @@ test_bihash_threads (test_main_t * tm)
h = &tm->hash;
#if BIHASH_32_64_SVM
- BV (clib_bihash_master_init_svm) (h, "test", tm->nbuckets,
- 0x30000000 /* base_addr */ ,
- tm->hash_memory_size);
+ BV (clib_bihash_initiator_init_svm) (h, "test", tm->nbuckets,
+ 0x30000000 /* base_addr */ ,
+ tm->hash_memory_size);
#else
BV (clib_bihash_init) (h, "test", tm->nbuckets, tm->hash_memory_size);
#endif
@@ -262,9 +262,9 @@ test_bihash (test_main_t * tm)
h = &tm->hash;
#if BIHASH_32_64_SVM
- BV (clib_bihash_master_init_svm) (h, "test", tm->nbuckets,
- 0x30000000 /* base_addr */ ,
- tm->hash_memory_size);
+ BV (clib_bihash_initiator_init_svm) (h, "test", tm->nbuckets,
+ 0x30000000 /* base_addr */ ,
+ tm->hash_memory_size);
#else
BV (clib_bihash_init) (h, "test", tm->nbuckets, tm->hash_memory_size);
#endif