summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/scheduler/rte_cryptodev_scheduler.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/crypto/scheduler/rte_cryptodev_scheduler.h')
-rw-r--r--drivers/crypto/scheduler/rte_cryptodev_scheduler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/scheduler/rte_cryptodev_scheduler.h b/drivers/crypto/scheduler/rte_cryptodev_scheduler.h
index df22f2a9..84917d1d 100644
--- a/drivers/crypto/scheduler/rte_cryptodev_scheduler.h
+++ b/drivers/crypto/scheduler/rte_cryptodev_scheduler.h
@@ -59,7 +59,7 @@ extern "C" {
#endif
/** Maximum number of multi-core worker cores */
-#define RTE_CRYPTODEV_SCHEDULER_MAX_NB_WORKER_CORES (64)
+#define RTE_CRYPTODEV_SCHEDULER_MAX_NB_WORKER_CORES (RTE_MAX_LCORE - 1)
/** Round-robin scheduling mode string */
#define SCHEDULER_MODE_NAME_ROUND_ROBIN round-robin