From: "Li, WenjieX A" <wenjiex.a.li@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>
Cc: "Li, WenjieX A" <wenjiex.a.li@intel.com>
Subject: Re: [dts] [PATCH V2 1/2] test_plans/enable_package_download_in_ice_driver:change cases
Date: Mon, 29 Jul 2019 07:59:27 +0000 [thread overview]
Message-ID: <8688172CD5C0B74590FAE19D9579F94B53767F2E@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <67D543A150B29E4CAAE53918F64EDAEA3773B389@SHSMSX103.ccr.corp.intel.com>
Tested-by: Li, WenjieX A <wenjiex.a.li@intel.com>
> -----Original Message-----
> From: Peng, Yuan
> Sent: Friday, July 26, 2019 4:48 PM
> To: Li, WenjieX A <wenjiex.a.li@intel.com>; dts@dpdk.org
> Cc: Peng, Yuan <yuan.peng@intel.com>
> Subject: RE: [dts][PATCH V2 1/2]
> test_plans/enable_package_download_in_ice_driver:change cases
>
> Acked-by: Peng, Yuan <yuan.peng@intel.com>
>
> -----Original Message-----
> From: Li, WenjieX A
> Sent: Friday, July 26, 2019 11:55 PM
> To: dts@dpdk.org
> Cc: Peng, Yuan <yuan.peng@intel.com>; Li, WenjieX A <wenjiex.a.li@intel.com>
> Subject: [dts][PATCH V2 1/2]
> test_plans/enable_package_download_in_ice_driver:change cases
>
> change test cases based on dpdk 603beeb970b5d87fa7.
>
> Signed-off-by: Wenjie Li <wenjiex.a.li@intel.com>
> ---
> ...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.
>
> -Test case 2: failed to download pkg
> -===================================
> +Test case 2: Driver enters Safe Mode successfully
> +=================================================
>
> 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
>
> 2. Start testpmd::
>
> - ./testpmd -c 0x3fe -n 6 -- -i --nb-cores=8 --rxq=8 --txq=8 \
> - --port-topology=chained
> + ./testpmd -c 0x3fe -n 6 \
> + -w PORT0_PCI,safe-mode-support=1 -w PORT1_PCI,safe-mode-support=1 \
> + -- -i --nb-cores=8 --rxq=8 --txq=8 --port-topology=chained
>
> There will be an error reported::
>
> @@ -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
> +===========================================
> +
> +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=8 --rxq=8 --txq=8 \
> + --port-topology=chained
> +
> + There will be an error reported::
> +
> + ice_dev_init(): Failed to load the DDP package,Use
> + safe-mode-support=1 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
next prev parent reply other threads:[~2019-07-29 7:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-26 15:55 Wenjie Li
2019-07-26 8:47 ` Peng, Yuan
2019-07-29 7:59 ` Li, WenjieX A [this message]
2019-07-26 15:55 ` [dts] [PATCH V2 2/2] tests/enable_package_download_in_ice_driver:change cases Wenjie Li
2019-07-26 8:51 ` Peng, Yuan
2019-07-29 7:59 ` Li, WenjieX A
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8688172CD5C0B74590FAE19D9579F94B53767F2E@SHSMSX103.ccr.corp.intel.com \
--to=wenjiex.a.li@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).