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 CF396A0577; Mon, 13 Apr 2020 07:45:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C4E202A66; Mon, 13 Apr 2020 07:45:00 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 7FAF22A5D for ; Mon, 13 Apr 2020 07:44:59 +0200 (CEST) IronPort-SDR: eI69LGXP9FysYctLesiWJTQ4Jym2LoQz6EaO0ZFTLLojMHX1fPK8bAO7vLwFsZrqgk3DI0FMv7 rDH34tMbfH3A== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2020 22:44:58 -0700 IronPort-SDR: uzsXDJpkS5iHnjQF0iQSsfHZGJ6BVB1VfKQcnlaLmGlusWvWxtLpUnwb44GP6zB0lLdVv5q3hs l2KlwBOiZMew== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,377,1580803200"; d="scan'208";a="362989495" Received: from unknown (HELO dpdk-zhaohy-t.localdomain) ([10.240.183.68]) by fmsmga001.fm.intel.com with ESMTP; 12 Apr 2020 22:44:57 -0700 From: Xu Hailin To: dts@dpdk.org Cc: xuhailin Date: Mon, 13 Apr 2020 13:37:49 +0800 Message-Id: <1586756269-125434-1-git-send-email-hailinx.xu@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH v1]tests/TestSuite_generic_flow_api:add support nic carlsville. 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: xuhailin carlsville driver is i40e, so the nic support the suite. Signed-off-by: xuhailin --- tests/TestSuite_generic_flow_api.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/TestSuite_generic_flow_api.py b/tests/TestSuite_generic_flow_api.py index bb42bf7..560d907 100644 --- a/tests/TestSuite_generic_flow_api.py +++ b/tests/TestSuite_generic_flow_api.py @@ -868,7 +868,7 @@ class TestGeneric_flow_api(TestCase): only supported by i40e """ self.verify(self.nic in ["fortville_eagle", "fortville_spirit", - "fortville_spirit_single", "fortpark_TLV"], "%s nic not support fdir L2 payload filter" % self.nic) + "fortville_spirit_single", "fortpark_TLV", "carlsville"], "%s nic not support fdir L2 payload filter" % self.nic) self.pmdout.start_testpmd("%s" % self.pf_cores, "--pkt-filter-mode=perfect --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) @@ -889,7 +889,7 @@ class TestGeneric_flow_api(TestCase): only supported by i40e """ self.verify(self.nic in ["fortville_eagle", "fortville_spirit", - "fortville_spirit_single", "fortpark_TLV"], "%s nic not support fdir vlan filter" % self.nic) + "fortville_spirit_single", "fortpark_TLV", "carlsville"], "%s nic not support fdir vlan filter" % self.nic) self.setup_env() # start testpmd on pf self.pmdout.start_testpmd("%s" % self.pf_cores, "--pkt-filter-mode=perfect --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) @@ -981,11 +981,11 @@ class TestGeneric_flow_api(TestCase): """ self.verify(self.nic in ["niantic", "columbiaville_25g","columbiaville_100g","twinville", "sagepond", "sageville", "fortville_eagle", "fortville_spirit", - "fortville_spirit_single", "fortpark_TLV"], + "fortville_spirit_single", "fortpark_TLV", "carlsville"], "%s nic not support fdir ipv4 filter" % self.nic) # i40e if (self.nic in ["fortville_eagle", "fortville_spirit","columbiaville_25g","columbiaville_100g", - "fortville_spirit_single", "fortpark_TLV"]): + "fortville_spirit_single", "fortpark_TLV", "carlsville"]): self.setup_env() # start testpmd on pf self.pmdout.start_testpmd("%s" % self.pf_cores, "--pkt-filter-mode=perfect --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) @@ -1090,11 +1090,11 @@ class TestGeneric_flow_api(TestCase): """ self.verify(self.nic in ["niantic", "twinville", "sagepond", "sageville","columbiaville_25g","columbiaville_100g", "fortville_eagle", "fortville_spirit", - "fortville_spirit_single", "fortpark_TLV"], + "fortville_spirit_single", "fortpark_TLV", "carlsville"], "%s nic not support fdir ipv6 filter" % self.nic) # i40e if (self.nic in ["fortville_eagle", "fortville_spirit","columbiaville_25g","columbiaville_100g", - "fortville_spirit_single", "fortpark_TLV"]): + "fortville_spirit_single", "fortpark_TLV", "carlsville"]): self.setup_env() self.pmdout.start_testpmd("%s" % self.pf_cores, "--pkt-filter-mode=perfect --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) self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) @@ -1210,11 +1210,11 @@ class TestGeneric_flow_api(TestCase): """ self.verify(self.nic in ["niantic", "twinville", "sagepond", "sageville", "fortville_eagle", "fortville_spirit", - "fortville_spirit_single", "fortpark_TLV"], + "fortville_spirit_single", "fortpark_TLV", "carlsville"], "%s nic not support fdir flexbytes filter" % self.nic) # i40e if (self.nic in ["fortville_eagle", "fortville_spirit", - "fortville_spirit_single", "fortpark_TLV"]): + "fortville_spirit_single", "fortpark_TLV", "carlsville"]): self.pmdout.start_testpmd("%s" % self.pf_cores, "--pkt-filter-mode=perfect --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) @@ -1538,7 +1538,7 @@ class TestGeneric_flow_api(TestCase): only supported by i40e """ self.verify(self.nic in ["fortville_eagle", "fortville_spirit","columbiaville_25g","columbiaville_100g", - "fortville_spirit_single", "fortpark_TLV"], + "fortville_spirit_single", "fortpark_TLV", "carlsville"], "%s nic not support tunnel vxlan filter" % self.nic) self.setup_env() @@ -1602,7 +1602,7 @@ class TestGeneric_flow_api(TestCase): only supported by i40e """ self.verify(self.nic in ["fortville_eagle", "fortville_spirit","columbiaville_25g","columbiaville_100g", - "fortville_spirit_single", "fortpark_TLV"], + "fortville_spirit_single", "fortpark_TLV", "carlsville"], "%s nic not support tunnel nvgre filter" % self.nic) self.setup_env() -- 2.17.1