aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp/conf/startup.conf
diff options
context:
space:
mode:
authorSzymon Sliwa <szs@semihalf.com>2018-01-26 12:30:41 +0100
committerSzymon Sliwa <szs@semihalf.com>2018-02-06 14:48:32 +0100
commitafb5b006e4451a9dcb3270d4a5755413e65f5497 (patch)
treee5a8de9f1c1bda994b9a9248cab18d8506b052c4 /src/vpp/conf/startup.conf
parent9775521a9ca1466e9a02fe4d69afafc55dcbc09c (diff)
plugins: odp: Add support for async crypto mode
By default ipsec picks asynchronuous crypto. After the operation it may turn out that the operation was performed synchronously anyways, in such case the packet is send further by the esp_* node because there will be no notification event sent about the crypto completion. To use asynchronous mode put async in the odp section of the startup.conf file, like this: odp { async } Falls back to synchronous mode. Change-Id: I5301df5f1c93a5ccd53a9c0ed2c4cacb9ca5fdd4 Signed-off-by: Szymon Sliwa <szs@semihalf.com>
Diffstat (limited to 'src/vpp/conf/startup.conf')
-rw-r--r--src/vpp/conf/startup.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vpp/conf/startup.conf b/src/vpp/conf/startup.conf
index 6947d378..1aee5ca0 100644
--- a/src/vpp/conf/startup.conf
+++ b/src/vpp/conf/startup.conf
@@ -132,6 +132,9 @@ cpu {
## Make use of ODP crypto API to accelerate IPsec
# enable-odp-crypto
+
+ ## To use asynchronous mode of the crypto operations
+ # async
# }
# Adjusting the plugin path depending on where the VPP plugins are: