From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DF173A09EF; Mon, 11 Jan 2021 06:34:19 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CF912140CB4; Mon, 11 Jan 2021 06:34:19 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id AEBD1140CA4 for ; Mon, 11 Jan 2021 06:34:18 +0100 (CET) IronPort-SDR: kxXsrn/h//JwKvRoPW1mmISS428RY/mjMaa+2IdDfoUJZR3NbU7XX4j+ePeXWlezFdE0funOly PNuY5nIRIp+Q== X-IronPort-AV: E=McAfee;i="6000,8403,9860"; a="156989300" X-IronPort-AV: E=Sophos;i="5.79,337,1602572400"; d="scan'208";a="156989300" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jan 2021 21:34:18 -0800 IronPort-SDR: zYTjAbszu9Rg6Mn7Zccx0r03FtOM8vHI3FYf3wMoRH4XmX4vQoOEZgkqR+GdMRJErtbRffrT73 LsBEiIuR+L9g== X-IronPort-AV: E=Sophos;i="5.79,337,1602572400"; d="scan'208";a="352458227" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jan 2021 21:34:16 -0800 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Mon, 11 Jan 2021 13:36:10 +0800 Message-Id: <20210111053614.27176-2-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210111053614.27176-1-weix.xie@intel.com> References: <20210111053614.27176-1-weix.xie@intel.com> Subject: [dts] [PATCH V1 1/5] tests/TestSuite_generic_flow_api:add cvl nic supported X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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" add cvl nic supported. Signed-off-by: Xie wei --- tests/TestSuite_generic_flow_api.py | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/tests/TestSuite_generic_flow_api.py b/tests/TestSuite_generic_flow_api.py index f4411876..6822f8ab 100644 --- a/tests/TestSuite_generic_flow_api.py +++ b/tests/TestSuite_generic_flow_api.py @@ -740,7 +740,7 @@ class TestGeneric_flow_api(TestCase): """ only supported by igb """ - self.verify(self.nic in ["bartonhills", "powerville", "foxville", "fortville_eagle", "fortville_25g", "fortville_spirit"], "%s nic not support 2-tuple filter" % self.nic) + self.verify(self.nic in ["bartonhills", "powerville", "foxville", "fortville_eagle", "fortville_25g", "fortville_spirit","columbiaville_25g","columbiaville_100g"], "%s nic not support 2-tuple filter" % self.nic) self.pmdout.start_testpmd("%s" % self.cores, "--disable-rss --rxq=%d --txq=%d" % (MAX_QUEUE+1, MAX_QUEUE+1)) self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) @@ -750,7 +750,7 @@ class TestGeneric_flow_api(TestCase): # i350 and 82580 only support 2-tuple, and don't support SCTP # create the flow rules - if self.nic in ["fortville_eagle", "fortville_25g", "fortville_spirit"]: + if self.nic in ["fortville_eagle", "fortville_25g", "fortville_spirit","columbiaville_25g","columbiaville_100g"]: basic_flow_actions = [ {'create': 'validate', 'flows': ['ipv4', 'udp', 'dport'], 'actions': ['queue']}, {'create': 'validate', 'flows': ['ipv4', 'tcp', 'dport'], 'actions': ['queue']}, @@ -781,7 +781,7 @@ class TestGeneric_flow_api(TestCase): """ self.verify(self.nic in ["niantic", "columbiaville_25g","columbiaville_100g","kawela_4", "kawela", "bartonhills", "twinville", "sagepond", "sageville", "powerville", "fortville_eagle", "fortville_25g", "fortville_spirit", "carlsville", - "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T", "foxville"], "%s nic not support ethertype filter" % self.nic) + "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T", "foxville","columbiaville_25g","columbiaville_100g"], "%s nic not support ethertype filter" % self.nic) self.pmdout.start_testpmd("%s" % self.cores, "--disable-rss --rxq=%d --txq=%d" % (MAX_QUEUE+1, MAX_QUEUE+1), "-w %s --file-prefix=test1" % self.pf_pci) self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) @@ -880,7 +880,7 @@ class TestGeneric_flow_api(TestCase): only supported by i40e """ self.verify(self.nic in ["fortville_eagle", "fortville_25g", "fortville_spirit", "carlsville", - "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T", "foxville"], "%s nic not support fdir L2 payload filter" % self.nic) + "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T", "foxville","columbiaville_25g","columbiaville_100g"], "%s nic not support fdir L2 payload filter" % self.nic) self.pmdout.start_testpmd("%s" % self.pf_cores, "--rxq=%d --txq=%d" % (MAX_QUEUE+1, MAX_QUEUE+1), "-w %s --file-prefix=test1" % self.pf_pci) self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) @@ -927,7 +927,7 @@ class TestGeneric_flow_api(TestCase): """ self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "carlsville", "fortville_spirit_single", "fortpark_TLV", - "fortpark_BASE-T","fortville_25g","carlsville"], "%s nic not support fdir vlan filter" % self.nic) + "fortpark_BASE-T","fortville_25g","carlsville","columbiaville_25g","columbiaville_100g"], "%s nic not support fdir vlan filter" % self.nic) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=%d --txq=%d" % (MAX_QUEUE+1, MAX_QUEUE+1), "-w %s --file-prefix=test1" % self.pf_pci) self.dut.send_expect("port config all rss all", "testpmd> ", 120) @@ -1016,7 +1016,7 @@ class TestGeneric_flow_api(TestCase): """ self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "carlsville", "fortville_spirit_single", "fortpark_TLV", - "fortpark_BASE-T","fortville_25g","carlsville"], "%s nic not support fdir vlan filter" % self.nic) + "fortpark_BASE-T","fortville_25g","carlsville","columbiaville_25g","columbiaville_100g"], "%s nic not support fdir vlan filter" % self.nic) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=%d --txq=%d" % (MAX_QUEUE+1, MAX_QUEUE+1), "-w %s --file-prefix=test1" % self.pf_pci) self.dut.send_expect("port config all rss all", "testpmd> ", 120) @@ -1105,7 +1105,7 @@ class TestGeneric_flow_api(TestCase): """ self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "carlsville", "fortville_spirit_single", "fortpark_TLV", - "fortpark_BASE-T","fortville_25g","carlsville"], "%s nic not support fdir vlan filter" % self.nic) + "fortpark_BASE-T","fortville_25g","carlsville","columbiaville_25g","columbiaville_100g"], "%s nic not support fdir vlan filter" % self.nic) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=%d --txq=%d" % (MAX_QUEUE+1, MAX_QUEUE+1), "-w %s --file-prefix=test1" % self.pf_pci) self.dut.send_expect("port config all rss all", "testpmd> ", 120) @@ -1194,7 +1194,7 @@ class TestGeneric_flow_api(TestCase): """ self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "carlsville", "fortville_spirit_single", "fortpark_TLV", - "fortpark_BASE-T","fortville_25g","carlsville"], "%s nic not support fdir vlan filter" % self.nic) + "fortpark_BASE-T","fortville_25g","carlsville","columbiaville_25g","columbiaville_100g"], "%s nic not support fdir vlan filter" % self.nic) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=%d --txq=%d" % (MAX_QUEUE+1, MAX_QUEUE+1), "-w %s --file-prefix=test1" % self.pf_pci) self.dut.send_expect("port config all rss all", "testpmd> ", 120) @@ -1282,7 +1282,7 @@ class TestGeneric_flow_api(TestCase): """ self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "carlsville", "fortville_spirit_single", "fortpark_TLV", - "fortpark_BASE-T","fortville_25g","carlsville"], "%s nic not support fdir vlan filter" % self.nic) + "fortpark_BASE-T","fortville_25g","carlsville","columbiaville_25g","columbiaville_100g"], "%s nic not support fdir vlan filter" % self.nic) self.pmdout.start_testpmd("%s" % self.cores, "--rxq=%d --txq=%d" % (MAX_QUEUE+1, MAX_QUEUE+1), "-w %s --file-prefix=test1" % self.pf_pci) self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) @@ -1344,7 +1344,7 @@ class TestGeneric_flow_api(TestCase): only supported by i40e """ self.verify(self.nic in ["fortville_eagle", "fortville_25g", "fortville_spirit", "carlsville", - "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T", "foxville"], "%s nic not support fdir vlan filter" % self.nic) + "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T", "foxville","columbiaville_25g","columbiaville_100g"], "%s nic not support fdir vlan filter" % self.nic) self.setup_env() # start testpmd on pf self.pmdout.start_testpmd("%s" % self.pf_cores, "--disable-rss --rxq=%d --txq=%d" % (MAX_QUEUE+1, MAX_QUEUE+1), "-w %s --file-prefix=pf --socket-mem 1024,1024 --legacy-mem" % self.pf_pci) @@ -1765,11 +1765,11 @@ class TestGeneric_flow_api(TestCase): """ self.verify(self.nic in ["niantic", "twinville", "sagepond", "sageville", "fortville_eagle", "fortville_25g", "fortville_spirit", "carlsville", - "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T", "foxville"], + "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T", "foxville","columbiaville_25g","columbiaville_100g"], "%s nic not support fdir flexbytes filter" % self.nic) # i40e if (self.nic in ["fortville_eagle", "fortville_25g", "fortville_spirit", "carlsville", - "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T"]): + "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T","columbiaville_25g","columbiaville_100g"]): self.pmdout.start_testpmd("%s" % self.pf_cores, "--disable-rss --rxq=%d --txq=%d" % (MAX_QUEUE+1, MAX_QUEUE+1), "-w %s --file-prefix=pf" % self.pf_pci) self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -2142,7 +2142,7 @@ class TestGeneric_flow_api(TestCase): """ only supported by ixgbe """ - self.verify(self.nic in ["twinville", "sagepond", "sageville", "foxville", "fortville_eagle", "fortville_25g", "fortville_spirit"], "%s nic not support fdir mac vlan filter" % self.nic) + self.verify(self.nic in ["twinville", "sagepond", "sageville", "foxville", "fortville_eagle", "fortville_25g", "fortville_spirit","columbiaville_25g","columbiaville_100g"], "%s nic not support fdir mac vlan filter" % self.nic) self.pmdout.start_testpmd("%s" % self.cores, "--pkt-filter-mode=perfect-mac-vlan --disable-rss --rxq=%d --txq=%d" % (MAX_QUEUE+1, MAX_QUEUE+1)) self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) @@ -2153,7 +2153,7 @@ class TestGeneric_flow_api(TestCase): time.sleep(2) # create the flow rules - if self.nic in ["fortville_eagle", "fortville_25g", "fortville_spirit"]: + if self.nic in ["fortville_eagle", "fortville_25g", "fortville_spirit","columbiaville_25g","columbiaville_100g"]: basic_flow_actions = [ {'create': 'validate', 'flows': ['vlan'], 'actions': ['queue']}, {'create': 'validate', 'flows': ['vlan'], 'actions': ['queue']}, -- 2.17.1