get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 87100,
    "url": "https://patches.dpdk.org/api/patches/87100/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20210122170529.672048-1-ohilyard@iol.unh.edu/",
    "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": "<20210122170529.672048-1-ohilyard@iol.unh.edu>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210122170529.672048-1-ohilyard@iol.unh.edu",
    "date": "2021-01-22T17:05:28",
    "name": "meson compile: Improve compile times",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "d2fa7b18721cf9f39ad5974e16e4cbcb98d07343",
    "submitter": {
        "id": 1829,
        "url": "https://patches.dpdk.org/api/people/1829/?format=api",
        "name": "Owen Hilyard",
        "email": "ohilyard@iol.unh.edu"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20210122170529.672048-1-ohilyard@iol.unh.edu/mbox/",
    "series": [
        {
            "id": 14906,
            "url": "https://patches.dpdk.org/api/series/14906/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=14906",
            "date": "2021-01-22T17:05:28",
            "name": "meson compile: Improve compile times",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/14906/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/87100/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/87100/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 33E4FA0A0A;\n\tFri, 22 Jan 2021 18:05:34 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 29B43141035;\n\tFri, 22 Jan 2021 18:05:34 +0100 (CET)",
            "from mail-ua1-f100.google.com (mail-ua1-f100.google.com\n [209.85.222.100])\n by mails.dpdk.org (Postfix) with ESMTP id B9D7614102D\n for <dts@dpdk.org>; Fri, 22 Jan 2021 18:05:32 +0100 (CET)",
            "by mail-ua1-f100.google.com with SMTP id u27so2025094uaa.13\n for <dts@dpdk.org>; Fri, 22 Jan 2021 09:05:32 -0800 (PST)",
            "from postal.iol.unh.edu (postal.iol.unh.edu.\n [2606:4100:3880:1234::84])\n by smtp-relay.gmail.com with ESMTPS id w129sm1785370vkh.5.2021.01.22.09.05.31\n (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);\n Fri, 22 Jan 2021 09:05:32 -0800 (PST)",
            "from iol.unh.edu (unknown [IPv6:2606:4100:3880:1254::1033])\n by postal.iol.unh.edu (Postfix) with ESMTP id 61BB46052472;\n Fri, 22 Jan 2021 12:05:31 -0500 (EST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu;\n s=unh-iol;\n h=from:to:cc:subject:date:message-id:mime-version\n :content-transfer-encoding;\n bh=Yj5I2VyHrjbohHt1fb9O+RrgjOD3Z390ARCt7kz1+lU=;\n b=XB1AINLoSXZqM0oU2mWTGLcTWoNYFI50/WEWldZKa4ujTNf3oj/uOo70+c5JCuG5DF\n JaT8kpkxaIq3xlvFFX25khXcpAQ/Uy7+hS2XSXSkHDfWBAKuwDqyaOjPwuSuUjarnkLc\n BXdxeDhuzgs8ALc5QPJyUu1NTTqEvXlKruIig=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n :content-transfer-encoding;\n bh=Yj5I2VyHrjbohHt1fb9O+RrgjOD3Z390ARCt7kz1+lU=;\n b=lbp8zMA8xR5xnEBMHetKZ8iBKZQFJE9InDTIt39IIi6zLT4uk8CbOk5CoHSPJl/9Pu\n id+3w1Su7OyBhRHbC0RyjRvU3XxdCTF3bOJtVXuzIqgG6owP+VvHwpRe4WD/dNSlA015\n sDsojVPiw5tqcfLdz59tzxFKgTA83cYkUKPwFuRK4/L0HuAkfmJEa0f1RJDwENjonyjn\n d2nRLKafGlUZZFArV4CTLbj0Uh0niavhzX92A3dL4xi+3juI8l99YpP0gI+3RmJP+nUU\n fVp1ECcs9/n2d0VBKgwGrwIzQMyqiaEq80FNSkEOLikvCP16LdjrEQeBGXDVJoxXiR2s\n HSuw==",
        "X-Gm-Message-State": "AOAM53369DSvcGlKPc+jxGhl3VFmuhgkq9fM2JBtlcKzSR5N/JAaoZyj\n MfxHl2q85KjK3hiiPzt3xmIfc1AnG3l9+yLpy8641p7jR2pAgyWgv9KcCJ95roXVMbLi5sbLKzE\n IVTsKtEe/28S9u67YuzbLZOOYQkyPo5IHs2rjF6WQpuZyTgknVJnnkTDSwle5EGwsCMveqAXl63\n iU8747CPU5Hekw+w==",
        "X-Google-Smtp-Source": "\n ABdhPJwN71MZO5fSLbXwK9aDh8Ryl10LWl4HWElbrDBebzF+eKa8Phy/wB1PSMSr/f2HT6sDo27mkB2BB5dH",
        "X-Received": "by 2002:a9f:2286:: with SMTP id 6mr160220uan.66.1611335132021;\n Fri, 22 Jan 2021 09:05:32 -0800 (PST)",
        "X-Relaying-Domain": "iol.unh.edu",
        "From": "ohilyard@iol.unh.edu",
        "To": "dts@dpdk.org",
        "Cc": "lijuan.tu@intel.com,\n\tOwen Hilyard <ohilyard@iol.unh.edu>",
        "Date": "Fri, 22 Jan 2021 12:05:28 -0500",
        "Message-Id": "<20210122170529.672048-1-ohilyard@iol.unh.edu>",
        "X-Mailer": "git-send-email 2.27.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [PATCH] meson compile: Improve compile times",
        "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": "From: Owen Hilyard <ohilyard@iol.unh.edu>\n\nIncreased compile timeout\nRemoved workers parameter from ninja compilation command\n\nAfter a review of CI metrics, we noticed that dts runtimes had increased\ngreatly over the last few months. A review of recent logs showed\ntimeouts for compiling dpdk. Upon review, we discovered that, if the\n\"dut_cores\" parameter is not set in conf/crbs.cfg, then dts uses the\ndefault value, which is a single core, as the core list. The number of cores\nin this list was then used the number of workers for ninja. This causes DTS\nto attempt to compile DPDK serially, resulting in greatly increased compile\ntimes. The IOL's development machine saw a 30x compile speed increase from\nthe included changes.\n\nSigned-off-by: Owen Hilyard <ohilyard@iol.unh.edu>\n---\n framework/project_dpdk.py | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py\nindex 915c648f..af542a91 100644\n--- a/framework/project_dpdk.py\n+++ b/framework/project_dpdk.py\n@@ -281,7 +281,7 @@ class DPDKdut(Dut):\n         \"\"\"\n         Build DPDK source code on linux use meson\n         \"\"\"\n-        build_time = 900\n+        build_time = 1200\n         target_info = target.split('-')\n         arch = target_info[0]\n         machine = target_info[1]\n@@ -315,7 +315,7 @@ class DPDKdut(Dut):\n                         toolchain, extra_options, options_config, default_library, target), \"# \", build_time)\n         assert (\"FAILED\" not in out), \"meson setup failed ...\"\n \n-        out = self.send_expect(\"ninja -C %s -j %d\" % (target, self.number_of_cores), \"# \", build_time)\n+        out = self.send_expect(\"ninja -C %s\" % target, \"# \", build_time)\n         assert (\"FAILED\" not in out), \"ninja complie failed ...\\r\\n %s\" % out\n \n         # copy kmod file to the folder same as make\n",
    "prefixes": []
}