Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/89469/?format=api
https://patches.dpdk.org/api/patches/89469/?format=api", "web_url": "https://patches.dpdk.org/project/dts/patch/20210318092215.27270-6-haiyangx.zhao@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": "<20210318092215.27270-6-haiyangx.zhao@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20210318092215.27270-6-haiyangx.zhao@intel.com", "date": "2021-03-18T09:22:15", "name": "[V2,5/5] tests: add nic and pkg check for rss_gtpu", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "487724e1525b5536deb79dafa66ce81f2a15b029", "submitter": { "id": 1978, "url": "https://patches.dpdk.org/api/people/1978/?format=api", "name": "Zhao, HaiyangX", "email": "haiyangx.zhao@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dts/patch/20210318092215.27270-6-haiyangx.zhao@intel.com/mbox/", "series": [ { "id": 15762, "url": "https://patches.dpdk.org/api/series/15762/?format=api", "web_url": "https://patches.dpdk.org/project/dts/list/?series=15762", "date": "2021-03-18T09:22:10", "name": "framework: add a proposal of recognizing pkgs", "version": 2, "mbox": "https://patches.dpdk.org/series/15762/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/89469/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/89469/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 0CA7EA0562;\n\tThu, 18 Mar 2021 10:31:22 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0696D140F39;\n\tThu, 18 Mar 2021 10:31:22 +0100 (CET)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id 56FE3140F17\n for <dts@dpdk.org>; Thu, 18 Mar 2021 10:31:21 +0100 (CET)", "from orsmga008.jf.intel.com ([10.7.209.65])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 18 Mar 2021 02:31:21 -0700", "from unknown (HELO localhost.localdomain) ([10.240.183.57])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 18 Mar 2021 02:31:19 -0700" ], "IronPort-SDR": [ "\n CU/bJpWCOBjb6EhceCexy79YntHJsi7q7qPTmOZzS5+2dzw+EUbs7ENLi7v47sAy+CH/5ZmuX9\n VuSDrm9izu8Q==", "\n 0lAiEnjandWRhQTTcs9q/17vMtjxMjlYqXrtEBvtOwCrb14V4FQK1seL0VLIXqliaX62qbD97J\n rNxtIdfYOY6w==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9926\"; a=\"189731931\"", "E=Sophos;i=\"5.81,258,1610438400\"; d=\"scan'208\";a=\"189731931\"", "E=Sophos;i=\"5.81,258,1610438400\"; d=\"scan'208\";a=\"413013421\"" ], "From": "Haiyang Zhao <haiyangx.zhao@intel.com>", "To": "dts@dpdk.org", "Cc": "lijuan.tu@intel.com,\n\tHaiyang Zhao <haiyangx.zhao@intel.com>", "Date": "Thu, 18 Mar 2021 17:22:15 +0800", "Message-Id": "<20210318092215.27270-6-haiyangx.zhao@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20210318092215.27270-1-haiyangx.zhao@intel.com>", "References": "<20210318092215.27270-1-haiyangx.zhao@intel.com>", "Subject": "[dts] [PATCH V2 5/5] tests: add nic and pkg check for rss_gtpu", "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", "Sender": "\"dts\" <dts-bounces@dpdk.org>" }, "content": "add decorate in set_up_all to check if nic and pkg\nsupport current suite, if not, all the cases will be\nmarked as N/A.\n\nSigned-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>\n---\n tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py | 5 ++++-\n tests/TestSuite_cvl_advanced_rss_gtpu.py | 5 ++++-\n 2 files changed, 8 insertions(+), 2 deletions(-)", "diff": "diff --git a/tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py b/tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py\nindex 93e1309b..6490dcbf 100755\n--- a/tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py\n+++ b/tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py\n@@ -35,7 +35,7 @@ import random\n import time\n from packet import Packet\n from pmd_output import PmdOutput\n-from test_case import TestCase\n+from test_case import TestCase, skip_unsupported_pkg, check_supported_nic\n from rte_flow_common import RssProcessing\n \n mac_ipv4_gtpu_ipv4_basic = {\n@@ -7807,7 +7807,10 @@ mac_ipv6_gtpc_symmetric_toeplitz = [mac_ipv6_gtpc_symmetric]\n \n \n class TestCVLAdvancedIAVFRSSGTPU(TestCase):\n+ supported_nic = ['columbiaville_100g', 'columbiaville_25g', 'columbiaville_25gx2']\n \n+ @check_supported_nic(supported_nic)\n+ @skip_unsupported_pkg('os default')\n def set_up_all(self):\n \"\"\"\n Run at the start of each test suite.\ndiff --git a/tests/TestSuite_cvl_advanced_rss_gtpu.py b/tests/TestSuite_cvl_advanced_rss_gtpu.py\nindex df514198..054f1907 100755\n--- a/tests/TestSuite_cvl_advanced_rss_gtpu.py\n+++ b/tests/TestSuite_cvl_advanced_rss_gtpu.py\n@@ -34,7 +34,7 @@ import re\n import time\n from packet import Packet\n from pmd_output import PmdOutput\n-from test_case import TestCase\n+from test_case import TestCase, skip_unsupported_pkg, check_supported_nic\n from rte_flow_common import RssProcessing\n \n \n@@ -5555,7 +5555,10 @@ mac_ipv4_gtpu_eh_ipv6_tcp_without_ul_dl_symmetric = eval(str(mac_ipv4_gtpu_eh_ip\n \n \n class TestCVLAdvancedRSSGTPU(TestCase):\n+ supported_nic = ['columbiaville_100g', 'columbiaville_25g', 'columbiaville_25gx2']\n \n+ @check_supported_nic(supported_nic)\n+ @skip_unsupported_pkg('os default')\n def set_up_all(self):\n \"\"\"\n Run at the start of each test suite.\n", "prefixes": [ "V2", "5/5" ] }{ "id": 89469, "url": "