test suite reviews and discussions
 help / color / mirror / Atom feed
From: Yu Jiang <yux.jiang@intel.com>
To: varalakshmi.s@intel.com, dts@dpdk.org
Cc: Yu Jiang <yux.jiang@intel.com>
Subject: [dts][PATCH V1 2/2] tests/l2fwd_cryptodev_func: rename slave to worker according to dpdk20.11 change
Date: Fri, 14 Apr 2023 13:44:07 +0800	[thread overview]
Message-ID: <20230414054407.1522092-3-yux.jiang@intel.com> (raw)
In-Reply-To: <20230414054407.1522092-1-yux.jiang@intel.com>

According to dpdk20.11 commit id:
  28f5375d83 test/crypto: rename slave to worker
  85b00824ae crypto/scheduler: rename slave to worker
rename slave to worker.

Signed-off-by: Yu Jiang <yux.jiang@intel.com>
---
 tests/TestSuite_l2fwd_cryptodev_func.py | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/tests/TestSuite_l2fwd_cryptodev_func.py b/tests/TestSuite_l2fwd_cryptodev_func.py
index 5c4634a8..58e6d8fb 100644
--- a/tests/TestSuite_l2fwd_cryptodev_func.py
+++ b/tests/TestSuite_l2fwd_cryptodev_func.py
@@ -183,7 +183,7 @@ class TestL2fwdCrypto(TestCase):
     def test_scheduler_rr_AES_CBC_auto(self):
         vdev = "-a " + " -a ".join(cc.get_qat_devices(self, num=3))
         vdev += (
-            " --vdev crypto_scheduler0,slave=%s_qat_sym,slave=%s_qat_sym,slave=%s_qat_sym,\
+            " --vdev crypto_scheduler0,worker=%s_qat_sym,worker=%s_qat_sym,worker=%s_qat_sym,\
                 mode=round-robin"
             % tuple(cc.get_qat_devices(self, num=3))
         )
@@ -195,7 +195,7 @@ class TestL2fwdCrypto(TestCase):
         vdev = "-a 0000:00:00.0 --vdev crypto_aesni_mb1,name=aesni_mb_1"
         vdev += " --vdev crypto_aesni_mb2,name=aesni_mb_2"
         vdev += " --vdev crypto_aesni_mb3,name=aesni_mb_3"
-        vdev += " --vdev crypto_scheduler0,slave=aesni_mb_1,slave=aesni_mb_2,slave=aesni_mb_3,mode=round-robin"
+        vdev += " --vdev crypto_scheduler0,worker=aesni_mb_1,worker=aesni_mb_2,worker=aesni_mb_3,mode=round-robin"
         test_vectors["scheduler_AES_GCM_00"]["vdev"] = vdev
         test_vectors["scheduler_AES_GCM_00"]["mode"] = "rr"
         self.__execute_l2fwd_crypto_test(test_vectors, "scheduler_AES_GCM_00")
@@ -203,7 +203,7 @@ class TestL2fwdCrypto(TestCase):
     def test_scheduler_psb_AES_CBC_auto(self):
         vdev = "-a " + " -a ".join(cc.get_qat_devices(self, num=2))
         vdev += (
-            " --vdev crypto_scheduler0,slave=%s_qat_sym,slave=%s_qat_sym,\
+            " --vdev crypto_scheduler0,worker=%s_qat_sym,worker=%s_qat_sym,\
                 mode=packet-size-distr"
             % tuple(cc.get_qat_devices(self, num=2))
         )
@@ -215,7 +215,7 @@ class TestL2fwdCrypto(TestCase):
         vdev = "-a " + " -a ".join(cc.get_qat_devices(self, num=1))
         vdev += " --vdev crypto_aesni_mb1,name=aesni_mb_1"
         vdev += (
-            " --vdev crypto_scheduler0,slave=%s_qat_sym,slave=aesni_mb_1,\
+            " --vdev crypto_scheduler0,worker=%s_qat_sym,worker=aesni_mb_1,\
                 mode=packet-size-distr"
             % tuple(cc.get_qat_devices(self, num=1))
         )
@@ -226,7 +226,7 @@ class TestL2fwdCrypto(TestCase):
     def test_scheduler_fo_AES_CBC_auto(self):
         vdev = "-a " + " -a ".join(cc.get_qat_devices(self, num=2))
         vdev += (
-            " --vdev crypto_scheduler0,slave=%s_qat_sym,slave=%s_qat_sym,\
+            " --vdev crypto_scheduler0,worker=%s_qat_sym,worker=%s_qat_sym,\
                 mode=fail-over"
             % tuple(cc.get_qat_devices(self, num=2))
         )
@@ -238,7 +238,7 @@ class TestL2fwdCrypto(TestCase):
         vdev = "-a " + " -a ".join(cc.get_qat_devices(self, num=1))
         vdev += " --vdev crypto_aesni_mb1,name=aesni_mb_1"
         vdev += (
-            " --vdev crypto_scheduler0,slave=%s_qat_sym,slave=aesni_mb_1,\
+            " --vdev crypto_scheduler0,worker=%s_qat_sym,worker=aesni_mb_1,\
                 mode=fail-over"
             % tuple(cc.get_qat_devices(self, num=1))
         )
@@ -249,7 +249,7 @@ class TestL2fwdCrypto(TestCase):
     def test_scheduler_mm_AES_CBC_auto(self):
         vdev = "-a " + " -a ".join(cc.get_qat_devices(self, num=2))
         vdev += (
-            " --vdev crypto_scheduler0,slave=%s_qat_sym,slave=%s_qat_sym\
+            " --vdev crypto_scheduler0,worker=%s_qat_sym,worker=%s_qat_sym\
                 mode=multi-core"
             % tuple(cc.get_qat_devices(self, num=2))
         )
@@ -261,7 +261,7 @@ class TestL2fwdCrypto(TestCase):
         vdev = "-a " + " -a ".join(cc.get_qat_devices(self, num=1))
         vdev += " --vdev crypto_aesni_mb1,name=aesni_mb_1"
         vdev += (
-            " --vdev crypto_scheduler0,slave=%s_qat_sym,slave=aesni_mb_1,\
+            " --vdev crypto_scheduler0,worker=%s_qat_sym,worker=aesni_mb_1,\
                 mode=multi-core"
             % tuple(cc.get_qat_devices(self, num=1))
         )
-- 
2.25.1


  parent reply	other threads:[~2023-04-14  5:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-14  5:44 [dts][PATCH V1 0/2] " Yu Jiang
2023-04-14  5:44 ` [dts][PATCH V1 1/2] test_plans/virtio_ipsec_cryptodev_func: " Yu Jiang
2023-04-14  5:44 ` Yu Jiang [this message]
2023-04-14  8:47   ` [dts][PATCH V1 2/2] tests/l2fwd_cryptodev_func: " S, Varalakshmi
2023-04-23  8:54   ` lijuan.tu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230414054407.1522092-3-yux.jiang@intel.com \
    --to=yux.jiang@intel.com \
    --cc=dts@dpdk.org \
    --cc=varalakshmi.s@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).