get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 95721,
    "url": "http://patches.dpdk.org/api/patches/95721/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20210713130133.445-1-zhiminx.huang@intel.com/",
    "project": {
        "id": 3,
        "url": "http://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": "<20210713130133.445-1-zhiminx.huang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210713130133.445-1-zhiminx.huang@intel.com",
    "date": "2021-07-13T13:01:33",
    "name": "[V1] tests/enable_package_download_in_ice_driver:adapt testpmd output info",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "01ad2c6e3d55e1d940334a3ddc0b4ca9663adf5e",
    "submitter": {
        "id": 1685,
        "url": "http://patches.dpdk.org/api/people/1685/?format=api",
        "name": "Huang, ZhiminX",
        "email": "zhiminx.huang@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20210713130133.445-1-zhiminx.huang@intel.com/mbox/",
    "series": [
        {
            "id": 17784,
            "url": "http://patches.dpdk.org/api/series/17784/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=17784",
            "date": "2021-07-13T13:01:33",
            "name": "[V1] tests/enable_package_download_in_ice_driver:adapt testpmd output info",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/17784/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/95721/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/95721/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 7EFA2A0C4A;\n\tTue, 13 Jul 2021 06:28:16 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 575B540DDE;\n\tTue, 13 Jul 2021 06:28:16 +0200 (CEST)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id 4ADB34069E\n for <dts@dpdk.org>; Tue, 13 Jul 2021 06:28:14 +0200 (CEST)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 12 Jul 2021 21:28:12 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.103])\n by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 12 Jul 2021 21:28:11 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10043\"; a=\"208277016\"",
            "E=Sophos;i=\"5.84,235,1620716400\"; d=\"scan'208\";a=\"208277016\"",
            "E=Sophos;i=\"5.84,235,1620716400\"; d=\"scan'208\";a=\"492561830\""
        ],
        "From": "Zhimin Huang <zhiminx.huang@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Zhimin Huang <zhiminx.huang@intel.com>",
        "Date": "Tue, 13 Jul 2021 21:01:33 +0800",
        "Message-Id": "<20210713130133.445-1-zhiminx.huang@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "Subject": "[dts] [PATCH V1] tests/enable_package_download_in_ice_driver:adapt\n testpmd output info",
        "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": "*.fix code to adapt testpmd output infomation\n\nSigned-off-by: Zhimin Huang <zhiminx.huang@intel.com>\n---\n tests/TestSuite_enable_package_download_in_ice_driver.py | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_enable_package_download_in_ice_driver.py b/tests/TestSuite_enable_package_download_in_ice_driver.py\nindex b57eb794..8bf21d18 100644\n--- a/tests/TestSuite_enable_package_download_in_ice_driver.py\n+++ b/tests/TestSuite_enable_package_download_in_ice_driver.py\n@@ -99,11 +99,11 @@ class TestEnable_Package_Download_In_Ice_Driver(TestCase):\n         out = self.dut_testpmd.start_testpmd(\"all\", \"--nb-cores=8 --rxq=%s --txq=%s --port-topology=chained\" % (self.PF_QUEUE, self.PF_QUEUE), eal_param=self.eal_param)\n         if ice_pkg == \"false\":\n             if safe_mode_support == \"true\":\n-                error_messages = [\"ice_load_pkg(): failed to allocate buf of size 0 for package\", \\\n+                error_messages = [\"ice_load_pkg(): ice_copy_and_init_hw failed: -1\", \\\n                     \"ice_dev_init(): Failed to load the DDP package,Entering Safe Mode\", \\\n                     \"ice_init_rss(): RSS is not supported in safe mode\"]\n             if safe_mode_support == \"false\":\n-                error_messages = [\"ice_load_pkg(): failed to allocate buf of size 0 for package\", \\\n+                error_messages = [\"ice_load_pkg(): ice_copy_and_init_hw failed: -1\", \\\n                     \"ice_dev_init(): Failed to load the DDP package,Use safe-mode-support=1 to enter Safe Mode\"]\n             for error_message in error_messages:\n                 self.verify(error_message in out, \"There should be error messages in out: %s\" % out)\n@@ -291,7 +291,7 @@ class TestEnable_Package_Download_In_Ice_Driver(TestCase):\n         self.use_correct_ice_pkg(flag=\"false\")\n         cmd = self.path + \"-c 0x7 -n 4 -- -i --nb-cores=8 --rxq=%s --txq=%s --port-topology=chained\" % (self.PF_QUEUE, self.PF_QUEUE)\n         out = self.dut.send_expect(cmd, \"#\", 60)\n-        error_messages = [\"ice_load_pkg(): failed to allocate buf of size 0 for package\", \\\n+        error_messages = [\"ice_load_pkg(): ice_copy_and_init_hw failed: -1\", \\\n                 \"ice_dev_init(): Failed to load the DDP package,Use safe-mode-support=1 to enter Safe Mode\"]\n         for error_message in error_messages:\n             self.verify(error_message in out, \"There should be '%s' in out: %s\" % (error_message, out))\n",
    "prefixes": [
        "V1"
    ]
}