Update the use of outdated language "slaves" with "workers".

Signed-off-by: Ciara Power <ciara.po...@intel.com>
---
 app/test-crypto-perf/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/test-crypto-perf/main.c b/app/test-crypto-perf/main.c
index 22f6b2b3ba..af5bd0d23b 100644
--- a/app/test-crypto-perf/main.c
+++ b/app/test-crypto-perf/main.c
@@ -266,12 +266,12 @@ cperf_initialize_cryptodev(struct cperf_options *opts, 
uint8_t *enabled_cdevs)
                if (!strcmp((const char *)opts->device_type,
                                        "crypto_scheduler")) {
 #ifdef RTE_CRYPTO_SCHEDULER
-                       uint32_t nb_slaves =
+                       uint32_t nb_workers =
                                rte_cryptodev_scheduler_workers_get(cdev_id,
                                                                NULL);
                        /* scheduler session header per lcore + 1 session per 
worker qp */
                        sessions_needed = nb_lcores + enabled_cdev_count *
-                               opts->nb_qps * nb_slaves;
+                               opts->nb_qps * nb_workers;
 #endif
                } else
                        sessions_needed = enabled_cdev_count * opts->nb_qps;
-- 
2.34.1

Reply via email to