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:
09a3bc5
)
IPSEC: correctly size per-thread data
67/18667/2
author
Neale Ranns
<nranns@cisco.com>
Wed, 3 Apr 2019 13:36:56 +0000
(13:36 +0000)
committer
Neale Ranns
<nranns@cisco.com>
Wed, 3 Apr 2019 15:12:19 +0000
(15:12 +0000)
Change-Id: Idfc05cd0e09b50a26eaf747b7c49f720b009159a
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet/ipsec/ipsec.c
patch
|
blob
|
history
diff --git
a/src/vnet/ipsec/ipsec.c
b/src/vnet/ipsec/ipsec.c
index
9221049
..
522b958
100644
(file)
--- a/
src/vnet/ipsec/ipsec.c
+++ b/
src/vnet/ipsec/ipsec.c
@@
-316,7
+316,7
@@
ipsec_init (vlib_main_t * vm)
i->op_type = VNET_CRYPTO_OP_SHA512_HMAC;
i->trunc_size = 32;
- vec_validate_aligned (im->ptd, v
ec_len (vlib_mains
), CLIB_CACHE_LINE_BYTES);
+ vec_validate_aligned (im->ptd, v
lib_num_workers (
), CLIB_CACHE_LINE_BYTES);
return 0;
}