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 B3F97A034F; Tue, 30 Mar 2021 10:57:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AB10B140D97; 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 788FA40691 for ; Tue, 30 Mar 2021 10:57:32 +0200 (CEST) IronPort-SDR: lYcA9jrqCVuNhsgduub/7PMFwB1oyY8t4YfFgCY1m3DWOjQHz8fmNGJoq83NOr3GTZ7YTHl5c3 Lk/mJnMs80YQ== X-IronPort-AV: E=McAfee;i="6000,8403,9938"; a="255716167" X-IronPort-AV: E=Sophos;i="5.81,290,1610438400"; d="scan'208";a="255716167" 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:30 -0700 IronPort-SDR: qtw1hoGISsyUTsokS0wKzovv4PNM8zFWJ19cDbpLLkJOkUGPsvmVDiSS2oLR6lyBCVncXwg0IC xT42gx8ksI2A== X-IronPort-AV: E=Sophos;i="5.81,290,1610438400"; d="scan'208";a="418077648" 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:29 -0700 From: Zhimin Huang To: dts@dpdk.org Cc: Zhimin Huang Date: Tue, 30 Mar 2021 16:44:46 +0800 Message-Id: <1617093887-25137-2-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 1/2] tests/cvl_dcf_acl_filter: 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 testplan pkg support and remove replace pkg in script Signed-off-by: Zhimin Huang --- test_plans/cvl_dcf_acl_filter_test_plan.rst | 6 ++---- tests/TestSuite_cvl_dcf_acl_filter.py | 16 ---------------- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/test_plans/cvl_dcf_acl_filter_test_plan.rst b/test_plans/cvl_dcf_acl_filter_test_plan.rst index e9267a5..cdccb69 100644 --- a/test_plans/cvl_dcf_acl_filter_test_plan.rst +++ b/test_plans/cvl_dcf_acl_filter_test_plan.rst @@ -57,11 +57,9 @@ Prerequisites dpdk: http://dpdk.org/git/dpdk scapy: http://www.secdev.org/projects/scapy/ -3. Copy specific ice package to /lib/firmware/updates/intel/ice/ddp/ice.pkg, - then load driver:: +3. Support ice pkg:: - rmmod ice - insmod ice.ko + os default/comms/wireless 4. Compile DPDK:: diff --git a/tests/TestSuite_cvl_dcf_acl_filter.py b/tests/TestSuite_cvl_dcf_acl_filter.py index 826da9c..1d516fc 100644 --- a/tests/TestSuite_cvl_dcf_acl_filter.py +++ b/tests/TestSuite_cvl_dcf_acl_filter.py @@ -749,12 +749,6 @@ class CVLDCFACLFilterTest(TestCase): self.testpmd_status = "close" #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 uio", "# ") @@ -784,16 +778,6 @@ class CVLDCFACLFilterTest(TestCase): port.bind_driver(self.vf_driver) time.sleep(15) - 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", "# ", 60) - self.dut.send_expect("insmod %s" % ice_driver_file_location, "# ", 60) - self.dut.send_expect("ifconfig %s up" % self.pf0_intf, "# ", 15) - self.dut.send_expect("ifconfig %s up" % self.tester_iface0, "# ", 15) - def set_up(self): """ Run before each test case. -- 1.8.3.1