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 960EAA04F5; Fri, 19 Jun 2020 06:57:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 83B29F04; Fri, 19 Jun 2020 06:57:50 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 763923B5 for ; Fri, 19 Jun 2020 06:57:48 +0200 (CEST) IronPort-SDR: LlBhDkunhczHWSblYO48k2djG7SrnkwXf3FHMi74w1N25BheF9O8AWrxfQq4H/IeuL+8N8w1qq 2ks8oCkK13vw== X-IronPort-AV: E=McAfee;i="6000,8403,9656"; a="160945594" X-IronPort-AV: E=Sophos;i="5.75,253,1589266800"; d="scan'208";a="160945594" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jun 2020 21:57:47 -0700 IronPort-SDR: 2x8zIPhuXJwuhbeTmbNtwcrq0PAqk5fK+yGrKxrOWBDNiHCetE1dT4hOr6xIb1Fi9Lxv/91Aqb z0fbbJCIv/LQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,253,1589266800"; d="scan'208";a="309326750" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga008.jf.intel.com with ESMTP; 18 Jun 2020 21:57:47 -0700 Received: from fmsmsx154.amr.corp.intel.com (10.18.116.70) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 18 Jun 2020 21:57:46 -0700 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by FMSMSX154.amr.corp.intel.com (10.18.116.70) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 18 Jun 2020 21:57:46 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.85]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.221]) with mapi id 14.03.0439.000; Fri, 19 Jun 2020 12:57:43 +0800 From: "Tu, Lijuan" To: "Zhang, XiX" , "dts@dpdk.org" CC: "Zhang, XiX" Thread-Topic: [dts] [PATCH V1] tests/TestSuite_rss_to_rte_flow:add nic support list Thread-Index: AQHWQupRUFkoTTWwnUiSiiaFTUqGRqjfZnGw Date: Fri, 19 Jun 2020 04:57:42 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC5FC22@SHSMSX101.ccr.corp.intel.com> References: <1592207794-20542-1-git-send-email-xix.zhang@intel.com> In-Reply-To: <1592207794-20542-1-git-send-email-xix.zhang@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] tests/TestSuite_rss_to_rte_flow:add nic support list 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" Applied, thanks -----Original Message----- From: dts On Behalf Of xizhan4x Sent: 2020=1B$BG/=1B(B6=1B$B7n=1B(B15=1B$BF|=1B(B 15:57 To: dts@dpdk.org Cc: Zhang, XiX Subject: [dts] [PATCH V1] tests/TestSuite_rss_to_rte_flow:add nic support l= ist From: "Zhang,Xi" TestSuite_rss_to_rte_flow:add nic support list i40e or igb&ixgbe Signed-off-by: Zhang,Xi --- conf/test_case_supportlist.json | 279 +++++++++++++++++++++++++++++++++= ++++ tests/TestSuite_rss_to_rte_flow.py | 30 ++-- 2 files changed, 294 insertions(+), 15 deletions(-) diff --git a/conf/test_case_supportlist.json b/conf/test_case_supportlist.j= son index 50101af..496f0af 100644 --- a/conf/test_case_supportlist.json +++ b/conf/test_case_supportlist.json @@ -1929,5 +1929,284 @@ "Bug ID": "", "Comments": "This case only support i40e nic " } + ], + "queue_region_with_rte_flow_api": [ + { + "OS": [ + "ALL" + ], + "NIC": [ + "fortville_eagle", + "fortville_spirit", + "fortville_spirit_single", + "fortpark_TLV", + "fortpark_BASE-T", + "fortville_25g", + "carlsville" + ], + "Target": [ + "ALL" + ], + "Bug ID": "", + "Comments": "This case only support i40e nic " + } + ], + "flow_director_rss_rule_combination": [ + { + "OS": [ + "ALL" + ], + "NIC": [ + "fortville_eagle", + "fortville_spirit", + "fortville_spirit_single", + "fortpark_TLV", + "fortpark_BASE-T", + "fortville_25g", + "carlsville" + ], + "Target": [ + "ALL" + ], + "Bug ID": "", + "Comments": "This case only support i40e nic " + } + ], + "set_rss_queues": [ + { + "OS": [ + "ALL" + ], + "NIC": [ + "fortville_eagle", + "fortville_spirit", + "carlsville", + "fortville_spirit_single", + "fortpark_TLV", + "fortpark_BASE-T", + "fortville_25g" + ], + "Target": [ + "ALL" + ], + "Bug ID": "", + "Comments": "This case only support i40e nic " + } + ], + "set_rss_types_rss_queue": [ + { + "OS": [ + "ALL" + ], + "NIC": [ + "fortville_eagle", + "fortville_spirit", + "carlsville", + "fortville_spirit_single", + "fortpark_TLV", + "fortpark_BASE-T", + "fortville_25g" + ], + "Target": [ + "ALL" + ], + "Bug ID": "", + "Comments": "This case only support i40e nic " + } + ], + "disable_rss_in_commandline": [ + { + "OS": [ + "ALL" + ], + "NIC": [ + "fortville_eagle", + "fortville_spirit", + "carlsville", + "fortville_spirit_single", + "fortpark_TLV", + "fortpark_BASE-T", + "fortville_25g" + ], + "Target": [ + "ALL" + ], + "Bug ID": "", + "Comments": "This case only support i40e nic " + } + ], + "queue_region_in_rte_flow_with_invalid_parameter": [ + { + "OS": [ + "ALL" + ], + "NIC": [ + "fortville_eagle", + "fortville_spirit", + "carlsville", + "fortville_spirit_single", + "fortpark_TLV", + "fortpark_BASE-T", + "fortville_25g" + ], + "Target": [ + "ALL" + ], + "Bug ID": "", + "Comments": "This case only support i40e nic " + } + ], + "set_rss_types": [ + { + "OS": [ + "ALL" + ], + "NIC": [ + "fortville_eagle", + "fortville_spirit", + "carlsville", + "fortville_spirit_single", + "fortpark_TLV", + "fortpark_BASE-T", + "fortville_25g" + ], + "Target": [ + "ALL" + ], + "Bug ID": "", + "Comments": "This case only support i40e nic " + } + ], + "disable_rss_in_commandline_ixgbe_igb": [ + { + "OS": [ + "ALL" + ], + "NIC": [ + "niantic", + "ironpond", + "twinpond", + "twinville", + "sageville", + "sagepond", + "springville", + "powerville" + ], + "Target": [ + "ALL" + ], + "Bug ID": "", + "Comments": "This case only support ixgbe and igb nic " + } + ], + "disable_enable_rss_ixgbe_igb": [ + { + "OS": [ + "ALL" + ], + "NIC": [ + "niantic", + "ironpond", + "twinpond", + "twinville", + "sageville", + "sagepond", + "springville", + "powerville" + ], + "Target": [ + "ALL" + ], + "Bug ID": "", + "Comments": "This case only support ixgbe and igb nic " + } + ], + "rss_queue_rule_ixgbe_igb": [ + { + "OS": [ + "ALL" + ], + "NIC": [ + "niantic", + "ironpond", + "twinpond", + "twinville", + "sageville", + "sagepond", + "springville", + "powerville" + ], + "Target": [ + "ALL" + ], + "Bug ID": "", + "Comments": "This case only support ixgbe and igb nic " + } + ], + "different_types_ixgbe_igb": [ + { + "OS": [ + "ALL" + ], + "NIC": [ + "niantic", + "ironpond", + "twinpond", + "twinville", + "sageville", + "sagepond", + "springville", + "powerville" + ], + "Target": [ + "ALL" + ], + "Bug ID": "", + "Comments": "This case only support ixgbe and igb nic " + } + ], + "enable_ipv4_udp_rss_ixgbe_igb": [ + { + "OS": [ + "ALL" + ], + "NIC": [ + "niantic", + "ironpond", + "twinpond", + "twinville", + "sageville", + "sagepond", + "springville", + "powerville" + ], + "Target": [ + "ALL" + ], + "Bug ID": "", + "Comments": "This case only support ixgbe and igb nic " + } + ], + "flow_director_rss_rule_combination_ixgbe_igb": [ + { + "OS": [ + "ALL" + ], + "NIC": [ + "niantic", + "ironpond", + "twinpond", + "twinville", + "sageville", + "sagepond", + "springville", + "powerville" + ], + "Target": [ + "ALL" + ], + "Bug ID": "", + "Comments": "This case only support ixgbe and igb nic " + } ] } diff --git a/tests/TestSuite_rss_to_rte_flow.py b/tests/TestSuite_rss_to_rt= e_flow.py index 0745d24..469a271 100644 --- a/tests/TestSuite_rss_to_rte_flow.py +++ b/tests/TestSuite_rss_to_rte_flow.py @@ -301,7 +301,7 @@ class TestRSS_to_Rteflow(TestCase): Disable and enable RSS. """ self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "c= arlsville", - "fortville_spirit_single", "fortpark_TLV"= , "fortville_25g"], "NIC Unsupported: " + str(self.nic)) + "fortville_spirit_single",=20 + "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported:=20 + " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D4 --txq=3D4 = --port-topology=3Dchained") self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -400,7 = +400,7 @@ class TestRSS_to_Rteflow(TestCase): Set valid and invalid parameter. """ self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "c= arlsville", - "fortville_spirit_single", "fortpark_TLV"= , "fortville_25g"], "NIC Unsupported: " + str(self.nic)) + "fortville_spirit_single",=20 + "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported:=20 + " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D8 --txq=3D8 = --port-topology=3Dchained") self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -479,7 = +479,7 @@ class TestRSS_to_Rteflow(TestCase): Set valid and invalid parameter. """ self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "c= arlsville", - "fortville_spirit_single", "fortpark_TLV"= , "fortville_25g"], "NIC Unsupported: " + str(self.nic)) + "fortville_spirit_single",=20 + "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported:=20 + " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D8 --txq=3D8 = --port-topology=3Dchained") self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -541,7 = +541,7 @@ class TestRSS_to_Rteflow(TestCase): """ # Only supported by i40e self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "c= arlsville", - "fortville_spirit_single", "fortpark_TLV"= , "fortville_25g"], "NIC Unsupported: " + str(self.nic)) + "fortville_spirit_single",=20 + "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported:=20 + " + str(self.nic)) pkt1 =3D "Ether(dst=3D'%s')/IP(src=3D'0.0.0.0',dst=3D'4.0.0.0')/UD= P(sport=3D100, dport=3D200)/('X'*48)" % self.pf0_mac pkt2 =3D "Ether(dst=3D'%s')/IP(src=3D'0.0.0.0',dst=3D'4.0.0.0')/UD= P(sport=3D100, dport=3D201)/('X'*48)" % self.pf0_mac pkt3 =3D "Ether(dst=3D'%s')/IP(src=3D'0.0.0.0',dst=3D'4.0.0.0')/UD= P(sport=3D101, dport=3D201)/('X'*48)" % self.pf0_mac @@ -616,7 +616,7 @@ cl= ass TestRSS_to_Rteflow(TestCase): Set RSS queue rule while disable RSS in command-line. """ self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "c= arlsville", - "fortville_spirit_single", "fortpark_TLV"= , "fortville_25g"], "NIC Unsupported: " + str(self.nic)) + "fortville_spirit_single",=20 + "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported:=20 + " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D8 --txq=3D8 = --disable-rss --port-topology=3Dchained") self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -696,7 = +696,7 @@ class TestRSS_to_Rteflow(TestCase): flow directory filter is priority to RSS hash filter. """ self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "c= arlsville", - "fortville_spirit_single", "fortpark_TLV"= , "fortville_25g"], "NIC Unsupported: " + str(self.nic)) + "fortville_spirit_single",=20 + "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported:=20 + " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D8 --txq=3D8 = --pkt-filter-mode=3Dperfect") self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -728,7 = +728,7 @@ class TestRSS_to_Rteflow(TestCase): Set RSS queue rule with queue region API. """ self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "c= arlsville", - "fortville_spirit_single", "fortpark_TLV"= , "fortville_25g"], "NIC Unsupported: " + str(self.nic)) + "fortville_spirit_single",=20 + "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported:=20 + " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D16 --txq=3D1= 6 --port-topology=3Dchained") self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -772,7 = +772,7 @@ class TestRSS_to_Rteflow(TestCase): Set RSS queue region rule with invalid parameter in rte_flow API. """ self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "c= arlsville", - "fortville_spirit_single", "fortpark_TLV"= , "fortville_25g"], "NIC Unsupported: " + str(self.nic)) + "fortville_spirit_single",=20 + "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported:=20 + " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D16 --txq=3D1= 6 --port-topology=3Dchained") self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -802,7 = +802,7 @@ class TestRSS_to_Rteflow(TestCase): The queue region is priority to RSS queue rule. """ self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "c= arlsville", - "fortville_spirit_single", "fortpark_TLV"= , "fortville_25g"], "NIC Unsupported: " + str(self.nic)) + "fortville_spirit_single",=20 + "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported:=20 + " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D16 --txq=3D1= 6 --port-topology=3Dchained") self.dut.send_expect("flow create 0 ingress pattern eth / ipv4 / u= dp / end actions rss types ipv4-udp end queues end / end", "created", 120) self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) @@ -840,7= +840,7 @@ class TestRSS_to_Rteflow(TestCase): Disable and enable RSS. """ self.verify(self.nic not in ["fortville_eagle", "fortville_spirit"= , "carlsville", - "fortville_spirit_single", "fortpark_TLV"= , "fortville_25g"], "NIC Unsupported: " + str(self.nic)) + "fortville_spirit_single",=20 + "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported:=20 + " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D4 --txq=3D4 = --port-topology=3Dchained") self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -871,7 = +871,7 @@ class TestRSS_to_Rteflow(TestCase): Enable IPv4-UDP RSS. """ self.verify(self.nic not in ["fortville_eagle", "fortville_spirit"= , "carlsville", - "fortville_spirit_single", "fortpark_TLV"= , "fortville_25g"], "NIC Unsupported: " + str(self.nic)) + "fortville_spirit_single",=20 + "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported:=20 + " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D4 --txq=3D4 = --port-topology=3Dchained") self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -896,7 = +896,7 @@ class TestRSS_to_Rteflow(TestCase): Set valid and invalid parameter. """ self.verify(self.nic not in ["fortville_eagle", "fortville_spirit"= , "carlsville", - "fortville_spirit_single", "fortpark_TLV"= , "fortville_25g"], "NIC Unsupported: " + str(self.nic)) + "fortville_spirit_single",=20 + "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported:=20 + " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D8 --txq=3D8 = --port-topology=3Dchained") self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -939,7 = +939,7 @@ class TestRSS_to_Rteflow(TestCase): Set different types rss queue rules. """ self.verify(self.nic not in ["fortville_eagle", "fortville_spirit"= , "carlsville", - "fortville_spirit_single", "fortpark_TLV"= , "fortville_25g"], "NIC Unsupported: " + str(self.nic)) + "fortville_spirit_single",=20 + "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported:=20 + " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D8 --txq=3D8 = --port-topology=3Dchained") self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -975,7 = +975,7 @@ class TestRSS_to_Rteflow(TestCase): Set RSS queue rule while disable RSS in command-line. """ self.verify(self.nic not in ["fortville_eagle", "fortville_spirit"= , "carlsville", - "fortville_spirit_single", "fortpark_TLV"= , "fortville_25g"], "NIC Unsupported: " + str(self.nic)) + "fortville_spirit_single",=20 + "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported:=20 + " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D8 --txq=3D8 = --disable-rss --port-topology=3Dchained") self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -1011,7= +1011,7 @@ class TestRSS_to_Rteflow(TestCase): Set RSS queue rule and flow director rule in meantime. """ self.verify(self.nic not in ["fortville_eagle", "fortville_spirit"= , "carlsville", - "fortville_spirit_single", "fortpark_TLV"= , "fortville_25g"], "NIC Unsupported: " + str(self.nic)) + "fortville_spirit_single",=20 + "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported:=20 + " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D8 --txq=3D8 = --pkt-filter-mode=3Dperfect") self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) self.dut.send_expect("set verbose 1", "testpmd> ", 120) -- 1.8.3.1