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 D543EA0C4F; Fri, 30 Jul 2021 09:26:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B1A5B40040; Fri, 30 Jul 2021 09:26:33 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 8AF784003E for ; Fri, 30 Jul 2021 09:26:31 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10060"; a="193326296" X-IronPort-AV: E=Sophos;i="5.84,281,1620716400"; d="scan'208";a="193326296" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jul 2021 00:26:30 -0700 X-IronPort-AV: E=Sophos;i="5.84,281,1620716400"; d="scan'208";a="457095561" Received: from unknown (HELO localhost.localdomain) ([10.240.183.105]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jul 2021 00:26:29 -0700 From: Qin Sun To: dts@dpdk.org Cc: Qin Sun Date: Fri, 30 Jul 2021 15:57:32 +0000 Message-Id: <20210730155732.24191-1-qinx.sun@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/iavf_fdir: add decorator for os-default pkg not support case 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" Signed-off-by: Qin Sun --- tests/TestSuite_iavf_fdir.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/tests/TestSuite_iavf_fdir.py b/tests/TestSuite_iavf_fdir.py index 61d1f95f..d79829ea 100644 --- a/tests/TestSuite_iavf_fdir.py +++ b/tests/TestSuite_iavf_fdir.py @@ -9181,75 +9181,99 @@ class TestIAVFFdir(TestCase): out = self.send_pkts_getouput(pkt_ipv4_pay_ipv6_pay) rfc.verify_iavf_fdir_directed_by_rss(out, stats=True) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_ipv4_gtpu_ipv4(self): self.rte_flow_process(vectors_ipv4_gtpu_ipv4) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_ipv4_gtpu_ipv4_tcp(self): self.rte_flow_process(vectors_ipv4_gtpu_ipv4_tcp) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_ipv4_gtpu_ipv4_udp(self): self.rte_flow_process(vectors_ipv4_gtpu_ipv4_udp) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_ipv4_gtpu_eh_ipv4(self): self.rte_flow_process(vectors_ipv4_gtpu_eh_ipv4) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_ipv4_gtpu_eh_ipv4_tcp(self): self.rte_flow_process(vectors_ipv4_gtpu_eh_ipv4_tcp) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_ipv4_gtpu_eh_ipv4_udp(self): self.rte_flow_process(vectors_ipv4_gtpu_eh_ipv4_udp) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_ipv4_gtpu_eh_dl_ipv4(self): self.rte_flow_process(vectors_ipv4_gtpu_eh_dl_ipv4) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_ipv4_gtpu_eh_dl_ipv4_tcp(self): self.rte_flow_process(vectors_ipv4_gtpu_eh_dl_ipv4_tcp) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_ipv4_gtpu_eh_dl_ipv4_udp(self): self.rte_flow_process(vectors_ipv4_gtpu_eh_dl_ipv4_udp) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_ipv4_gtpu_eh_ul_ipv4(self): self.rte_flow_process(vectors_ipv4_gtpu_eh_ul_ipv4) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_ipv4_gtpu_eh_ul_ipv4_tcp(self): self.rte_flow_process(vectors_ipv4_gtpu_eh_ul_ipv4_tcp) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_ipv4_gtpu_eh_ul_ipv4_udp(self): self.rte_flow_process(vectors_ipv4_gtpu_eh_ul_ipv4_udp) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_ipv4_gtpu_ipv6(self): self.rte_flow_process(vectors_ipv4_gtpu_ipv6) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_ipv4_gtpu_ipv6_tcp(self): self.rte_flow_process(vectors_ipv4_gtpu_ipv6_tcp) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_ipv4_gtpu_ipv6_udp(self): self.rte_flow_process(vectors_ipv4_gtpu_ipv6_udp) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_ipv4_gtpu_eh_ipv6(self): self.rte_flow_process(vectors_ipv4_gtpu_eh_ipv6) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_ipv4_gtpu_eh_ipv6_tcp(self): self.rte_flow_process(vectors_ipv4_gtpu_eh_ipv6_tcp) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_ipv4_gtpu_eh_ipv6_udp(self): self.rte_flow_process(vectors_ipv4_gtpu_eh_ipv6_udp) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_ipv4_gtpu_eh_dl_ipv6(self): self.rte_flow_process(vectors_ipv4_gtpu_eh_dl_ipv6) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_ipv4_gtpu_eh_dl_ipv6_tcp(self): self.rte_flow_process(vectors_ipv4_gtpu_eh_dl_ipv6_tcp) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_ipv4_gtpu_eh_dl_ipv6_udp(self): self.rte_flow_process(vectors_ipv4_gtpu_eh_dl_ipv6_udp) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_ipv4_gtpu_eh_ul_ipv6(self): self.rte_flow_process(vectors_ipv4_gtpu_eh_ul_ipv6) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_ipv4_gtpu_eh_ul_ipv6_tcp(self): self.rte_flow_process(vectors_ipv4_gtpu_eh_ul_ipv6_tcp) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_ipv4_gtpu_eh_ul_ipv6_udp(self): self.rte_flow_process(vectors_ipv4_gtpu_eh_ul_ipv6_udp) @@ -9311,6 +9335,7 @@ class TestIAVFFdir(TestCase): pkt_list = [pkts[2], pkts[6], pkts[10], pkts[11]] self._rte_conflict_rule(c_rules, rules[2], pkt_list, stats=False) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_inner_ipv4_gtpu_conflict_rule(self): rules = ["flow create 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / end actions queue index 10 / mark id 1 / end", "flow create 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / tcp src is 22 dst is 23 / end actions queue index 10 / mark id 1 / end", @@ -9340,6 +9365,7 @@ class TestIAVFFdir(TestCase): self._create_check_conflict_rule(rules, pkts) + @skip_unsupported_pkg(['os default', 'wireless']) def test_mac_inner_ipv6_gtpu_conflict_rule(self): rules = [ "flow create 0 ingress pattern eth / ipv4 / udp / gtpu / ipv6 src is 2001::2 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions queue index 10 / mark id 1 / end", -- 2.17.1