get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 115453,
    "url": "http://patchwork.dpdk.org/api/patches/115453/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dts/patch/20220826055540.19911-1-weiyuanx.li@intel.com/",
    "project": {
        "id": 3,
        "url": "http://patchwork.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": "<20220826055540.19911-1-weiyuanx.li@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220826055540.19911-1-weiyuanx.li@intel.com",
    "date": "2022-08-26T05:55:39",
    "name": "[V1,1/2] tests/coremask: optimize the test script specified socket",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "274e9f11cf4d17108a998e35605fe928e24144c8",
    "submitter": {
        "id": 2477,
        "url": "http://patchwork.dpdk.org/api/people/2477/?format=api",
        "name": "Weiyuan Li",
        "email": "weiyuanx.li@intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dts/patch/20220826055540.19911-1-weiyuanx.li@intel.com/mbox/",
    "series": [
        {
            "id": 24420,
            "url": "http://patchwork.dpdk.org/api/series/24420/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dts/list/?series=24420",
            "date": "2022-08-26T05:55:39",
            "name": "[V1,1/2] tests/coremask: optimize the test script specified socket",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/24420/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/115453/comments/",
    "check": "pending",
    "checks": "http://patchwork.dpdk.org/api/patches/115453/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 EB3C4A0551;\n\tFri, 26 Aug 2022 07:55:33 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B0C1D40146;\n\tFri, 26 Aug 2022 07:55:33 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id 6115E40143\n for <dts@dpdk.org>; Fri, 26 Aug 2022 07:55:32 +0200 (CEST)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 25 Aug 2022 22:55:31 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.252.248])\n by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 25 Aug 2022 22:55:30 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1661493332; x=1693029332;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=5slV4Br7GCp4nejGTvln22cuVAJYpDSRrIEXSqba9GM=;\n b=Lp9fVzlJjesnZfXN7Wu9fMNCyIpNy0eJnxEPyAEyLEdDtqz82jTPb45O\n qwqHCCYCHU6ij/bl4MLMy/Dd54A7HDdtrwzQRuQe0L17V+lGuGYrqwruR\n x2bedyaLUBZ6fJO1aRfsSq/X5JOE9OelpIme3gtNQ/gK875R3dop3odzd\n 4/QcdtGwjya54geYX1zDezNF5v2USgrRyNVK+t+z8sQS3SHdLbGhv+x0a\n jPmxe6lJkE/T1yAbrZPxzPGdEAVa0hgF1T78M4DWWOT9pk70pnWruohT2\n 8TY+7E8Kz53YIxZmF3IK2du9w7Ye+yKBxEx9PlvCxjMtwKaO00GOOlwz4 Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10450\"; a=\"277445891\"",
            "E=Sophos;i=\"5.93,264,1654585200\"; d=\"scan'208\";a=\"277445891\"",
            "E=Sophos;i=\"5.93,264,1654585200\"; d=\"scan'208\";a=\"643539053\""
        ],
        "From": "Weiyuan Li <weiyuanx.li@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Weiyuan Li <weiyuanx.li@intel.com>",
        "Subject": "[dts][PATCH V1 1/2] tests/coremask: optimize the test script\n specified socket",
        "Date": "Fri, 26 Aug 2022 13:55:39 +0800",
        "Message-Id": "<20220826055540.19911-1-weiyuanx.li@intel.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "32-bit applications have limitations in terms of how much virtual memory is available, hence the number of hugepages they are able to allocate is also limited (1 GB size).\nTherefore, the 32-bit core is designated as the CPU on socket 0.\n\nSigned-off-by: Weiyuan Li <weiyuanx.li@intel.com>\n---\n tests/TestSuite_coremask.py | 5 ++++-\n 1 file changed, 4 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/tests/TestSuite_coremask.py b/tests/TestSuite_coremask.py\nindex 54db5550..8e95e998 100644\n--- a/tests/TestSuite_coremask.py\n+++ b/tests/TestSuite_coremask.py\n@@ -39,7 +39,10 @@ class TestCoremask(TestCase):\n         self.port_mask = utils.create_mask(self.dut.get_ports(self.nic))\n         self.mem_channel = self.dut.get_memory_channels()\n         self.app_test_path = self.dut.apps_name[\"test\"]\n-        self.all_cores = self.dut.get_core_list(\"all\")\n+        if self.dut.architecture == \"i686\":\n+            self.all_cores = self.dut.get_core_list(\"all\", socket=0)\n+        else:\n+            self.all_cores = self.dut.get_core_list(\"all\")\n \n     def set_up(self):\n         \"\"\"\n",
    "prefixes": [
        "V1",
        "1/2"
    ]
}