summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/dpdk/ipsec/ipsec.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/plugins/dpdk/ipsec/ipsec.c b/src/plugins/dpdk/ipsec/ipsec.c
index c9fce3d8392..7783171fa1a 100644
--- 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;