X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvppinfra%2Ftest_cuckoo_template.c;h=9619dc2e802944bf03433e155e16c4c2885e56a2;hb=d7b828f0cf0e21eebc4ae836668db68971225dd1;hp=52af38589c8b47e3f7772b80a195eb4c4ee30d78;hpb=0a1e183e5aa45fb0050eb03e1c8ebdb9f426a374;p=vpp.git diff --git a/src/vppinfra/test_cuckoo_template.c b/src/vppinfra/test_cuckoo_template.c index 52af38589c8..9619dc2e802 100644 --- a/src/vppinfra/test_cuckoo_template.c +++ b/src/vppinfra/test_cuckoo_template.c @@ -138,7 +138,8 @@ test_cuckoo (test_main_t * tm) kv.key = tm->keys[i]; kv.value = i + 1; - CV (clib_cuckoo_add_del) (h, &kv, 1 /* is_add */ ); + CV (clib_cuckoo_add_del) (h, &kv, 1 /* is_add */ , + 0 /* overwrite */ ); if (tm->verbose > 1) { @@ -207,7 +208,8 @@ test_cuckoo (test_main_t * tm) kv.key = tm->keys[i]; kv.value = (u64) (i + 1); - rv = CV (clib_cuckoo_add_del) (h, &kv, 0 /* is_add */ ); + rv = CV (clib_cuckoo_add_del) (h, &kv, 0 /* is_add */ , + 0 /* dont_overwrite */ ); if (rv < 0) clib_warning ("delete key %lld not ok but should be", tm->keys[i]);