From patchwork Fri Sep 11 02:19:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xie, WeiX" X-Patchwork-Id: 77295 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 56D7DA04B6; Fri, 11 Sep 2020 04:19:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CD7721C0CF; Fri, 11 Sep 2020 04:19:55 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id E083A1B75C for ; Fri, 11 Sep 2020 04:19:54 +0200 (CEST) IronPort-SDR: N8NgAvMndNXmzixlNC2qWxOrJq7m9r20aqL7u3hZIKgvqUSTZutHQcme6GcjslNdrre37yQq5N Fa1oYrinVkvw== X-IronPort-AV: E=McAfee;i="6000,8403,9740"; a="243499346" X-IronPort-AV: E=Sophos;i="5.76,413,1592895600"; d="scan'208";a="243499346" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Sep 2020 19:19:54 -0700 IronPort-SDR: DoLoaxPujo1623b/o0eJePmjPdFSCgfjy5WiolcQ/tGNuJf8sFP66KgEGnHHkAmoZi4NW3rYl8 XcNCIZnAsfyg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,413,1592895600"; d="scan'208";a="318126639" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga002.jf.intel.com with ESMTP; 10 Sep 2020 19:19:53 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Fri, 11 Sep 2020 10:19:24 +0800 Message-Id: <20200911021928.8224-2-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200911021928.8224-1-weix.xie@intel.com> References: <20200911021928.8224-1-weix.xie@intel.com> Subject: [dts] [PATCH V1 1/5] tests/TestSuite_cvl_advanced_rss:support meson build method 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" Signed-off-by: Xie wei --- tests/TestSuite_cvl_advanced_rss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_cvl_advanced_rss.py b/tests/TestSuite_cvl_advanced_rss.py index 44c8b23..03ad6b0 100644 --- a/tests/TestSuite_cvl_advanced_rss.py +++ b/tests/TestSuite_cvl_advanced_rss.py @@ -851,7 +851,7 @@ class AdvancedRSSTest(TestCase): #Prepare testpmd EAL and parameters all_eal_param = self.dut.create_eal_parameters(ports=[self.pf_pci]) print(all_eal_param) #print eal parameters - command = "./%s/app/testpmd %s -- -i %s" % (self.dut.target, all_eal_param, "--rxq=64 --txq=64") + command = self.dut.apps_name['test-pmd'] + all_eal_param + " -- -i --rxq=64 --txq=64" return command def _rte_flow_validate_pattern(self, test_vectors, command, is_vxlan): From patchwork Fri Sep 11 02:19:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xie, WeiX" X-Patchwork-Id: 77296 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0E08BA04B5; Fri, 11 Sep 2020 04:19:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 020851C0D4; Fri, 11 Sep 2020 04:19:58 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id B33381B75C for ; Fri, 11 Sep 2020 04:19:56 +0200 (CEST) IronPort-SDR: 48qCMQk+IDBMdj69td/XACFWcM3Jdutojve1EGgKIYkvI1rKfmy8ZmKpiWzjzzBZiE12H1c4MK KQ5eWQYLEV4Q== X-IronPort-AV: E=McAfee;i="6000,8403,9740"; a="243499350" X-IronPort-AV: E=Sophos;i="5.76,413,1592895600"; d="scan'208";a="243499350" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Sep 2020 19:19:55 -0700 IronPort-SDR: P8PIaObx0EDICsLU3n1Y+aWtqpJi3ShnJ7b/nZAyejsZIHlExXgM41DI/nUctxGWM+VIXfM/D4 rTdIShu7axCw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,413,1592895600"; d="scan'208";a="318126645" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga002.jf.intel.com with ESMTP; 10 Sep 2020 19:19:54 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Fri, 11 Sep 2020 10:19:25 +0800 Message-Id: <20200911021928.8224-3-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200911021928.8224-1-weix.xie@intel.com> References: <20200911021928.8224-1-weix.xie@intel.com> Subject: [dts] [PATCH V1 2/5] tests/TestSuite_cvl_dcf_switch_filter:support meson build method 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" Signed-off-by: Xie wei --- tests/TestSuite_cvl_dcf_switch_filter.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/tests/TestSuite_cvl_dcf_switch_filter.py b/tests/TestSuite_cvl_dcf_switch_filter.py index d52e487..245e9df 100644 --- a/tests/TestSuite_cvl_dcf_switch_filter.py +++ b/tests/TestSuite_cvl_dcf_switch_filter.py @@ -1268,6 +1268,7 @@ class CVLDCFSwitchFilterTest(TestCase): #set vf driver self.vf_driver = 'vfio-pci' self.dut.send_expect('modprobe vfio-pci', '#') + self.path = self.dut.apps_name['test-pmd'] def setup_1pf_vfs_env(self, pf_port=0, driver='default'): @@ -1308,7 +1309,7 @@ class CVLDCFSwitchFilterTest(TestCase): vf0_pci = self.sriov_vfs_port_0[0].pci vf1_pci = self.sriov_vfs_port_0[1].pci all_eal_param = self.dut.create_eal_parameters(cores='1S/4C/1T',ports=[vf0_pci, vf1_pci], port_options={vf0_pci:"cap=dcf"}) - command = "./%s/app/testpmd %s -- -i" % (self.dut.target, all_eal_param) + command = self.path + all_eal_param + " -- -i" return command def launch_testpmd(self): @@ -1788,7 +1789,7 @@ class CVLDCFSwitchFilterTest(TestCase): vf1_pci = self.sriov_vfs_port_0[1].pci vf2_pci = self.sriov_vfs_port_0[2].pci all_eal_param = self.dut.create_eal_parameters(cores="1S/4C/1T", ports=[vf0_pci, vf1_pci, vf2_pci], port_options={vf0_pci:"cap=dcf"}) - command = "./%s/app/testpmd %s -- -i" % (self.dut.target, all_eal_param) + command = self.path + all_eal_param + " -- -i" out = self.dut.send_expect(command, "testpmd> ", 15) self.testpmd_status = "running" self.dut.send_expect("set portlist 1,2", "testpmd> ", 15) @@ -1839,7 +1840,7 @@ class CVLDCFSwitchFilterTest(TestCase): vf1_pci = self.sriov_vfs_port_0[1].pci vf2_pci = self.sriov_vfs_port_0[2].pci all_eal_param = self.dut.create_eal_parameters(cores="1S/4C/1T", ports=[vf0_pci, vf1_pci, vf2_pci], port_options={vf0_pci:"cap=dcf"}) - command = "./%s/app/testpmd %s -- -i" % (self.dut.target, all_eal_param) + command = self.path + all_eal_param + " -- -i" out = self.dut.send_expect(command, "testpmd> ", 15) self.testpmd_status = "running" self.dut.send_expect("set portlist 1,2", "testpmd> ", 15) @@ -1903,7 +1904,7 @@ class CVLDCFSwitchFilterTest(TestCase): vf1_pci = self.sriov_vfs_port_0[1].pci vf2_pci = self.sriov_vfs_port_0[2].pci all_eal_param = self.dut.create_eal_parameters(cores="1S/4C/1T", ports=[vf0_pci, vf1_pci, vf2_pci], port_options={vf0_pci:"cap=dcf"}) - command = "./%s/app/testpmd %s -- -i" % (self.dut.target, all_eal_param) + command = self.path + all_eal_param + " -- -i" out = self.dut.send_expect(command, "testpmd> ", 15) self.testpmd_status = "running" self.dut.send_expect("set portlist 1,2", "testpmd> ", 15) @@ -1955,7 +1956,7 @@ class CVLDCFSwitchFilterTest(TestCase): #launch testpmd vf0_pci = vf_pci[0] all_eal_param = self.dut.create_eal_parameters(cores="1S/4C/1T", ports=[vf0_pci], port_options={vf0_pci:"cap=dcf"}) - command = "./%s/app/testpmd %s -- -i" % (self.dut.target, all_eal_param) + command = self.path + all_eal_param + " -- -i" out = self.dut.send_expect(command, "testpmd> ", 15) self.testpmd_status = "running" #generate max_vf_number-1 rules to each vf and matched packets @@ -2049,7 +2050,7 @@ class CVLDCFSwitchFilterTest(TestCase): vf0_pci = self.sriov_vfs_port_0[0].pci vf1_pci = self.sriov_vfs_port_0[1].pci all_eal_param = self.dut.create_eal_parameters(cores="1S/4C/1T", ports=[vf0_pci, vf1_pci], port_options={vf0_pci:"cap=dcf"}) - command = "./%s/app/testpmd %s -- -i %s" % (self.dut.target, all_eal_param, "--cmdline-file=/tmp/testpmd_cmds_32k_switch_rules") + command = self.path + all_eal_param + " -- -i --cmdline-file=/tmp/testpmd_cmds_32k_switch_rules" out = self.dut.send_expect(command, "testpmd> ", 360) self.testpmd_status = "running" self.dut.send_expect("set portlist 1", "testpmd> ", 15) @@ -2143,7 +2144,7 @@ class CVLDCFSwitchFilterTest(TestCase): vf1_pci = self.sriov_vfs_port_0[1].pci vf2_pci = self.sriov_vfs_port_0[2].pci all_eal_param = self.dut.create_eal_parameters(cores="1S/4C/1T", ports=[vf0_pci, vf1_pci, vf2_pci], port_options={vf0_pci:"cap=dcf"}) - command = "./%s/app/testpmd %s -- -i" % (self.dut.target, all_eal_param) + command = self.path + all_eal_param + " -- -i" out = self.dut.send_expect(command, "testpmd> ", 15) self.testpmd_status = "running" self.dut.send_expect("set portlist 1,2", "testpmd> ", 15) From patchwork Fri Sep 11 02:19:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xie, WeiX" X-Patchwork-Id: 77297 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3A038A04B5; Fri, 11 Sep 2020 04:19:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3012D1C0CE; Fri, 11 Sep 2020 04:19:59 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id C0B141B75C for ; Fri, 11 Sep 2020 04:19:57 +0200 (CEST) IronPort-SDR: T33H2oMICLFb4k3xB8q4BYmsL+UhpJcgn+D22YMXzx0ZYldC6FmLfOAa7ic9virY8g8mhP+UWx fO0G7RxD7VKg== X-IronPort-AV: E=McAfee;i="6000,8403,9740"; a="243499353" X-IronPort-AV: E=Sophos;i="5.76,413,1592895600"; d="scan'208";a="243499353" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Sep 2020 19:19:57 -0700 IronPort-SDR: 7m2VmQDFENIwqOFhMTpH2TBe5ByA4u95SgZx95vOhr6Ae+7ZcPa+WXagxyXV4Sl3QZ0DYjr+2X s3QnOM8KZa9w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,413,1592895600"; d="scan'208";a="318126657" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga002.jf.intel.com with ESMTP; 10 Sep 2020 19:19:56 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Fri, 11 Sep 2020 10:19:26 +0800 Message-Id: <20200911021928.8224-4-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200911021928.8224-1-weix.xie@intel.com> References: <20200911021928.8224-1-weix.xie@intel.com> Subject: [dts] [PATCH V1 3/5] tests/TestSuite_cvl_fdir:support meson build method 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" Signed-off-by: Xie wei --- tests/TestSuite_cvl_fdir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_cvl_fdir.py b/tests/TestSuite_cvl_fdir.py index 3bbb830..474ec2c 100644 --- a/tests/TestSuite_cvl_fdir.py +++ b/tests/TestSuite_cvl_fdir.py @@ -3036,7 +3036,7 @@ class TestCVLFdir(TestCase): socket=self.ports_socket) param = " --log-level='ice,7' -- -i --portmask=%s --rxq=%d --txq=%d --port-topology=loop --cmdline-file=%s" % ( self.portMask, 64, 64, cmd_path) - command_line = self.dut.target + "/app/testpmd " + eal_param + param + command_line = self.dut.apps_name['test-pmd'] + eal_param + param out = self.dut.send_expect(command_line, 'testpmd>', timeout=600) self.verify('Failed to create file' not in out, "create some rule failed: %s" % out) self.config_testpmd() From patchwork Fri Sep 11 02:19:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xie, WeiX" X-Patchwork-Id: 77298 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 67499A04B5; Fri, 11 Sep 2020 04:20:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 581411C0DC; Fri, 11 Sep 2020 04:20:01 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 6C3C21C0DC for ; Fri, 11 Sep 2020 04:19:59 +0200 (CEST) IronPort-SDR: N/MERIIFL7yrRR64bVCwXefpxQHtUqL94RFnxWrDua6ya8KgsTn0+spIdz06whHZ8VX6yXahdb xoGIARsruVzA== X-IronPort-AV: E=McAfee;i="6000,8403,9740"; a="243499355" X-IronPort-AV: E=Sophos;i="5.76,413,1592895600"; d="scan'208";a="243499355" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Sep 2020 19:19:59 -0700 IronPort-SDR: klR/lpglHxOo6JRfhtIWLnKxf4plXMI2dyXrDFT5GlR4PD9diPvRANrH0np8jwsnhKRjIccdh/ JBiEM3Id9qaQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,413,1592895600"; d="scan'208";a="318126676" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga002.jf.intel.com with ESMTP; 10 Sep 2020 19:19:57 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Fri, 11 Sep 2020 10:19:27 +0800 Message-Id: <20200911021928.8224-5-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200911021928.8224-1-weix.xie@intel.com> References: <20200911021928.8224-1-weix.xie@intel.com> Subject: [dts] [PATCH V1 4/5] tests/TestSuite_cvl_rss_configure:support meson build method 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" Signed-off-by: Xie wei --- tests/TestSuite_cvl_rss_configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_cvl_rss_configure.py b/tests/TestSuite_cvl_rss_configure.py index c8ca6d5..65b4d57 100644 --- a/tests/TestSuite_cvl_rss_configure.py +++ b/tests/TestSuite_cvl_rss_configure.py @@ -202,7 +202,7 @@ class RSSConfigureTest(TestCase): #Prepare testpmd EAL and parameters all_eal_param = self.dut.create_eal_parameters(ports=[self.pf_pci]) print(all_eal_param) #print eal parameters - command = "./%s/app/testpmd %s -- -i %s" % (self.dut.target, all_eal_param, "--rxq=10 --txq=10" + line_option) + command = self.dut.apps_name['test-pmd'] + all_eal_param + " -- -i --rxq=10 --txq=10" + line_option return command def _rss_validate_pattern(self, test_vectors, command, rss_type, is_rss): From patchwork Fri Sep 11 02:19:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xie, WeiX" X-Patchwork-Id: 77299 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8C7A6A04B5; Fri, 11 Sep 2020 04:20:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 862AB1C0CA; Fri, 11 Sep 2020 04:20:02 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 9ABB61B75C for ; Fri, 11 Sep 2020 04:20:00 +0200 (CEST) IronPort-SDR: H22+6PN8IbChX4lLaZCWvH+BNCoa4zBXRGhGEQCzzEtaBFB6Fg429+Lb5uPIXwGMP03CNE+Ll1 9fHmDI3jvk7w== X-IronPort-AV: E=McAfee;i="6000,8403,9740"; a="243499356" X-IronPort-AV: E=Sophos;i="5.76,413,1592895600"; d="scan'208";a="243499356" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Sep 2020 19:20:00 -0700 IronPort-SDR: uYNH5U8k1rG5CTIV1bUhFCol13sntLxXMVEb6w9VvQTkfvhIJfVWONP7wuQZT99jRx4aVCq/3R /dJGcBH1KLFg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,413,1592895600"; d="scan'208";a="318126688" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga002.jf.intel.com with ESMTP; 10 Sep 2020 19:19:59 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Fri, 11 Sep 2020 10:19:28 +0800 Message-Id: <20200911021928.8224-6-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200911021928.8224-1-weix.xie@intel.com> References: <20200911021928.8224-1-weix.xie@intel.com> Subject: [dts] [PATCH V1 5/5] tests/TestSuite_cvl_switch_filter:support meson build method 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" Signed-off-by: Xie wei --- tests/TestSuite_cvl_switch_filter.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_cvl_switch_filter.py b/tests/TestSuite_cvl_switch_filter.py index 4e81a3e..296ab22 100644 --- a/tests/TestSuite_cvl_switch_filter.py +++ b/tests/TestSuite_cvl_switch_filter.py @@ -4527,6 +4527,7 @@ class CVLSwitchFilterTest(TestCase): self.bind_nics_driver(self.dut_ports, driver="vfio-pci") self.generate_file_with_fdir_rules() + self.path = self.dut.apps_name['test-pmd'] def set_up(self): """ @@ -4570,7 +4571,7 @@ class CVLSwitchFilterTest(TestCase): """ #Prepare testpmd EAL and parameters all_eal_param = self.dut.create_eal_parameters(cores='1S/4C/1T', ports=[0]) - command = "./%s/app/testpmd %s --log-level=\"ice,8\" -- -i %s" % (self.dut.target, all_eal_param, "--rxq=16 --txq=16 --cmdline-file=%s" % self.fdir_file) + command = self.path + all_eal_param + " --log-level=\"ice,8\" -- -i --rxq=16 --txq=16 --cmdline-file=%s" % self.fdir_file # command = "./%s/app/testpmd %s --log-level=\"ice,8\" -- -i %s" % (self.dut.target, all_eal_param, "--rxq=16 --txq=16") return command @@ -4580,7 +4581,7 @@ class CVLSwitchFilterTest(TestCase): """ #Prepare testpmd EAL and parameters all_eal_param = self.dut.create_eal_parameters(cores='1S/4C/1T', ports=[0], port_options={0:"pipeline-mode-support=1"}) - command = "./%s/app/testpmd %s --log-level=\"ice,8\" -- -i %s" % (self.dut.target, all_eal_param, "--rxq=16 --txq=16") + command = self.path + all_eal_param + " --log-level=\"ice,8\" -- -i --rxq=16 --txq=16" return command def launch_testpmd(self, is_non_pipeline):