summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/dpdk/ipsec/ipsec.c19
1 files changed, 6 insertions, 13 deletions
diff --git a/src/plugins/dpdk/ipsec/ipsec.c b/src/plugins/dpdk/ipsec/ipsec.c
index c7fd9222824..5d9e10b3aa5 100644
--- a/src/plugins/dpdk/ipsec/ipsec.c
+++ b/src/plugins/dpdk/ipsec/ipsec.c
@@ -1063,19 +1063,12 @@ dpdk_ipsec_main_init (vlib_main_t * vm)
return 0;
}
-
- u32 idx = ipsec_register_esp_backend (vm, im, "dpdk backend",
- "dpdk-esp4-encrypt",
- "dpdk-esp4-encrypt-tun",
- "dpdk-esp4-decrypt",
- "dpdk-esp4-decrypt",
- "dpdk-esp6-encrypt",
- "dpdk-esp6-encrypt-tun",
- "dpdk-esp6-decrypt",
- "dpdk-esp6-decrypt",
- dpdk_ipsec_check_support,
- add_del_sa_session,
- dpdk_ipsec_enable_disable);
+ u32 idx = ipsec_register_esp_backend (
+ vm, im, "dpdk backend", "dpdk-esp4-encrypt", "dpdk-esp4-encrypt-tun",
+ "dpdk-esp4-decrypt", "dpdk-esp4-decrypt", "dpdk-esp6-encrypt",
+ "dpdk-esp6-encrypt-tun", "dpdk-esp6-decrypt", "dpdk-esp6-decrypt",
+ "error-drop", dpdk_ipsec_check_support, add_del_sa_session,
+ dpdk_ipsec_enable_disable);
int rv;
if (im->esp_current_backend == ~0)
{