From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id AD84CA04D8; Tue, 11 Aug 2020 05:48:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9DBCF1C00D; Tue, 11 Aug 2020 05:48:56 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 6C11F2B91 for ; Tue, 11 Aug 2020 05:48:55 +0200 (CEST) IronPort-SDR: oItni8vYTA6KI4PkRK4WHfcoPHN/MVURUh1mKBMT8wyOVosACczLlY8f/92FG2MLb3Uw5wsRvc A/FfTWX/CyOQ== X-IronPort-AV: E=McAfee;i="6000,8403,9709"; a="133718351" X-IronPort-AV: E=Sophos;i="5.75,459,1589266800"; d="scan'208";a="133718351" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Aug 2020 20:48:52 -0700 IronPort-SDR: pkndgZ+ZdfrSMlpIb/EqZMbrDEz9r0RIS47arvZ2XsjPzMJV9F9rWqnO6GO3FpR5y3d9ZREd7d elAIzGzK0Uug== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,459,1589266800"; d="scan'208";a="308281213" Received: from intel.sh.intel.com ([10.239.255.48]) by orsmga002.jf.intel.com with ESMTP; 10 Aug 2020 20:48:50 -0700 From: Junyu Jiang To: dts@dpdk.org Cc: Junyu Jiang Date: Tue, 11 Aug 2020 03:26:02 +0000 Message-Id: <20200811032603.51352-1-junyux.jiang@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH 1/2] test_plans/fortville_rss_input_test_plan.rst: add flow query test case X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Signed-off-by: Junyu Jiang --- 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..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. -- 2.17.1