Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/120691/?format=api
https://patches.dpdk.org/api/patches/120691/?format=api", "web_url": "https://patches.dpdk.org/project/dts/patch/20221209070807.1134-6-linglix.chen@intel.com/", "project": { "id": 3, "url": "https://patches.dpdk.org/api/projects/3/?format=api", "name": "DTS", "link_name": "dts", "list_id": "dts.dpdk.org", "list_email": "dts@dpdk.org", "web_url": "", "scm_url": "git://dpdk.org/tools/dts", "webscm_url": "http://git.dpdk.org/tools/dts/", "list_archive_url": "https://inbox.dpdk.org/dts", "list_archive_url_format": "https://inbox.dpdk.org/dts/{}", "commit_url_format": "" }, "msgid": "<20221209070807.1134-6-linglix.chen@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20221209070807.1134-6-linglix.chen@intel.com", "date": "2022-12-09T07:08:07", "name": "[V2,5/5] tests/TestSuite_*: skip igb_uio cases", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "2b8376a2faa688beaabfa0e219a32f950992bf30", "submitter": { "id": 1843, "url": "https://patches.dpdk.org/api/people/1843/?format=api", "name": "Lingli Chen", "email": "linglix.chen@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dts/patch/20221209070807.1134-6-linglix.chen@intel.com/mbox/", "series": [ { "id": 26057, "url": "https://patches.dpdk.org/api/series/26057/?format=api", "web_url": "https://patches.dpdk.org/project/dts/list/?series=26057", "date": "2022-12-09T07:08:02", "name": "use decorator to skip igb_uio cases", "version": 2, "mbox": "https://patches.dpdk.org/series/26057/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/120691/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/120691/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dts-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 5D923A0093;\n\tFri, 9 Dec 2022 09:05:06 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5956B42D0B;\n\tFri, 9 Dec 2022 09:05:06 +0100 (CET)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id F37B740E0F\n for <dts@dpdk.org>; Fri, 9 Dec 2022 09:05:03 +0100 (CET)", "from orsmga008.jf.intel.com ([10.7.209.65])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 09 Dec 2022 00:05:03 -0800", "from unknown (HELO localhost.localdomain) ([10.239.252.99])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 09 Dec 2022 00:05:01 -0800" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1670573104; x=1702109104;\n h=from:to:cc:subject:date:message-id:in-reply-to: references;\n bh=IPrOZOgY42ERkDwSjoYb4GalLMm+FKOS2YZF0UmmL9A=;\n b=WCiKrjYNWLm3omGhykyrL/KPLNaNE+5PgcaHNGLThI1q4CD6LIr9hejL\n eNSIc2zDzgNIGtP1/96rxV2SdwXxzCC5bYSJuY/p1MdvG9POk/EqNPtDl\n TFy8pwcEHbvhyFcsltucEkOlnmeiifs4awLPVCG6chOycYsPAHcTg3O/2\n /4HMHRGuhIw/83ZfcjXEC/fzK9MV+hMK1QwiM32kRHlivfkop60YMrwkp\n UaocW7Vz3AA065Ns2OfyFQki5HllNvEDG+dy0evXSe97KbIVkMxkZ8C2k\n wirdZi5InHMKzeF3HanOAxnqlCFJKHxffu321l7GbD4ZKnCBSk+I93zU4 Q==;", "X-IronPort-AV": [ "E=McAfee;i=\"6500,9779,10555\"; a=\"305051978\"", "E=Sophos;i=\"5.96,230,1665471600\"; d=\"scan'208\";a=\"305051978\"", "E=McAfee;i=\"6500,9779,10555\"; a=\"678074623\"", "E=Sophos;i=\"5.96,230,1665471600\"; d=\"scan'208\";a=\"678074623\"" ], "From": "Lingli Chen <linglix.chen@intel.com>", "To": "dts@dpdk.org", "Cc": "zhiminx.huang@intel.com,\n\tLingli Chen <linglix.chen@intel.com>", "Subject": "[dts][PATCH V2 5/5] tests/TestSuite_*: skip igb_uio cases", "Date": "Fri, 9 Dec 2022 02:08:07 -0500", "Message-Id": "<20221209070807.1134-6-linglix.chen@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20221209070807.1134-1-linglix.chen@intel.com>", "References": "<20221209070807.1134-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 <dts.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dts/>", "List-Post": "<mailto:dts@dpdk.org>", "List-Help": "<mailto:dts-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>", "Errors-To": "dts-bounces@dpdk.org" }, "content": "7 suits (external_memory/ip_pipeline/qinq_filter/veb_switch/vf_interrupt_pmd/vf_macfilter/vf_packet_rxtx) skip igb_uio cases.\n\nSigned-off-by: Lingli Chen <linglix.chen@intel.com>\n---\nV2: reformat tests/TestSuite_vf_interrupt_pmd.py \n\n tests/TestSuite_external_memory.py | 4 +++-\n tests/TestSuite_ip_pipeline.py | 3 ++-\n tests/TestSuite_qinq_filter.py | 4 +++-\n tests/TestSuite_veb_switch.py | 3 ++-\n tests/TestSuite_vf_interrupt_pmd.py | 3 ++-\n tests/TestSuite_vf_macfilter.py | 4 +++-\n tests/TestSuite_vf_packet_rxtx.py | 4 +++-\n 7 files changed, 18 insertions(+), 7 deletions(-)", "diff": "diff --git a/tests/TestSuite_external_memory.py b/tests/TestSuite_external_memory.py\nindex 8163a7ec..c565eba8 100644\n--- a/tests/TestSuite_external_memory.py\n+++ b/tests/TestSuite_external_memory.py\n@@ -12,7 +12,7 @@ import time\n \n import framework.utils as utils\n from framework.pmd_output import PmdOutput\n-from framework.test_case import TestCase\n+from framework.test_case import TestCase, skip_unsupported_host_driver\n \n \n class TestExternalMemory(TestCase):\n@@ -62,6 +62,7 @@ class TestExternalMemory(TestCase):\n \n self.dut.bind_interfaces_linux(driver=\"vfio-pci\")\n \n+ @skip_unsupported_host_driver([\"vfio-pci\"])\n def test_IGB_UIO_xmem(self):\n \"\"\"\n Verifier IGB_UIO and anonymous memory allocation\n@@ -75,6 +76,7 @@ class TestExternalMemory(TestCase):\n )\n self.verifier_result()\n \n+ @skip_unsupported_host_driver([\"vfio-pci\"])\n def test_IGB_UIO_xmemhuage(self):\n \"\"\"\n Verifier IGB_UIO and anonymous hugepage memory allocation\ndiff --git a/tests/TestSuite_ip_pipeline.py b/tests/TestSuite_ip_pipeline.py\nindex 80a7dbc8..043516dd 100644\n--- a/tests/TestSuite_ip_pipeline.py\n+++ b/tests/TestSuite_ip_pipeline.py\n@@ -13,7 +13,7 @@ from scapy.utils import hexstr, rdpcap, wrpcap\n \n from framework.exception import VerifyFailure\n from framework.packet import Packet\n-from framework.test_case import TestCase\n+from framework.test_case import TestCase, skip_unsupported_host_driver\n \n \n class TestIPPipeline(TestCase):\n@@ -605,6 +605,7 @@ class TestIPPipeline(TestCase):\n cmd = \"^C\"\n self.dut.send_expect(cmd, \"# \", 20)\n \n+ @skip_unsupported_host_driver([\"vfio-pci\"])\n def test_pfdpdk_vf_l2fwd_pipeline(self):\n \"\"\"\n VF l2fwd pipeline, PF bound to DPDK driver\ndiff --git a/tests/TestSuite_qinq_filter.py b/tests/TestSuite_qinq_filter.py\nindex 6b5b756c..87653681 100644\n--- a/tests/TestSuite_qinq_filter.py\n+++ b/tests/TestSuite_qinq_filter.py\n@@ -13,7 +13,7 @@ import time\n \n import framework.utils as utils\n from framework.pmd_output import PmdOutput\n-from framework.test_case import TestCase\n+from framework.test_case import TestCase, skip_unsupported_host_driver\n \n \n class TestQinqFilter(TestCase):\n@@ -208,6 +208,7 @@ class TestQinqFilter(TestCase):\n \n self.dut.send_expect(\"quit\", \"#\")\n \n+ @skip_unsupported_host_driver([\"vfio-pci\"])\n def test_qinq_packet_filter_VF_queues(self):\n \"\"\"\n qinq filter packet received by assign VF queues\n@@ -303,6 +304,7 @@ class TestQinqFilter(TestCase):\n \n self.verify(not error_message, error_message)\n \n+ @skip_unsupported_host_driver([\"vfio-pci\"])\n def test_qinq_filter_with_diffierent_tpid(self):\n \"\"\"\n qinq filter packet with different tpid received by assign VF queues\ndiff --git a/tests/TestSuite_veb_switch.py b/tests/TestSuite_veb_switch.py\nindex 77ba9559..f391a0ee 100644\n--- a/tests/TestSuite_veb_switch.py\n+++ b/tests/TestSuite_veb_switch.py\n@@ -17,7 +17,7 @@ from framework.packet import Packet\n from framework.pmd_output import PmdOutput\n from framework.project_dpdk import DPDKdut\n from framework.settings import HEADER_SIZE\n-from framework.test_case import TestCase\n+from framework.test_case import TestCase, skip_unsupported_host_driver\n from framework.utils import RED\n from framework.virt_dut import VirtDut\n \n@@ -384,6 +384,7 @@ class TestVEBSwitching(TestCase):\n \"VF1 didn't receive packets from VF0, the vlan filter doen't work\",\n )\n \n+ @skip_unsupported_host_driver([\"vfio-pci\"])\n def test_VEB_switching_inter_vfs_and_pf(self):\n \"\"\"\n DPDK PF, then create 2VFs, PF in the host running dpdk testpmd, VFs\ndiff --git a/tests/TestSuite_vf_interrupt_pmd.py b/tests/TestSuite_vf_interrupt_pmd.py\nindex 5854cb0c..4fdff601 100644\n--- a/tests/TestSuite_vf_interrupt_pmd.py\n+++ b/tests/TestSuite_vf_interrupt_pmd.py\n@@ -13,7 +13,7 @@ import time\n \n import framework.utils as utils\n from framework.packet import Packet\n-from framework.test_case import TestCase\n+from framework.test_case import TestCase, skip_unsupported_host_driver\n from framework.virt_common import VM\n \n \n@@ -288,6 +288,7 @@ class TestVfInterruptPmd(TestCase):\n \"lcore %s not sleeps\" % self.core_user,\n )\n \n+ @skip_unsupported_host_driver([\"vfio-pci\"])\n def test_nic_interrupt_PF_igb_uio(self):\n \"\"\"\n Check Interrupt for PF with igb_uio driver\ndiff --git a/tests/TestSuite_vf_macfilter.py b/tests/TestSuite_vf_macfilter.py\nindex dc4e1098..974d0e40 100644\n--- a/tests/TestSuite_vf_macfilter.py\n+++ b/tests/TestSuite_vf_macfilter.py\n@@ -7,7 +7,7 @@ import time\n \n from framework.pmd_output import PmdOutput\n from framework.settings import DPDK_DCFMODE_SETTING, load_global_setting\n-from framework.test_case import TestCase\n+from framework.test_case import TestCase, skip_unsupported_host_driver\n from framework.virt_common import VM\n \n VM_CORES_MASK = \"all\"\n@@ -229,6 +229,7 @@ class TestVfMacFilter(TestCase):\n self.setup_2pf_2vf_1vm_env(False, driver=\"\")\n self.send_packet_and_verify()\n \n+ @skip_unsupported_host_driver([\"vfio-pci\"])\n def test_dpdk_2pf_2vf_1vm_mac_add_filter(self):\n \"\"\"\n test case for dpdk pf and dpdk vf 2pf_2vf_1vm MAC filter scenario.\n@@ -253,6 +254,7 @@ class TestVfMacFilter(TestCase):\n self.setup_2pf_2vf_1vm_env(False, driver=\"igb_uio\")\n self.send_packet_and_verify()\n \n+ @skip_unsupported_host_driver([\"vfio-pci\"])\n def test_dpdk_2pf_2vf_1vm_iplink_macfilter(self):\n \"\"\"\n test case for dpdk pf and dpdk vf 2pf_2vf_1vm MAC filter scenario.\ndiff --git a/tests/TestSuite_vf_packet_rxtx.py b/tests/TestSuite_vf_packet_rxtx.py\nindex 5d57c462..0d52b6d3 100644\n--- a/tests/TestSuite_vf_packet_rxtx.py\n+++ b/tests/TestSuite_vf_packet_rxtx.py\n@@ -7,7 +7,7 @@ import time\n \n from framework.packet import Packet\n from framework.pmd_output import PmdOutput\n-from framework.test_case import TestCase\n+from framework.test_case import TestCase, skip_unsupported_host_driver\n from framework.virt_common import VM\n \n VM_CORES_MASK = \"all\"\n@@ -164,6 +164,7 @@ class TestVfPacketRxtx(TestCase):\n self.packet_rx_tx(driver=\"\")\n \n ######2. test case for dpdk pf and dpdk vf 2pf_2vf_1vm scenario packet rx tx.\n+ @skip_unsupported_host_driver([\"vfio-pci\"])\n def test_dpdk_2pf_2vf_1vm(self):\n \n self.packet_rx_tx(driver=\"igb_uio\")\n@@ -266,6 +267,7 @@ class TestVfPacketRxtx(TestCase):\n self.setup_3vf_2vm_env(driver=\"\")\n self.vf_reset()\n \n+ @skip_unsupported_host_driver([\"vfio-pci\"])\n def test_dpdk_pf_vf_reset(self):\n self.setup_3vf_2vm_env(driver=\"igb_uio\")\n self.vf_reset()\n", "prefixes": [ "V2", "5/5" ] }{ "id": 120691, "url": "