[dts] [PATCH V1]test_plans/flexible_rxd_test_plan: add flexible descriptor RXID #22 test case

qifu qi.fu at intel.com
Thu Nov 26 17:36:58 CET 2020


add flexible descriptor RXID #22 test case
this feature can be covered by regression test cases, just need to add 1 new case.
Check effect of replacing pkg from RXID #22 to RXID #16.

Signed-off-by: qifu <qi.fu at intel.com>
---
 test_plans/flexible_rxd_test_plan.rst | 33 ++++++++++++++++++++++++++-
 1 file changed, 32 insertions(+), 1 deletion(-)

diff --git a/test_plans/flexible_rxd_test_plan.rst b/test_plans/flexible_rxd_test_plan.rst
index 49850022..1520d5f6 100644
--- a/test_plans/flexible_rxd_test_plan.rst
+++ b/test_plans/flexible_rxd_test_plan.rst
@@ -340,4 +340,35 @@ Expected output in testpmd::
 
   Receive queue=0x3f
   doff=5
-  flags=AS
\ No newline at end of file
+  flags=AS
+
+
+Test Case 12: Check effect of replacing pkg from RXID #22 to RXID #16
+=====================================================================
+
+Put the ice.pkg with RXID #16(ice-1.3.7.0.pkg and more) to /lib/firmware/updates/intel/ice/ddp/ice.pkg, then reload ice driver::
+
+  rmmod ice
+  modprobe ice
+
+Make sure the new ice.pkg is different with the original one. Take 'dmesg' command to get ice.pkg version::
+
+  dmesg | grep package
+
+Start the testpmd::
+
+  ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xff -n 4 -- -i --rxq=64 --txq=64
+
+Check the testpmd started failed. Failed info output::
+
+  Port (0) - Rx queue (0) is set with RXDID : 16
+  ice_rx_queue_start(): fail to program RX queue 0
+  ice_dev_start(): fail to start Rx queue 0
+  Fail to start port 0
+  Please stop the ports first
+  Port (0) - Rx queue (0) is set with RXDID : 16
+
+Replace correct ice.pkg to /lib/firmware/updates/intel/ice/ddp/ice.pkg,then reload ice driver::
+
+  rmmod ice
+  modprobe ice.ko
-- 
2.17.1



More information about the dts mailing list