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 93569A046B for ; Fri, 26 Jul 2019 10:47:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 89F0A1C3DF; Fri, 26 Jul 2019 10:47:54 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 14CDC1C3D3 for ; Fri, 26 Jul 2019 10:47:52 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jul 2019 01:47:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,310,1559545200"; d="scan'208";a="194152271" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga004.fm.intel.com with ESMTP; 26 Jul 2019 01:47:52 -0700 Received: from fmsmsx163.amr.corp.intel.com (10.18.125.72) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 26 Jul 2019 01:47:51 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by fmsmsx163.amr.corp.intel.com (10.18.125.72) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 26 Jul 2019 01:47:51 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.139]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.65]) with mapi id 14.03.0439.000; Fri, 26 Jul 2019 16:47:49 +0800 From: "Peng, Yuan" To: "Li, WenjieX A" , "dts@dpdk.org" CC: "Peng, Yuan" Thread-Topic: [dts][PATCH V2 1/2] test_plans/enable_package_download_in_ice_driver:change cases Thread-Index: AQHVQ3+wGCXan4JtVEapJSqisnrFYabcljsA Date: Fri, 26 Jul 2019 08:47:49 +0000 Message-ID: <67D543A150B29E4CAAE53918F64EDAEA3773B389@SHSMSX103.ccr.corp.intel.com> References: <1564156515-53055-1-git-send-email-wenjiex.a.li@intel.com> In-Reply-To: <1564156515-53055-1-git-send-email-wenjiex.a.li@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZjZhZGY0MzktZTljMS00YmQwLTlmYjItMTAwYWE0M2NjNGNiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoicHc0M0djdFhPRW1kRGV0K21Ka01vYkRpMHlTMXdqRjRvTEw3UFVtd1Y2elwvbTlkcnBQeU1TSWFnNDRDblwvUzVXIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action 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" Acked-by: Peng, Yuan -----Original Message----- From: Li, WenjieX A=20 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_driv= er:change cases change test cases based on dpdk 603beeb970b5d87fa7. Signed-off-by: Wenjie Li --- ...ckage_download_in_ice_driver_test_plan.rst | 33 ++++++++++++++++--- 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/test_plans/enable_package_download_in_ice_driver_test_plan.rst= 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=20 +=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=3D1 = \ + -- -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/S= CTP+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=20 +=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=20 + 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