get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 113581,
    "url": "http://patches.dpdk.org/api/patches/113581/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20220630173445.3751472-1-thinhtr@linux.vnet.ibm.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": "<20220630173445.3751472-1-thinhtr@linux.vnet.ibm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220630173445.3751472-1-thinhtr@linux.vnet.ibm.com",
    "date": "2022-06-30T17:34:45",
    "name": "tests/coremask: fix all_core size",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "397fcbc05acafda841bd341a6e6dff3d809febc8",
    "submitter": {
        "id": 1341,
        "url": "http://patches.dpdk.org/api/people/1341/?format=api",
        "name": "Thinh Tran",
        "email": "thinhtr@linux.vnet.ibm.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20220630173445.3751472-1-thinhtr@linux.vnet.ibm.com/mbox/",
    "series": [
        {
            "id": 23849,
            "url": "http://patches.dpdk.org/api/series/23849/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=23849",
            "date": "2022-06-30T17:34:45",
            "name": "tests/coremask: fix all_core size",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/23849/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/113581/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/113581/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 E422CA00C4;\n\tThu, 30 Jun 2022 19:34:54 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id DD5BD4069D;\n\tThu, 30 Jun 2022 19:34:54 +0200 (CEST)",
            "from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com\n [148.163.156.1]) by mails.dpdk.org (Postfix) with ESMTP id AE5B940694\n for <dts@dpdk.org>; Thu, 30 Jun 2022 19:34:52 +0200 (CEST)",
            "from pps.filterd (m0098410.ppops.net [127.0.0.1])\n by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id\n 25UGJsP7023643\n for <dts@dpdk.org>; Thu, 30 Jun 2022 17:34:51 GMT",
            "from ppma04wdc.us.ibm.com (1a.90.2fa9.ip4.static.sl-reverse.com\n [169.47.144.26])\n by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3h1f8r26gj-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)\n for <dts@dpdk.org>; Thu, 30 Jun 2022 17:34:51 +0000",
            "from pps.filterd (ppma04wdc.us.ibm.com [127.0.0.1])\n by ppma04wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 25UHLJ8Q003065\n for <dts@dpdk.org>; Thu, 30 Jun 2022 17:34:50 GMT",
            "from b03cxnp08025.gho.boulder.ibm.com\n (b03cxnp08025.gho.boulder.ibm.com [9.17.130.17])\n by ppma04wdc.us.ibm.com with ESMTP id 3gwt0acfp1-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)\n for <dts@dpdk.org>; Thu, 30 Jun 2022 17:34:50 +0000",
            "from b03ledav003.gho.boulder.ibm.com\n (b03ledav003.gho.boulder.ibm.com [9.17.130.234])\n by b03cxnp08025.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id\n 25UHYn9f32178466\n (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);\n Thu, 30 Jun 2022 17:34:49 GMT",
            "from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id 558ED6A051;\n Thu, 30 Jun 2022 17:34:49 +0000 (GMT)",
            "from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id 144B76A04D;\n Thu, 30 Jun 2022 17:34:49 +0000 (GMT)",
            "from linux.vnet.ibm.com (unknown [9.114.219.126])\n by b03ledav003.gho.boulder.ibm.com (Postfix) with ESMTP;\n Thu, 30 Jun 2022 17:34:48 +0000 (GMT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com;\n h=from : to : cc : subject\n : date : message-id : mime-version : content-transfer-encoding; s=pp1;\n bh=z454JJF4sap/Uj6Es6G2OE1XBrP7563PJCCPXFknPqk=;\n b=Bz5BJHp+e4ZHslKysIlPixpTgu7drjHbjlJQrGYIAtcUiCYqw5nedwGb0Uer7t+SE4sl\n AZK+TIPoTs9/LthJjqQdIFtlwwEwpdlvm0RY4GQzN+HYE6CC7xVbU9CW1BGTljnmjF+Y\n R03fJEybxLL92zC1SbvTm9vd+Dirno05/OCWBiOMu4xOtw3upYNpquhwc0hCePR9ggFa\n zu6/BjTdgiuOsg80TgHSCI7+sg8uANSNemGQfJtDdsoQ9MWKRvvW/zOGfNIVehq6XOWC\n dKit2Ij9CtZF7AdtudmgEsxSWUY8ifTt5T+/r/gDsoeChTomGMT0Ew3HBWpXzppQUWQO 9w==",
        "From": "Thinh Tran <thinhtr@linux.vnet.ibm.com>",
        "To": "dts@dpdk.org",
        "Cc": "Thinh Tran <thinhtr@linux.vnet.ibm.com>",
        "Subject": "[dts][PATCH] tests/coremask: fix all_core size",
        "Date": "Thu, 30 Jun 2022 17:34:45 +0000",
        "Message-Id": "<20220630173445.3751472-1-thinhtr@linux.vnet.ibm.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-TM-AS-GCONF": "00",
        "X-Proofpoint-GUID": "5wL0POm0pgu03QdqXz-Sa5FN7E9cti9A",
        "X-Proofpoint-ORIG-GUID": "5wL0POm0pgu03QdqXz-Sa5FN7E9cti9A",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1\n definitions=2022-06-30_12,2022-06-28_01,2022-06-22_01",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n impostorscore=0\n malwarescore=0 suspectscore=0 mlxlogscore=721 spamscore=0 phishscore=0\n priorityscore=1501 clxscore=1011 adultscore=0 mlxscore=0 bulkscore=0\n lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1\n engine=8.12.0-2204290000 definitions=main-2206300069",
        "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": "My system has 16 lcores, due to adding one (+1) to the length of\nall_cores[] make the calculation of big_coremask wrong and cause test to fail.\n\nSigned-off-by: Thinh Tran <thinhtr@linux.vnet.ibm.com>\n---\n tests/TestSuite_coremask.py | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_coremask.py b/tests/TestSuite_coremask.py\nindex db809cf3..8308f93c 100644\n--- a/tests/TestSuite_coremask.py\n+++ b/tests/TestSuite_coremask.py\n@@ -82,9 +82,9 @@ class TestCoremask(TestCase):\n         config_max_lcore = self.dut.get_def_rte_config('CONFIG_RTE_MAX_LCORE')\n \n         if config_max_lcore:\n-            available_max_lcore = min(int(config_max_lcore), len(self.all_cores) + 1)\n+            available_max_lcore = min(int(config_max_lcore), len(self.all_cores))\n         else:\n-            available_max_lcore = len(self.all_cores) + 1\n+            available_max_lcore = len(self.all_cores) \n \n         return available_max_lcore\n \n@@ -151,6 +151,7 @@ class TestCoremask(TestCase):\n         big_coremask = \"0x\"\n         for _ in range(0, big_coremask_size, 4):\n             big_coremask += \"f\"\n+\n         command = command_line % (self.app_test_path, big_coremask, self.mem_channel)\n         try:\n             out = self.dut.send_expect(command, \"RTE>>\", 10)\n",
    "prefixes": []
}