From 97495b8966f4b25959719e3e1570b3f5942b1d64 Mon Sep 17 00:00:00 2001 From: Szymon Sliwa Date: Tue, 23 Jan 2018 14:30:49 +0100 Subject: plugins: odp: Add asynchronous IPsec API nodes To use asynchronous mode put async in the odp section of the startup.conf file, like this: odp { enable-odp-ipsec async } Falls back to synchronous mode. Change-Id: Iacfdc03158228f4385511e6736fb24a97284320c Signed-off-by: Szymon Sliwa --- src/plugins/odp/odp_packet.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/odp/odp_packet.h') diff --git a/src/plugins/odp/odp_packet.h b/src/plugins/odp/odp_packet.h index 73972cbb..e8409477 100755 --- a/src/plugins/odp/odp_packet.h +++ b/src/plugins/odp/odp_packet.h @@ -81,6 +81,8 @@ extern u32 tx_burst_size; extern u32 num_pkts_in_pool; extern odp_if_mode_t def_if_mode; extern u8 enable_odp_crypto; +extern u8 ipsec_api; +extern u8 is_async; u32 odp_packet_create_if (vlib_main_t * vm, u8 * host_if_name, u8 * hw_addr_set, u32 * sw_if_index, -- cgit 1.2.3-korg