Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
1dc1b9c
)
Fix flowhash size computation for very large hash tables
67/12767/2
author
Pierre Pfister
<ppfister@cisco.com>
Mon, 28 May 2018 11:56:04 +0000
(13:56 +0200)
committer
Damjan Marion
<dmarion.lists@gmail.com>
Mon, 28 May 2018 15:01:55 +0000
(15:01 +0000)
Change-Id: Ieae4ff6429fc5bdcf0e243db40ab7ec00c30730a
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
src/vppinfra/flowhash_template.h
patch
|
blob
|
history
diff --git
a/src/vppinfra/flowhash_template.h
b/src/vppinfra/flowhash_template.h
index
8f8fef2
..
359b969
100644
(file)
--- 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;
- u
32
size;
+ u
word
size;
void *mem;
u32 entries;