aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dev_octeon/crypto.h
diff options
context:
space:
mode:
authorNithinsen Kaithakadan <nkaithakadan@marvell.com>2025-01-16 12:56:09 +0530
committerDamjan Marion <dmarion@0xa5.net>2025-01-21 12:58:20 +0000
commit07ba8ae1b292225b2a72798699a1ccba59c1fc3e (patch)
tree0f1d8cb8d8cb3635dac3438ea988faa27da89e71 /src/plugins/dev_octeon/crypto.h
parent82f9167e4847a66bbe4334afc1cc115efef81973 (diff)
octeon: fix for async crypto session init
This patch resolves segmentation fault that occurs during the initialization of an asynchronous crypto session when processing the first packet in the data path. And resolves compilation failures. Type: fix Change-Id: I60e4060c65741a445fe02f01b3c94f627534ecef Signed-off-by: Nithinsen Kaithakadan <nkaithakadan@marvell.com>
Diffstat (limited to 'src/plugins/dev_octeon/crypto.h')
-rw-r--r--src/plugins/dev_octeon/crypto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/dev_octeon/crypto.h b/src/plugins/dev_octeon/crypto.h
index 0a3b796d3dd..bee2db8f9ed 100644
--- a/src/plugins/dev_octeon/crypto.h
+++ b/src/plugins/dev_octeon/crypto.h
@@ -143,7 +143,7 @@ typedef struct
typedef struct
{
oct_crypto_dev_t *crypto_dev[OCT_MAX_N_CPT_DEV];
- oct_crypto_key_t *keys[VNET_CRYPTO_ASYNC_OP_N_TYPES];
+ oct_crypto_key_t *keys[VNET_CRYPTO_OP_N_TYPES];
oct_crypto_pending_queue_t *pend_q;
int n_cpt;
u8 started;