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 A215BA0093; Mon, 15 Jun 2020 09:55:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6DAFF4C89; Mon, 15 Jun 2020 09:55:02 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 2273D1150 for ; Mon, 15 Jun 2020 09:55:00 +0200 (CEST) IronPort-SDR: 8IWchAwI7t4iGI1/FPAZcAPNtj24D+jbk5yFM1/lps+jbmkqgQLP1zW1FrF4nC91Da8DvCDfVh rypokCW36/jA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2020 00:55:00 -0700 IronPort-SDR: lAtQlMmmAaLkMNTo76V11GoD4gHLfGXLv87TgMjSDPGleaVChqufPQywGPXa8NsecNlzUZfHum NUXnFkND/5kg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,514,1583222400"; d="scan'208";a="290612067" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.182.150]) by orsmga002.jf.intel.com with ESMTP; 15 Jun 2020 00:54:58 -0700 From: xizhan4x To: dts@dpdk.org Cc: "Zhang,Xi" Date: Mon, 15 Jun 2020 15:56:34 +0800 Message-Id: <1592207794-20542-1-git-send-email-xix.zhang@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [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" 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.json 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_rte_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", "carlsville", - "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic)) + "fortville_spirit_single", "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4 --port-topology=chained") 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", "carlsville", - "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic)) + "fortville_spirit_single", "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=8 --txq=8 --port-topology=chained") 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", "carlsville", - "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic)) + "fortville_spirit_single", "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=8 --txq=8 --port-topology=chained") 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", "carlsville", - "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic)) + "fortville_spirit_single", "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: " + str(self.nic)) pkt1 = "Ether(dst='%s')/IP(src='0.0.0.0',dst='4.0.0.0')/UDP(sport=100, dport=200)/('X'*48)" % self.pf0_mac pkt2 = "Ether(dst='%s')/IP(src='0.0.0.0',dst='4.0.0.0')/UDP(sport=100, dport=201)/('X'*48)" % self.pf0_mac pkt3 = "Ether(dst='%s')/IP(src='0.0.0.0',dst='4.0.0.0')/UDP(sport=101, dport=201)/('X'*48)" % self.pf0_mac @@ -616,7 +616,7 @@ class TestRSS_to_Rteflow(TestCase): Set RSS queue rule while disable RSS in command-line. """ self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "carlsville", - "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic)) + "fortville_spirit_single", "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=8 --txq=8 --disable-rss --port-topology=chained") 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", "carlsville", - "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic)) + "fortville_spirit_single", "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=8 --txq=8 --pkt-filter-mode=perfect") 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", "carlsville", - "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic)) + "fortville_spirit_single", "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=16 --txq=16 --port-topology=chained") 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", "carlsville", - "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic)) + "fortville_spirit_single", "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=16 --txq=16 --port-topology=chained") 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", "carlsville", - "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic)) + "fortville_spirit_single", "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=16 --txq=16 --port-topology=chained") self.dut.send_expect("flow create 0 ingress pattern eth / ipv4 / udp / 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", "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4 --port-topology=chained") 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", "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4 --port-topology=chained") 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", "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=8 --txq=8 --port-topology=chained") 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", "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=8 --txq=8 --port-topology=chained") 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", "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=8 --txq=8 --disable-rss --port-topology=chained") 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", "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: " + str(self.nic)) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=8 --txq=8 --pkt-filter-mode=perfect") self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) self.dut.send_expect("set verbose 1", "testpmd> ", 120) -- 1.8.3.1