X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftest%2Ftest_hash_perf.c;fp=test%2Ftest%2Ftest_hash_perf.c;h=b0514b104fafbe1038ffb86975798ef5728098a3;hb=597cb1874068054d4c0be41f161a72ef37888930;hp=c0051b20fbe2c70d21642ef89c5a237e5ac096e6;hpb=6e7cbd63706f3435b9d9a2057a37db1da01db9a7;p=deb_dpdk.git diff --git a/test/test/test_hash_perf.c b/test/test/test_hash_perf.c index c0051b20..b0514b10 100644 --- a/test/test/test_hash_perf.c +++ b/test/test/test_hash_perf.c @@ -49,7 +49,8 @@ #define MAX_ENTRIES (1 << 19) #define KEYS_TO_ADD (MAX_ENTRIES * 3 / 4) /* 75% table utilization */ #define NUM_LOOKUPS (KEYS_TO_ADD * 5) /* Loop among keys added, several times */ -#define BUCKET_SIZE 4 +/* BUCKET_SIZE should be same as RTE_HASH_BUCKET_ENTRIES in rte_hash library */ +#define BUCKET_SIZE 8 #define NUM_BUCKETS (MAX_ENTRIES / BUCKET_SIZE) #define MAX_KEYSIZE 64 #define NUM_KEYSIZES 10