[1/2] test_plans/fortville_rss_input_test_plan.rst: add flow query test case
diff mbox series

Message ID 20200811032603.51352-1-junyux.jiang@intel.com
State Superseded
Headers show
Series
  • [1/2] test_plans/fortville_rss_input_test_plan.rst: add flow query test case
Related show

Commit Message

Junyu Jiang Aug. 11, 2020, 3:26 a.m. UTC
Signed-off-by: Junyu Jiang <junyux.jiang@intel.com>
---
 test_plans/fortville_rss_input_test_plan.rst | 32 ++++++++++++++++++++
 1 file changed, 32 insertions(+)

Patch
diff mbox series

diff --git a/test_plans/fortville_rss_input_test_plan.rst b/test_plans/fortville_rss_input_test_plan.rst
index 7dbb231..ce077a5 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 infomation 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.