diff options
author | Sergio Gonzalez Monroy <sgmonroy@gmail.com> | 2019-01-30 11:26:00 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-01-31 22:07:10 +0000 |
commit | 35467f112acb21fe1ea287c7d8794b0859f149c0 (patch) | |
tree | 2bfe25d2e880c417a144523ebfc84627666cbc8b /src/plugins/dpdk/ipsec/esp_decrypt.c | |
parent | 6f70e913c58b81ff40bb980359cfa1f3c88ff150 (diff) |
dpdk-ipsec: use single queue pair per crypto resource
Change-Id: I2c796583087c70fbc5cf09e8afd0f2a1f389d346
Signed-off-by: Sergio Gonzalez Monroy <sgmonroy@gmail.com>
Diffstat (limited to 'src/plugins/dpdk/ipsec/esp_decrypt.c')
-rw-r--r-- | src/plugins/dpdk/ipsec/esp_decrypt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/dpdk/ipsec/esp_decrypt.c b/src/plugins/dpdk/ipsec/esp_decrypt.c index d8d1d385f0f..265877f3a18 100644 --- a/src/plugins/dpdk/ipsec/esp_decrypt.c +++ b/src/plugins/dpdk/ipsec/esp_decrypt.c @@ -376,7 +376,7 @@ dpdk_esp_decrypt_inline (vlib_main_t * vm, ESP_DECRYPT_ERROR_RX_PKTS, from_frame->n_vectors); - crypto_enqueue_ops (vm, cwm, 0, dpdk_esp6_decrypt_node.index, + crypto_enqueue_ops (vm, cwm, dpdk_esp6_decrypt_node.index, ESP_DECRYPT_ERROR_ENQ_FAIL, numa); } else @@ -385,7 +385,7 @@ dpdk_esp_decrypt_inline (vlib_main_t * vm, ESP_DECRYPT_ERROR_RX_PKTS, from_frame->n_vectors); - crypto_enqueue_ops (vm, cwm, 0, dpdk_esp4_decrypt_node.index, + crypto_enqueue_ops (vm, cwm, dpdk_esp4_decrypt_node.index, ESP_DECRYPT_ERROR_ENQ_FAIL, numa); } |