test suite reviews and discussions
 help / color / mirror / Atom feed
From: Junyu Jiang <junyux.jiang@intel.com>
To: dts@dpdk.org
Cc: Junyu Jiang <junyux.jiang@intel.com>
Subject: [dts] [PATCH v2 1/2] test_plans/fortville_rss_input_test_plan.rst: add flow query test case
Date: Tue, 11 Aug 2020 06:07:44 +0000	[thread overview]
Message-ID: <20200811060745.16434-1-junyux.jiang@intel.com> (raw)
In-Reply-To: <20200811032603.51352-1-junyux.jiang@intel.com>

add test case for rss flow query.

Signed-off-by: Junyu Jiang <junyux.jiang@intel.com>
---
 test_plans/fortville_rss_input_test_plan.rst | 32 ++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/test_plans/fortville_rss_input_test_plan.rst b/test_plans/fortville_rss_input_test_plan.rst
index 7dbb231..925a08d 100644
--- a/test_plans/fortville_rss_input_test_plan.rst
+++ b/test_plans/fortville_rss_input_test_plan.rst
@@ -598,3 +598,35 @@ Test Case: test flow validate
          flow validate 0 ingress pattern eth / ipv4 / tcp / end actions rss types ipv4-tcp l3-dst-only end queues 0 1 end / end
 
    verify the rule validate failed.
+
+Test Case: test query RSS rule
+==============================
+
+create different RSS rules::
+
+    testpmd> flow create 0 ingress pattern eth / ipv4 / tcp / end actions rss types ipv4-tcp end queues end / end
+    testpmd> flow create 0 ingress pattern eth / ipv4 / udp / end actions rss types ipv4-udp l3-src-only end queues end func symmetric_toeplitz / end
+    testpmd> flow create 0 ingress pattern end actions rss types end queues end func simple_xor / end
+    testpmd> flow create 0 ingress pattern end actions rss types end queues 1 2 end / end
+    testpmd> flow list 0
+
+verify the Rules create successfully.
+
+query::
+
+    testpmd> flow query 0 0 rss
+    testpmd> flow query 0 1 rss
+    testpmd> flow query 0 2 rss
+    testpmd> flow query 0 3 rss
+
+verify the function, type and queues information correct.
+
+delete all the rss rules::
+
+    testpmd> flow flush 0
+
+query::
+
+    testpmd> flow query 0 0 rss
+
+verify the testpmd report none rss rule exist.
-- 
2.17.1


  parent reply	other threads:[~2020-08-11  6:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-11  3:26 [dts] [PATCH " Junyu Jiang
2020-08-11  3:26 ` [dts] [PATCH 2/2] tests/TestSuite_fortville_rss_input.py add flow query Junyu Jiang
2020-08-11  6:07 ` Junyu Jiang [this message]
2020-08-11  6:07   ` [dts] [PATCH v2 2/2] tests/TestSuite_fortville_rss_input.py add flow query test case Junyu Jiang
2020-08-12  1:30     ` Fu, Qi
2020-08-13  3:00     ` Tu, Lijuan
2020-08-12  1:29   ` [dts] [PATCH v2 1/2] test_plans/fortville_rss_input_test_plan.rst: " Fu, Qi
2020-08-13  2:59   ` 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=20200811060745.16434-1-junyux.jiang@intel.com \
    --to=junyux.jiang@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).