[PATCH 2/2] test/crypto-perf: replace slave with worker
Ciara Power
ciara.power at intel.com
Mon Nov 14 17:57:48 CET 2022
Update the use of outdated language "slaves" with "workers".
Signed-off-by: Ciara Power <ciara.power at 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
More information about the dev
mailing list