Show a patch.

GET /api/patches/74517/
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 74517,
    "url": "https://patches.dpdk.org/api/patches/74517/",
    "web_url": "https://patches.dpdk.org/patch/74517/",
    "project": {
        "id": 3,
        "url": "https://patches.dpdk.org/api/projects/3/",
        "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/"
    },
    "msgid": "<20200721061914.13088-1-weix.xie@intel.com>",
    "date": "2020-07-21T06:19:14",
    "name": "[V1] tests/cvl_advanced_iavf_rss:change load ice package mode",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "cb288b62f5c704476715ebf7b410d8b42423e545",
    "submitter": {
        "id": 1686,
        "url": "https://patches.dpdk.org/api/people/1686/",
        "name": "Xie, WeiX",
        "email": "weix.xie@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/patch/74517/mbox/",
    "series": [
        {
            "id": 11188,
            "url": "https://patches.dpdk.org/api/series/11188/",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=11188",
            "date": "2020-07-21T06:19:14",
            "name": "[V1] tests/cvl_advanced_iavf_rss:change load ice package mode",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/11188/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/74517/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/74517/checks/",
    "tags": {},
    "headers": {
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9688\"; a=\"151414620\"",
            "E=Sophos;i=\"5.75,377,1589266800\"; d=\"scan'208\";a=\"151414620\"",
            "E=Sophos;i=\"5.75,377,1589266800\"; d=\"scan'208\";a=\"392254427\""
        ],
        "IronPort-SDR": [
            "\n HnOkiCmGJRx06mg6gW6S38OeOyE9DJoXCD/AL4XYBbxSqywvzz17hB8bqNoBMU+bXZpzfjMe6t\n RR0196wZYepg==",
            "\n Jfq6RGgYDJqYvUsK8eqzBRJviwjInm2mPxl+kZjqGGK7m+Q5stWyR6SJQK1tVW7wd7jNUmhHs9\n 5Wjmeb2HZ/NQ=="
        ],
        "X-Amp-File-Uploaded": "False",
        "Precedence": "list",
        "X-Mailman-Version": "2.1.15",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "List-Post": "<mailto:dts@dpdk.org>",
        "X-BeenThere": "dts@dpdk.org",
        "List-Id": "test suite reviews and discussions <dts.dpdk.org>",
        "Subject": "[dts] [PATCH V1] tests/cvl_advanced_iavf_rss:change load ice\n\tpackage mode",
        "Sender": "\"dts\" <dts-bounces@dpdk.org>",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 5EF54A0526;\n\tTue, 21 Jul 2020 08:18:14 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 119151BFFF;\n\tTue, 21 Jul 2020 08:18:14 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by dpdk.org (Postfix) with ESMTP id 76D081BFFE\n for <dts@dpdk.org>; Tue, 21 Jul 2020 08:18:12 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 20 Jul 2020 23:18:11 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.80])\n by fmsmga001.fm.intel.com with ESMTP; 20 Jul 2020 23:18:10 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "List-Archive": "<http://mails.dpdk.org/archives/dts/>",
        "X-Mailer": "git-send-email 2.17.1",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>",
        "X-ExtLoop1": "1",
        "Date": "Tue, 21 Jul 2020 14:19:14 +0800",
        "To": "dts@dpdk.org",
        "From": "Xie wei <weix.xie@intel.com>",
        "Errors-To": "dts-bounces@dpdk.org",
        "Cc": "Xie wei <weix.xie@intel.com>",
        "List-Help": "<mailto:dts-request@dpdk.org?subject=help>",
        "Message-Id": "<20200721061914.13088-1-weix.xie@intel.com>",
        "Return-Path": "<dts-bounces@dpdk.org>"
    },
    "content": "use conf/xxx.cfg mode load ice package.\n\nSigned-off-by: Xie wei <weix.xie@intel.com>\n---\n conf/cvl_advanced_iavf_rss_package.cfg   | 4 ++++\n tests/TestSuite_cvl_advanced_iavf_rss.py | 8 ++++++--\n 2 files changed, 10 insertions(+), 2 deletions(-)\n create mode 100644 conf/cvl_advanced_iavf_rss_package.cfg",
    "diff": "diff --git a/conf/cvl_advanced_iavf_rss_package.cfg b/conf/cvl_advanced_iavf_rss_package.cfg\nnew file mode 100644\nindex 0000000..228d481\n--- /dev/null\n+++ b/conf/cvl_advanced_iavf_rss_package.cfg\n@@ -0,0 +1,4 @@\n+[suite]\n+# cvl_advanced_iavf_rss ice package file location\n+os_default_package_file_location=/lib/firmware/updates/intel/ice/ddp/ice-1.3.13.0.pkg\n+comms_package_file_location=/lib/firmware/updates/intel/ice/ddp/ice_comms-1.3.16.0.pkg\ndiff --git a/tests/TestSuite_cvl_advanced_iavf_rss.py b/tests/TestSuite_cvl_advanced_iavf_rss.py\nindex eaf55fa..349cb40 100644\n--- a/tests/TestSuite_cvl_advanced_iavf_rss.py\n+++ b/tests/TestSuite_cvl_advanced_iavf_rss.py\n@@ -4,6 +4,7 @@ import time\n from packet import Packet\n from pmd_output import PmdOutput\n from test_case import TestCase\n+from config import UserConf\n import rte_flow_common as rfc\n \n vf0_mac = \"00:01:23:45:67:89\"\n@@ -735,8 +736,11 @@ class AdvancedIavfRSSTest(TestCase):\n         self.pf_pci = self.dut.ports_info[self.dut_ports[0]]['pci']\n         self.verify(self.nic in [\"columbiaville_25g\", \"columbiaville_100g\"], \"%s nic not support ethertype filter\" % self.nic)\n         self.ddp_fdir = \"/lib/firmware/updates/intel/ice/ddp/\"\n-        self.os_pkg_name = \"ice-1.3.11.0.pkg\"\n-        self.comms_pkg_name = \"ice_comms-1.3.16.0.pkg\"\n+        conf_file = 'conf/cvl_advanced_iavf_rss_package.cfg'\n+        conf_info = UserConf(conf_file)\n+        conf_section = conf_info.conf._sections['suite']\n+        self.os_pkg_name = conf_section['os_default_package_file_location']\n+        self.comms_pkg_name = conf_section['comms_package_file_location']\n         self.vf_flag = False\n         self.create_iavf()\n \n",
    "prefixes": [
        "V1"
    ]
}