From patchwork Fri Apr 14 05:44:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiang, YuX" X-Patchwork-Id: 126065 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 13DA94293B; Fri, 14 Apr 2023 07:44:20 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0F17A42C76; Fri, 14 Apr 2023 07:44:20 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id A7574400D5 for ; Fri, 14 Apr 2023 07:44:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681451058; x=1712987058; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=YHyFBK2m5Zq6dgpomAdYdgLdrrpSsJJ07Ql+wzF1yDQ=; b=S/AU/2OFM01FNnfdSadjA6MnX7AqLu5aVZQo4n3bnznW2/Dd8vyLM12o pZwQ3+jqUnWsl9waMEfkBufG19ikedWypWW/TsfWTm9wHq6pQ4jimhH36 LXKCf5kqdexjYYfLRjPfkgktcZ2YW5EX8IULymnjn2U/ugXc5sRm2PqlR SjA0el3rBjbujzCOXoheadVLFbF5rzZoHl26ttW5SVsoykbQb8fjnc8W/ GiKEVCKbQaEU3L4VKPGCvN5QYd6XUnrYIYkh6k23vxufTMw21WBY9+quk d9Y0msHhU99CROa/8h4yvBPnfEj2nNWtm1Y16ntjwS4q7UIVUVPtP5IXP w==; X-IronPort-AV: E=McAfee;i="6600,9927,10679"; a="346219156" X-IronPort-AV: E=Sophos;i="5.99,195,1677571200"; d="scan'208";a="346219156" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2023 22:44:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10679"; a="754320881" X-IronPort-AV: E=Sophos;i="5.99,195,1677571200"; d="scan'208";a="754320881" Received: from unknown (HELO localhost.localdomain) ([10.239.252.196]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2023 22:44:16 -0700 From: Yu Jiang To: varalakshmi.s@intel.com, dts@dpdk.org Cc: Yu Jiang 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 Message-Id: <20230414054407.1522092-3-yux.jiang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230414054407.1522092-1-yux.jiang@intel.com> References: <20230414054407.1522092-1-yux.jiang@intel.com> MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org 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 Tested-by: varalakshmi.s@intel.com Signed-off-by: Yu Jiang --- 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)) )