Skip to content

crypto/scheduler: rename slave to worker

Adam Dybkowski dpdk-dev 2 versions – Applied

Status from this message: Applied to dpdk-next-crypto

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 2 repliesApplied
  2. v11 patch 3 repliesSuperseded

Changes in v2 from the cover letter

Update release notes.
Remove deprecation notice.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/1crypto/scheduler: rename slave to workerapp/test-crypto-perf/main.c app/test/test_cryptodev.c doc/guides/cryptodevs/qat.rst +15 more+449 -4422 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchFan ZhangRuifeng WangAkhil Goyal
1/1A-b R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [dpdk-dev] [PATCH v2 0/1] crypto/scheduler: rename slave to worker

This patch replaces the usage of the word 'slave' with more appropriate word 'worker' in QAT PMD and Scheduler PMD as well as in their docs. Also the test app was modified to use the new wording.

The Scheduler PMD's public API was modified according to the previous deprecation notice:
rte_cryptodev_scheduler_slave_attach is now called rte_cryptodev_scheduler_worker_attach, rte_cryptodev_scheduler_slave_detach is rte_cryptodev_scheduler_worker_detach, rte_cryptodev_scheduler_slaves_get is rte_cryptodev_scheduler_workers_get.

Also, the configuration value RTE_CRYPTODEV_SCHEDULER_MAX_NB_SLAVES was renamed to RTE_CRYPTODEV_SCHEDULER_MAX_NB_WORKERS.

Adam Dybkowski (1):
crypto/scheduler: rename slave to worker

---
v2:
Update release notes.
Remove deprecation notice.

---
 app/test-crypto-perf/main.c                   |   2 +-
 app/test/test_cryptodev.c                     |  20 +-
 doc/guides/cryptodevs/qat.rst                 |   2 +-
 doc/guides/cryptodevs/scheduler.rst           |  40 ++--
 doc/guides/rel_notes/deprecation.rst          |   7 -
 doc/guides/rel_notes/release_20_11.rst        |  11 +
 .../scheduler/rte_cryptodev_scheduler.c       | 114 +++++-----
 .../scheduler/rte_cryptodev_scheduler.h       |  35 ++-
 .../rte_cryptodev_scheduler_operations.h      |  12 +-
 .../rte_pmd_crypto_scheduler_version.map      |   6 +-
 drivers/crypto/scheduler/scheduler_failover.c |  83 +++----
 .../crypto/scheduler/scheduler_multicore.c    |  54 ++---
 .../scheduler/scheduler_pkt_size_distr.c      | 142 ++++++------
 drivers/crypto/scheduler/scheduler_pmd.c      |  54 ++---
 drivers/crypto/scheduler/scheduler_pmd_ops.c  | 204 +++++++++---------
 .../crypto/scheduler/scheduler_pmd_private.h  |  12 +-
 .../crypto/scheduler/scheduler_roundrobin.c   |  87 ++++----
 examples/l2fwd-crypto/main.c                  |   6 +-
 18 files changed, 449 insertions(+), 442 deletions(-)
Signature · 1 line
2.25.1