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 DCE52A0518; Fri, 24 Jul 2020 04:40:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9D55C1D531; Fri, 24 Jul 2020 04:40:35 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 0D1051C211 for ; Fri, 24 Jul 2020 04:40:33 +0200 (CEST) IronPort-SDR: ULHsbxxjHacpVYR0GZIJZTbquCmaccdUb7QZx3O/HnjGaJ7f0N5WIUbdUROPXPRdss6gN9OMKl 2HM9bbY4uVwg== X-IronPort-AV: E=McAfee;i="6000,8403,9691"; a="212185761" X-IronPort-AV: E=Sophos;i="5.75,389,1589266800"; d="scan'208";a="212185761" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jul 2020 19:40:33 -0700 IronPort-SDR: S52w4lr4eLOYRv6UpzjwTCUBV/PMUcO1SigAY01PU+qlbZsDbAAUraoNi9/MdV3By4rQcN0A3p Wg+NSf8RKS3Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,389,1589266800"; d="scan'208";a="271220366" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga007.fm.intel.com with ESMTP; 23 Jul 2020 19:40:32 -0700 Received: from fmsmsx122.amr.corp.intel.com (10.18.125.37) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 23 Jul 2020 19:40:32 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx122.amr.corp.intel.com (10.18.125.37) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 23 Jul 2020 19:40:32 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.22]) by shsmsx102.ccr.corp.intel.com ([169.254.2.43]) with mapi id 14.03.0439.000; Fri, 24 Jul 2020 10:40:29 +0800 From: "Tu, Lijuan" To: "Xie, WeiX" , "dts@dpdk.org" CC: "Xie, WeiX" Thread-Topic: [dts] [PATCH V1] tests/cvl_advanced_iavf_rss:change load ice package mode Thread-Index: AQHWXybM5UJpvVBfZ0yow4rlMQiuqqkWCUBA Date: Fri, 24 Jul 2020 02:40:29 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC840FD@SHSMSX101.ccr.corp.intel.com> References: <20200721061914.13088-1-weix.xie@intel.com> In-Reply-To: <20200721061914.13088-1-weix.xie@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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" Applied, thanks > -----Original Message----- > From: dts On Behalf Of Xie wei > Sent: 2020=1B$BG/=1B(B7=1B$B7n=1B(B21=1B$BF|=1B(B 14:19 > To: dts@dpdk.org > Cc: Xie, WeiX > Subject: [dts] [PATCH V1] tests/cvl_advanced_iavf_rss:change load ice pac= kage > mode >=20 > use conf/xxx.cfg mode load ice package. >=20 > 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 >=20 > 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=3D/lib/firmware/updates/intel/ice/ddp/i= c > +e-1.3.13.0.pkg > +comms_package_file_location=3D/lib/firmware/updates/intel/ice/ddp/ice_co= m > +ms-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 >=20 > vf0_mac =3D "00:01:23:45:67:89" > @@ -735,8 +736,11 @@ class AdvancedIavfRSSTest(TestCase): > self.pf_pci =3D self.dut.ports_info[self.dut_ports[0]]['pci'] > self.verify(self.nic in ["columbiaville_25g", "columbiaville_100= g"], "%s nic > not support ethertype filter" % self.nic) > self.ddp_fdir =3D "/lib/firmware/updates/intel/ice/ddp/" > - self.os_pkg_name =3D "ice-1.3.11.0.pkg" > - self.comms_pkg_name =3D "ice_comms-1.3.16.0.pkg" > + conf_file =3D 'conf/cvl_advanced_iavf_rss_package.cfg' > + conf_info =3D UserConf(conf_file) > + conf_section =3D conf_info.conf._sections['suite'] > + self.os_pkg_name =3D conf_section['os_default_package_file_locat= ion'] > + self.comms_pkg_name =3D > + conf_section['comms_package_file_location'] > self.vf_flag =3D False > self.create_iavf() >=20 > -- > 2.17.1