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 380D7A0487 for ; Mon, 29 Jul 2019 09:59:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E59891BF3F; Mon, 29 Jul 2019 09:59:33 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 12A791BF2C for ; Mon, 29 Jul 2019 09:59:31 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Jul 2019 00:59:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,322,1559545200"; d="scan'208";a="173791947" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga003.jf.intel.com with ESMTP; 29 Jul 2019 00:59:30 -0700 Received: from fmsmsx163.amr.corp.intel.com (10.18.125.72) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 29 Jul 2019 00:59:30 -0700 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by fmsmsx163.amr.corp.intel.com (10.18.125.72) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 29 Jul 2019 00:59:30 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.139]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.249]) with mapi id 14.03.0439.000; Mon, 29 Jul 2019 15:59:27 +0800 From: "Li, WenjieX A" To: "dts@dpdk.org" CC: "Li, WenjieX A" Thread-Topic: [dts][PATCH V2 1/2] test_plans/enable_package_download_in_ice_driver:change cases Thread-Index: AQHVQ3+wPMNOtT+xGUa9D68WnE04BqbcEH+AgAUvhHA= Date: Mon, 29 Jul 2019 07:59:27 +0000 Message-ID: <8688172CD5C0B74590FAE19D9579F94B53767F2E@SHSMSX103.ccr.corp.intel.com> References: <1564156515-53055-1-git-send-email-wenjiex.a.li@intel.com> <67D543A150B29E4CAAE53918F64EDAEA3773B389@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <67D543A150B29E4CAAE53918F64EDAEA3773B389@SHSMSX103.ccr.corp.intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V2 1/2] test_plans/enable_package_download_in_ice_driver:change cases 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" Tested-by: Li, WenjieX A > -----Original Message----- > From: Peng, Yuan > Sent: Friday, July 26, 2019 4:48 PM > To: Li, WenjieX A ; dts@dpdk.org > Cc: Peng, Yuan > Subject: RE: [dts][PATCH V2 1/2] > test_plans/enable_package_download_in_ice_driver:change cases >=20 > Acked-by: Peng, Yuan >=20 > -----Original Message----- > From: Li, WenjieX A > Sent: Friday, July 26, 2019 11:55 PM > To: dts@dpdk.org > Cc: Peng, Yuan ; Li, WenjieX A > Subject: [dts][PATCH V2 1/2] > test_plans/enable_package_download_in_ice_driver:change cases >=20 > change test cases based on dpdk 603beeb970b5d87fa7. >=20 > Signed-off-by: Wenjie Li > --- > ...ckage_download_in_ice_driver_test_plan.rst | 33 ++++++++++++++++--- > 1 file changed, 29 insertions(+), 4 deletions(-) >=20 > diff --git a/test_plans/enable_package_download_in_ice_driver_test_plan.r= st > b/test_plans/enable_package_download_in_ice_driver_test_plan.rst > index a6dcfc2..efe2f93 100644 > --- a/test_plans/enable_package_download_in_ice_driver_test_plan.rst > +++ b/test_plans/enable_package_download_in_ice_driver_test_plan.rst > @@ -94,8 +94,8 @@ Test case 1: Download the package successfully > with different IPV4/IPV6 address or TCP/UDP/SCTP ports, > the packets can be distributed to different rx queues. >=20 > -Test case 2: failed to download pkg > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > +Test case 2: Driver enters Safe Mode successfully > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > 1. Server power on, then put a new ice.pkg to > /lib/firmware/intel/ice/ddp/ice.pkg. > @@ -103,8 +103,9 @@ Test case 2: failed to download pkg >=20 > 2. Start testpmd:: >=20 > - ./testpmd -c 0x3fe -n 6 -- -i --nb-cores=3D8 --rxq=3D8 --txq=3D8 \ > - --port-topology=3Dchained > + ./testpmd -c 0x3fe -n 6 \ > + -w PORT0_PCI,safe-mode-support=3D1 -w PORT1_PCI,safe-mode-support=3D= 1 \ > + -- -i --nb-cores=3D8 --rxq=3D8 --txq=3D8 --port-topology=3Dchained >=20 > There will be an error reported:: >=20 > @@ -133,3 +134,27 @@ Test case 2: failed to download pkg 5. Send > UPD/TCP/SCTP+IPV4/IPV6 packets with packet generator > with different IPV4/IPV6 address or TCP/UDP/SCTP ports, > the packets can be only distributed to rx queue 0. > + > +Test case 3: Driver enters Safe Mode failed > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +1. Server power on, then put a new ice.pkg to > + /lib/firmware/intel/ice/ddp/ice.pkg. > + Make sure the new ice.pkg is different with the original one. > + > +2. Start testpmd:: > + > + ./testpmd -c 0x3fe -n 6 -- -i --nb-cores=3D8 --rxq=3D8 --txq=3D8 \ > + --port-topology=3Dchained > + > + There will be an error reported:: > + > + ice_dev_init(): Failed to load the DDP package,Use > + safe-mode-support=3D1 to enter Safe Mode > + > + The driver failed to go to safe mode. > + > +3. Check port info in testpmd:: > + > + testpmd> show port info all > + > + There is no listed port info. > \ No newline at end of file > -- > 2.17.1