summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/scheduler/scheduler_pmd_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/crypto/scheduler/scheduler_pmd_private.h')
-rw-r--r--drivers/crypto/scheduler/scheduler_pmd_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/scheduler/scheduler_pmd_private.h b/drivers/crypto/scheduler/scheduler_pmd_private.h
index e606716a..bab4334d 100644
--- a/drivers/crypto/scheduler/scheduler_pmd_private.h
+++ b/drivers/crypto/scheduler/scheduler_pmd_private.h
@@ -89,7 +89,7 @@ struct scheduler_ctx {
char name[RTE_CRYPTODEV_SCHEDULER_NAME_MAX_LEN];
char description[RTE_CRYPTODEV_SCHEDULER_DESC_MAX_LEN];
- uint16_t wc_pool[RTE_CRYPTODEV_SCHEDULER_MAX_NB_WORKER_CORES];
+ uint16_t wc_pool[RTE_MAX_LCORE];
uint16_t nb_wc;
char *init_slave_names[RTE_CRYPTODEV_SCHEDULER_MAX_NB_SLAVES];