From: Pierre Pfister Date: Mon, 28 May 2018 11:56:04 +0000 (+0200) Subject: Fix flowhash size computation for very large hash tables X-Git-Tag: v18.07-rc1~269 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=0318a113fd7848c76533027edbdee2697442a76e;p=vpp.git Fix flowhash size computation for very large hash tables Change-Id: Ieae4ff6429fc5bdcf0e243db40ab7ec00c30730a Signed-off-by: Pierre Pfister --- diff --git a/src/vppinfra/flowhash_template.h b/src/vppinfra/flowhash_template.h index 8f8fef2c495..359b9690a50 100644 --- a/src/vppinfra/flowhash_template.h +++ b/src/vppinfra/flowhash_template.h @@ -357,7 +357,7 @@ static_always_inline FVT(flowhash) *FV(flowhash_alloc)(u32 fixed_entries, u32 collision_buckets) { FVT(flowhash) *h; - u32 size; + uword size; void *mem; u32 entries;