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 5EF54A0526; Tue, 21 Jul 2020 08:18:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 119151BFFF; Tue, 21 Jul 2020 08:18:14 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 76D081BFFE for ; Tue, 21 Jul 2020 08:18:12 +0200 (CEST) IronPort-SDR: HnOkiCmGJRx06mg6gW6S38OeOyE9DJoXCD/AL4XYBbxSqywvzz17hB8bqNoBMU+bXZpzfjMe6t RR0196wZYepg== X-IronPort-AV: E=McAfee;i="6000,8403,9688"; a="151414620" X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="151414620" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 23:18:11 -0700 IronPort-SDR: Jfq6RGgYDJqYvUsK8eqzBRJviwjInm2mPxl+kZjqGGK7m+Q5stWyR6SJQK1tVW7wd7jNUmhHs9 5Wjmeb2HZ/NQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="392254427" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by fmsmga001.fm.intel.com with ESMTP; 20 Jul 2020 23:18:10 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Tue, 21 Jul 2020 14:19:14 +0800 Message-Id: <20200721061914.13088-1-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/cvl_advanced_iavf_rss:change load ice package mode 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" use conf/xxx.cfg mode load ice package. Signed-off-by: Xie wei --- conf/cvl_advanced_iavf_rss_package.cfg | 4 ++++ tests/TestSuite_cvl_advanced_iavf_rss.py | 8 ++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 conf/cvl_advanced_iavf_rss_package.cfg diff --git a/conf/cvl_advanced_iavf_rss_package.cfg b/conf/cvl_advanced_iavf_rss_package.cfg new file mode 100644 index 0000000..228d481 --- /dev/null +++ b/conf/cvl_advanced_iavf_rss_package.cfg @@ -0,0 +1,4 @@ +[suite] +# cvl_advanced_iavf_rss ice package file location +os_default_package_file_location=/lib/firmware/updates/intel/ice/ddp/ice-1.3.13.0.pkg +comms_package_file_location=/lib/firmware/updates/intel/ice/ddp/ice_comms-1.3.16.0.pkg diff --git a/tests/TestSuite_cvl_advanced_iavf_rss.py b/tests/TestSuite_cvl_advanced_iavf_rss.py index eaf55fa..349cb40 100644 --- a/tests/TestSuite_cvl_advanced_iavf_rss.py +++ b/tests/TestSuite_cvl_advanced_iavf_rss.py @@ -4,6 +4,7 @@ import time from packet import Packet from pmd_output import PmdOutput from test_case import TestCase +from config import UserConf import rte_flow_common as rfc vf0_mac = "00:01:23:45:67:89" @@ -735,8 +736,11 @@ class AdvancedIavfRSSTest(TestCase): self.pf_pci = self.dut.ports_info[self.dut_ports[0]]['pci'] self.verify(self.nic in ["columbiaville_25g", "columbiaville_100g"], "%s nic not support ethertype filter" % self.nic) self.ddp_fdir = "/lib/firmware/updates/intel/ice/ddp/" - self.os_pkg_name = "ice-1.3.11.0.pkg" - self.comms_pkg_name = "ice_comms-1.3.16.0.pkg" + conf_file = 'conf/cvl_advanced_iavf_rss_package.cfg' + conf_info = UserConf(conf_file) + conf_section = conf_info.conf._sections['suite'] + self.os_pkg_name = conf_section['os_default_package_file_location'] + self.comms_pkg_name = conf_section['comms_package_file_location'] self.vf_flag = False self.create_iavf() -- 2.17.1