test suite reviews and discussions
 help / color / mirror / Atom feed
From: Wenjie Li <wenjiex.a.li@intel.com>
To: dts@dpdk.org
Cc: yuan.peng@intel.com, Wenjie Li <wenjiex.a.li@intel.com>
Subject: [dts] [PATCH V2 1/2] test_plans/enable_package_download_in_ice_driver:change cases
Date: Fri, 26 Jul 2019 15:55:14 +0000	[thread overview]
Message-ID: <1564156515-53055-1-git-send-email-wenjiex.a.li@intel.com> (raw)

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


             reply	other threads:[~2019-07-26  6:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-26 15:55 Wenjie Li [this message]
2019-07-26  8:47 ` Peng, Yuan
2019-07-29  7:59   ` Li, WenjieX A
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=1564156515-53055-1-git-send-email-wenjiex.a.li@intel.com \
    --to=wenjiex.a.li@intel.com \
    --cc=dts@dpdk.org \
    --cc=yuan.peng@intel.com \
    /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).