Code Review
/
odp4vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
c47652c
)
dpdk/ipsec: fix crypto device placement
author
Sergio Gonzalez Monroy
<
[email protected]
>
Mon, 23 Oct 2017 14:50:52 +0000
(15:50 +0100)
committer
Sergio Gonzalez Monroy
<
[email protected]
>
Mon, 23 Oct 2017 14:51:40 +0000
(15:51 +0100)
VPP-1036
Change-Id: I96dae6a4a40c0142d03bdf750ef23c9ce5b6edfa
Signed-off-by: Sergio Gonzalez Monroy <
[email protected]
>
src/plugins/dpdk/ipsec/ipsec.c
patch
|
blob
|
history
diff --git
a/src/plugins/dpdk/ipsec/ipsec.c
b/src/plugins/dpdk/ipsec/ipsec.c
index
c9fce3d
..
7783171
100644
(file)
--- a/
src/plugins/dpdk/ipsec/ipsec.c
+++ b/
src/plugins/dpdk/ipsec/ipsec.c
@@
-293,18
+293,12
@@
dpdk_ipsec_process (vlib_main_t * vm, vlib_node_runtime_t * rt,
max_nb_qp = cdev_info.max_nb_queue_pairs;
- for (i =
0
; i < tm->n_vlib_mains; i++)
+ for (i =
skip_master
; i < tm->n_vlib_mains; i++)
{
u8 is_outbound;
crypto_worker_main_t *cwm;
uword *map;
- if (skip_master)
- {
- skip_master = 0;
- continue;
- }
-
cwm = vec_elt_at_index (dcm->workers_main, i);
map = cwm->algo_qp_map;