From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id CC0C7A04DD; Thu, 22 Oct 2020 11:54:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3A48CA981; Thu, 22 Oct 2020 11:54:02 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 26657A981 for ; Thu, 22 Oct 2020 11:53:59 +0200 (CEST) IronPort-SDR: 3QSjIle7YJU2IeiU+1llXrDOZQEMpGaZh9CUql8i7JpZijnhXMToltDfDlhkHsWJGFNRiIAj74 UGlH4it17nmQ== X-IronPort-AV: E=McAfee;i="6000,8403,9781"; a="166720895" X-IronPort-AV: E=Sophos;i="5.77,404,1596524400"; d="scan'208";a="166720895" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2020 02:53:58 -0700 IronPort-SDR: 7QcVhpuZNIw2GY5D3ZFRBkZ+OPZUyl+Y6xWJzuhil75I/BCNlbM89LaRfjfJg5/bUhJQ28O4dX ZjasPCQTTegQ== X-IronPort-AV: E=Sophos;i="5.77,404,1596524400"; d="scan'208";a="533898435" Received: from unknown (HELO cb-dts.sh.intel.com) ([10.240.183.58]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2020 02:53:57 -0700 From: ChenBo To: dts@dpdk.org Cc: ChenBo Date: Thu, 22 Oct 2020 17:52:40 +0800 Message-Id: <20201022095240.2824-1-box.c.chen@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/l3fwdacl: Adaptive dpdk command update X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "dts" DPDK has modified the print log, commit: ddfaa718b7a1f6a91f433341a512aca17d16a743 DTS needs to be adapted and updated. Signed-off-by: ChenBo --- tests/TestSuite_l3fwdacl.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/TestSuite_l3fwdacl.py b/tests/TestSuite_l3fwdacl.py index 35b7c25..cc87e17 100644 --- a/tests/TestSuite_l3fwdacl.py +++ b/tests/TestSuite_l3fwdacl.py @@ -170,7 +170,7 @@ class TestL3fwdacl(TestCase): extra_args = '' if scalar: - extra_args = '--scalar' + extra_args = '--alg="scalar"' cmdline = '%s -c %s -n %d -- -p %s --config="(%d,0,2),(%d,0,3)" --rule_ipv4="%s" --rule_ipv6="%s" %s' % \ (self.app_l3fwd_acl_path, self.core_mask, self.dut.get_memory_channels(), @@ -840,7 +840,7 @@ class TestL3fwdacl(TestCase): rule_list_ipv4.append(TestL3fwdacl.invalid_port_rule_ipv4) self.create_acl_ipv4_db(rule_list_ipv4) - cmdline = '%s -c %s -n %d -- -p %s --config="(%d,0,2),(%d,0,3)" --rule_ipv4="%s" --rule_ipv6="%s" --scalar' % \ + cmdline = '%s -c %s -n %d -- -p %s --config="(%d,0,2),(%d,0,3)" --rule_ipv4="%s" --rule_ipv6="%s" --alg="scalar"' % \ (self.app_l3fwd_acl_path, self.core_mask, self.dut.get_memory_channels(), self.port_mask, self.dut_ports[0], self.dut_ports[1], TestL3fwdacl.acl_ipv4_db, TestL3fwdacl.acl_ipv6_db) @@ -852,7 +852,7 @@ class TestL3fwdacl(TestCase): rule_list_ipv6.append(TestL3fwdacl.invalid_port_rule_ipv6) self.create_acl_ipv6_db(rule_list_ipv6) - cmdline = '%s -c %s -n %d -- -p %s --config="(%d,0,2),(%d,0,3)" --rule_ipv4="%s" --rule_ipv6="%s" --scalar' % \ + cmdline = '%s -c %s -n %d -- -p %s --config="(%d,0,2),(%d,0,3)" --rule_ipv4="%s" --rule_ipv6="%s" --alg="scalar"' % \ (self.app_l3fwd_acl_path, self.core_mask, self.dut.get_memory_channels(), self.port_mask, self.dut_ports[0], self.dut_ports[1], TestL3fwdacl.acl_ipv4_db, TestL3fwdacl.acl_ipv6_db) -- 2.17.1