test suite reviews and discussions
 help / color / mirror / Atom feed
From: qifu <qi.fu@intel.com>
To: dts@dpdk.org
Cc: qifu <qi.fu@intel.com>
Subject: [dts] [PATCH V1]test_plans/flexible_rxd_test_plan: add flexible descriptor RXID #22 test case
Date: Thu, 26 Nov 2020 11:36:58 -0500	[thread overview]
Message-ID: <20201126163658.35222-1-qi.fu@intel.com> (raw)

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@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


             reply	other threads:[~2020-11-26  7:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-26 16:36 qifu [this message]
2020-11-26  7:53 ` Tu, Lijuan

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=20201126163658.35222-1-qi.fu@intel.com \
    --to=qi.fu@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).