From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1CB4CA0547; Tue, 30 Mar 2021 10:57:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D2B9E140DAC; Tue, 30 Mar 2021 10:57:33 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 99036140D97 for ; Tue, 30 Mar 2021 10:57:32 +0200 (CEST) IronPort-SDR: /8A+k+MRdtlAZP72VZi3RoPptqswDh5U7w9Q6WD77tyOf0sABmzGHAMeELS9cIJs+mv5cOy504 GYrRcUIw6j5w== X-IronPort-AV: E=McAfee;i="6000,8403,9938"; a="255716169" X-IronPort-AV: E=Sophos;i="5.81,290,1610438400"; d="scan'208";a="255716169" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2021 01:57:32 -0700 IronPort-SDR: 4BOLOECUHfpnMApjdRV/UT9mRm2LPNSRE/LQ3Xj8gFg1+BKeaHYBwICepZ3o5D+3OSFoPS+UD8 81qdCP2xEEvw== X-IronPort-AV: E=Sophos;i="5.81,290,1610438400"; d="scan'208";a="418077654" Received: from unknown (HELO dpdk-huangzm-d.sh.intel.com) ([10.240.183.72]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2021 01:57:31 -0700 From: Zhimin Huang To: dts@dpdk.org Cc: Zhimin Huang Date: Tue, 30 Mar 2021 16:44:47 +0800 Message-Id: <1617093887-25137-3-git-send-email-zhiminx.huang@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1617093887-25137-1-git-send-email-zhiminx.huang@intel.com> References: <1617093887-25137-1-git-send-email-zhiminx.huang@intel.com> Subject: [dts] [PATCH V1 2/2] tests/cvl_limit_value_test: remove replace pkg code 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 Sender: "dts" *.update test plan support pkg and remove replace pkg in script Signed-off-by: Zhimin Huang --- test_plans/cvl_limit_value_test_test_plan.rst | 5 +++-- tests/TestSuite_cvl_limit_value_test.py | 15 --------------- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/test_plans/cvl_limit_value_test_test_plan.rst b/test_plans/cvl_limit_value_test_test_plan.rst index 8c8402e..242eb9a 100644 --- a/test_plans/cvl_limit_value_test_test_plan.rst +++ b/test_plans/cvl_limit_value_test_test_plan.rst @@ -66,8 +66,9 @@ Prerequisites DPDK: http://dpdk.org/git/dpdk scapy: http://www.secdev.org/projects/scapy/ -3. Copy specific ice package to /lib/firmware/intel/ice/ddp/ice.pkg - Then reboot server, and compile DPDK +3. Support ice pkg:: + + os default/comms/wireless 4. Generate 2 VFs on each PF and set mac address for each VF:: diff --git a/tests/TestSuite_cvl_limit_value_test.py b/tests/TestSuite_cvl_limit_value_test.py index 77ce016..b806474 100644 --- a/tests/TestSuite_cvl_limit_value_test.py +++ b/tests/TestSuite_cvl_limit_value_test.py @@ -189,15 +189,6 @@ class TestCvlLimitValue(TestCase): self.dut.destroy_sriov_vfs_by_port(self.dut_ports[0]) self.dut.destroy_sriov_vfs_by_port(self.dut_ports[1]) - def re_load_ice_driver(self): - """ - remove and reload the ice driver - """ - ice_driver_file_location = self.suite_config["ice_driver_file_location"] - self.dut.send_expect("rmmod ice", "# ", 15) - self.dut.send_expect("insmod %s" % ice_driver_file_location, "# ", 60) - time.sleep(5) - def config_testpmd(self): self.pmd_output.execute_cmd("set fwd rxonly") self.pmd_output.execute_cmd("set verbose 1") @@ -813,12 +804,6 @@ class TestCvlLimitValue(TestCase): def test_max_rule_number(self): #bind pf to kernel self.bind_nics_driver(self.dut_ports, driver="ice") - #move comms package to package folder - self.suite_config = rfc.get_suite_config(self) - comms_package_location = self.suite_config["comms_package_file_location"] - package_location = self.suite_config["package_file_location"] - self.dut.send_expect("cp %s %s" % (comms_package_location, package_location), "# ") - self.re_load_ice_driver() #set vf driver self.vf_driver = 'vfio-pci' self.dut.send_expect('modprobe vfio-pci', '#') -- 1.8.3.1