From 8c609af230c157304c3ddb09bfcd6d8098c6ea92 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Thu, 25 Feb 2021 10:05:32 +0000 Subject: tests: Add tests for IPSec async mode using the crypto SW scheduler Type: test Signed-off-by: Neale Ranns Change-Id: Iabc8f2b09ee10a82aacebd36acfe8648cf69b7d7 --- src/vnet/ipsec/esp_decrypt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/vnet') diff --git a/src/vnet/ipsec/esp_decrypt.c b/src/vnet/ipsec/esp_decrypt.c index 0924351a9d4..274fbf810c0 100644 --- a/src/vnet/ipsec/esp_decrypt.c +++ b/src/vnet/ipsec/esp_decrypt.c @@ -1234,7 +1234,8 @@ esp_decrypt_inline (vlib_main_t * vm, /* no post process in async */ vlib_node_increment_counter (vm, node->node_index, - ESP_DECRYPT_ERROR_RX_PKTS, n_left); + ESP_DECRYPT_ERROR_RX_PKTS, + from_frame->n_vectors); if (n_async_drop) vlib_buffer_enqueue_to_next (vm, node, from, nexts, n_async_drop); -- cgit 1.2.3-korg