aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Pfister <ppfister@cisco.com>2018-05-28 13:56:04 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2018-05-28 15:01:55 +0000
commit0318a113fd7848c76533027edbdee2697442a76e (patch)
treee34883e77846e71376c52322e512a9481ac06b38
parent1dc1b9c5314f5cdc3312475bcac233109c69c6d9 (diff)
Fix flowhash size computation for very large hash tables
Change-Id: Ieae4ff6429fc5bdcf0e243db40ab7ec00c30730a Signed-off-by: Pierre Pfister <ppfister@cisco.com>
-rw-r--r--src/vppinfra/flowhash_template.h2
1 files changed, 1 insertions, 1 deletions
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;