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 0D2BAA00C2; Wed, 30 Nov 2022 10:00:31 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 052BE42D14; Wed, 30 Nov 2022 10:00:31 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 2F93942D18 for ; Wed, 30 Nov 2022 10:00:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669798829; x=1701334829; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=1mpc+p29goJKrMM+8uoBehcZxpAqzyowud3Vt/oMicY=; b=Nnw9ODqooATlZ0h2xfbvKbe4C/ZEaKMGumnQnoRyY/l2ThWTMnBn6g3U 00vb0Pwp1fj6HyblXvwG7hK8XVJH/P6cjKnMphoaPukG0mXnZP8p4bibi uhMM/6IVHyAHWBl+/D07G8IMdYQAw65Vaf7QECMrYeDU3jt+rp7KAg631 9idBlQDe+ieVOLrt/KqOQVVYD3eSAyAEuI+1iJJCawZpy7/lMo+T6TQoJ XBCatqXW9GITZpSE0vlSCJAQxZ1MhEjSIgK0S3iEWorNy21q/lkvX0FUc ZkbeEn3owO0cnUXvhgbH9iWJml+17JqOPD8YMYYlIZ4AapWzXldl4WPws g==; X-IronPort-AV: E=McAfee;i="6500,9779,10546"; a="302948078" X-IronPort-AV: E=Sophos;i="5.96,205,1665471600"; d="scan'208";a="302948078" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2022 01:00:28 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10546"; a="707571008" X-IronPort-AV: E=Sophos;i="5.96,205,1665471600"; d="scan'208";a="707571008" Received: from unknown (HELO localhost.localdomain) ([10.239.252.99]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2022 01:00:27 -0800 From: Lingli Chen To: dts@dpdk.org Cc: zhiminx.huang@intel.com, Lingli Chen Subject: [dts][PATCH V1 5/5] tests/TestSuite_*: skip igb_uio cases Date: Wed, 30 Nov 2022 03:04:39 -0500 Message-Id: <20221130080439.65529-6-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221130080439.65529-1-linglix.chen@intel.com> References: <20221130080439.65529-1-linglix.chen@intel.com> 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 7 suits (external_memory/ip_pipeline/qinq_filter/veb_switch/vf_interrupt_pmd/vf_macfilter/vf_packet_rxtx) skip igb_uio cases. Signed-off-by: Lingli Chen --- tests/TestSuite_external_memory.py | 4 +++- tests/TestSuite_ip_pipeline.py | 3 ++- tests/TestSuite_qinq_filter.py | 4 +++- tests/TestSuite_veb_switch.py | 3 ++- tests/TestSuite_vf_interrupt_pmd.py | 4 ++-- tests/TestSuite_vf_macfilter.py | 4 +++- tests/TestSuite_vf_packet_rxtx.py | 4 +++- 7 files changed, 18 insertions(+), 8 deletions(-) diff --git a/tests/TestSuite_external_memory.py b/tests/TestSuite_external_memory.py index 8163a7ec..c565eba8 100644 --- a/tests/TestSuite_external_memory.py +++ b/tests/TestSuite_external_memory.py @@ -12,7 +12,7 @@ import time import framework.utils as utils from framework.pmd_output import PmdOutput -from framework.test_case import TestCase +from framework.test_case import TestCase, skip_unsupported_host_driver class TestExternalMemory(TestCase): @@ -62,6 +62,7 @@ class TestExternalMemory(TestCase): self.dut.bind_interfaces_linux(driver="vfio-pci") + @skip_unsupported_host_driver(["vfio-pci"]) def test_IGB_UIO_xmem(self): """ Verifier IGB_UIO and anonymous memory allocation @@ -75,6 +76,7 @@ class TestExternalMemory(TestCase): ) self.verifier_result() + @skip_unsupported_host_driver(["vfio-pci"]) def test_IGB_UIO_xmemhuage(self): """ Verifier IGB_UIO and anonymous hugepage memory allocation diff --git a/tests/TestSuite_ip_pipeline.py b/tests/TestSuite_ip_pipeline.py index 80a7dbc8..043516dd 100644 --- a/tests/TestSuite_ip_pipeline.py +++ b/tests/TestSuite_ip_pipeline.py @@ -13,7 +13,7 @@ from scapy.utils import hexstr, rdpcap, wrpcap from framework.exception import VerifyFailure from framework.packet import Packet -from framework.test_case import TestCase +from framework.test_case import TestCase, skip_unsupported_host_driver class TestIPPipeline(TestCase): @@ -605,6 +605,7 @@ class TestIPPipeline(TestCase): cmd = "^C" self.dut.send_expect(cmd, "# ", 20) + @skip_unsupported_host_driver(["vfio-pci"]) def test_pfdpdk_vf_l2fwd_pipeline(self): """ VF l2fwd pipeline, PF bound to DPDK driver diff --git a/tests/TestSuite_qinq_filter.py b/tests/TestSuite_qinq_filter.py index 6b5b756c..87653681 100644 --- a/tests/TestSuite_qinq_filter.py +++ b/tests/TestSuite_qinq_filter.py @@ -13,7 +13,7 @@ import time import framework.utils as utils from framework.pmd_output import PmdOutput -from framework.test_case import TestCase +from framework.test_case import TestCase, skip_unsupported_host_driver class TestQinqFilter(TestCase): @@ -208,6 +208,7 @@ class TestQinqFilter(TestCase): self.dut.send_expect("quit", "#") + @skip_unsupported_host_driver(["vfio-pci"]) def test_qinq_packet_filter_VF_queues(self): """ qinq filter packet received by assign VF queues @@ -303,6 +304,7 @@ class TestQinqFilter(TestCase): self.verify(not error_message, error_message) + @skip_unsupported_host_driver(["vfio-pci"]) def test_qinq_filter_with_diffierent_tpid(self): """ qinq filter packet with different tpid received by assign VF queues diff --git a/tests/TestSuite_veb_switch.py b/tests/TestSuite_veb_switch.py index 77ba9559..f391a0ee 100644 --- a/tests/TestSuite_veb_switch.py +++ b/tests/TestSuite_veb_switch.py @@ -17,7 +17,7 @@ from framework.packet import Packet from framework.pmd_output import PmdOutput from framework.project_dpdk import DPDKdut from framework.settings import HEADER_SIZE -from framework.test_case import TestCase +from framework.test_case import TestCase, skip_unsupported_host_driver from framework.utils import RED from framework.virt_dut import VirtDut @@ -384,6 +384,7 @@ class TestVEBSwitching(TestCase): "VF1 didn't receive packets from VF0, the vlan filter doen't work", ) + @skip_unsupported_host_driver(["vfio-pci"]) def test_VEB_switching_inter_vfs_and_pf(self): """ DPDK PF, then create 2VFs, PF in the host running dpdk testpmd, VFs diff --git a/tests/TestSuite_vf_interrupt_pmd.py b/tests/TestSuite_vf_interrupt_pmd.py index 5854cb0c..85af1b64 100644 --- a/tests/TestSuite_vf_interrupt_pmd.py +++ b/tests/TestSuite_vf_interrupt_pmd.py @@ -13,7 +13,7 @@ import time import framework.utils as utils from framework.packet import Packet -from framework.test_case import TestCase +from framework.test_case import TestCase, skip_unsupported_host_driver from framework.virt_common import VM @@ -287,7 +287,7 @@ class TestVfInterruptPmd(TestCase): "lcore %s sleeps until interrupt triggers" % self.core_user in self.out2, "lcore %s not sleeps" % self.core_user, ) - + @skip_unsupported_host_driver(["vfio-pci"]) def test_nic_interrupt_PF_igb_uio(self): """ Check Interrupt for PF with igb_uio driver diff --git a/tests/TestSuite_vf_macfilter.py b/tests/TestSuite_vf_macfilter.py index dc4e1098..974d0e40 100644 --- a/tests/TestSuite_vf_macfilter.py +++ b/tests/TestSuite_vf_macfilter.py @@ -7,7 +7,7 @@ import time from framework.pmd_output import PmdOutput from framework.settings import DPDK_DCFMODE_SETTING, load_global_setting -from framework.test_case import TestCase +from framework.test_case import TestCase, skip_unsupported_host_driver from framework.virt_common import VM VM_CORES_MASK = "all" @@ -229,6 +229,7 @@ class TestVfMacFilter(TestCase): self.setup_2pf_2vf_1vm_env(False, driver="") self.send_packet_and_verify() + @skip_unsupported_host_driver(["vfio-pci"]) def test_dpdk_2pf_2vf_1vm_mac_add_filter(self): """ test case for dpdk pf and dpdk vf 2pf_2vf_1vm MAC filter scenario. @@ -253,6 +254,7 @@ class TestVfMacFilter(TestCase): self.setup_2pf_2vf_1vm_env(False, driver="igb_uio") self.send_packet_and_verify() + @skip_unsupported_host_driver(["vfio-pci"]) def test_dpdk_2pf_2vf_1vm_iplink_macfilter(self): """ test case for dpdk pf and dpdk vf 2pf_2vf_1vm MAC filter scenario. diff --git a/tests/TestSuite_vf_packet_rxtx.py b/tests/TestSuite_vf_packet_rxtx.py index 5d57c462..0d52b6d3 100644 --- a/tests/TestSuite_vf_packet_rxtx.py +++ b/tests/TestSuite_vf_packet_rxtx.py @@ -7,7 +7,7 @@ import time from framework.packet import Packet from framework.pmd_output import PmdOutput -from framework.test_case import TestCase +from framework.test_case import TestCase, skip_unsupported_host_driver from framework.virt_common import VM VM_CORES_MASK = "all" @@ -164,6 +164,7 @@ class TestVfPacketRxtx(TestCase): self.packet_rx_tx(driver="") ######2. test case for dpdk pf and dpdk vf 2pf_2vf_1vm scenario packet rx tx. + @skip_unsupported_host_driver(["vfio-pci"]) def test_dpdk_2pf_2vf_1vm(self): self.packet_rx_tx(driver="igb_uio") @@ -266,6 +267,7 @@ class TestVfPacketRxtx(TestCase): self.setup_3vf_2vm_env(driver="") self.vf_reset() + @skip_unsupported_host_driver(["vfio-pci"]) def test_dpdk_pf_vf_reset(self): self.setup_3vf_2vm_env(driver="igb_uio") self.vf_reset() -- 2.17.1