test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1 1/2] test_plans/enable_package_download_in_ice: chaneg cases
@ 2019-07-26 15:40 Wenjie Li
  2019-07-26 15:41 ` [dts] [PATCH V1 2/2] tests/enable_package_download_in_ice: change cases Wenjie Li
  0 siblings, 1 reply; 2+ messages in thread
From: Wenjie Li @ 2019-07-26 15:40 UTC (permalink / raw)
  To: dts; +Cc: Wenjie Li

change 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-26  6:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-26 15:40 [dts] [PATCH V1 1/2] test_plans/enable_package_download_in_ice: chaneg cases Wenjie Li
2019-07-26 15:41 ` [dts] [PATCH V1 2/2] tests/enable_package_download_in_ice: change cases Wenjie Li

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).