get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 74485,
    "url": "https://patches.dpdk.org/api/patches/74485/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200720101739.12427-1-ktraynor@redhat.com/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20200720101739.12427-1-ktraynor@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200720101739.12427-1-ktraynor@redhat.com",
    "date": "2020-07-20T10:17:39",
    "name": "test/eal: check invalid cpu value",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "abc0f011199d0b6ef56fa7b254675255159434a1",
    "submitter": {
        "id": 598,
        "url": "https://patches.dpdk.org/api/people/598/?format=api",
        "name": "Kevin Traynor",
        "email": "ktraynor@redhat.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200720101739.12427-1-ktraynor@redhat.com/mbox/",
    "series": [
        {
            "id": 11167,
            "url": "https://patches.dpdk.org/api/series/11167/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=11167",
            "date": "2020-07-20T10:17:39",
            "name": "test/eal: check invalid cpu value",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/11167/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/74485/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/74485/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.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 BF61EA0540;\n\tMon, 20 Jul 2020 12:17:56 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 7713329CB;\n\tMon, 20 Jul 2020 12:17:55 +0200 (CEST)",
            "from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com\n [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id D077D25B3\n for <dev@dpdk.org>; Mon, 20 Jul 2020 12:17:53 +0200 (CEST)",
            "from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com\n [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id\n us-mta-513-UjlZ6q20NhOpS8rkRgyOJQ-1; Mon, 20 Jul 2020 06:17:51 -0400",
            "from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com\n [10.5.11.22])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 73FA91081;\n Mon, 20 Jul 2020 10:17:50 +0000 (UTC)",
            "from rh.redhat.com (unknown [10.33.36.233])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 6F64D10002B5;\n Mon, 20 Jul 2020 10:17:46 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1595240273;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=tYQpqWJuTITdpYTdSju+OhB19KQjvln29X/ijCDExvs=;\n b=BtnV15nybuBS3uGHxsnzgt6Ky2LG4B273nEiW5YyONc4qYbS3Duc7fZ+xHoEzrqyAXP33d\n K/D2n6EfI2YOcAVrlerBSoauMclf3CdqGGpSL/5cau/eFa0GMCR2ycMFwYV8Zq2b2bX/iF\n 9wHU38zheAwMhNy4CRFYl4ptS/yUOsM=",
        "X-MC-Unique": "UjlZ6q20NhOpS8rkRgyOJQ-1",
        "From": "Kevin Traynor <ktraynor@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "david.marchand@redhat.com, l.wojciechow@partner.samsung.com,\n Kevin Traynor <ktraynor@redhat.com>",
        "Date": "Mon, 20 Jul 2020 11:17:39 +0100",
        "Message-Id": "<20200720101739.12427-1-ktraynor@redhat.com>",
        "In-Reply-To": "<20200612120959.25626-1-ktraynor@redhat.com>",
        "References": "<20200612120959.25626-1-ktraynor@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 2.84 on 10.5.11.22",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Type": "text/plain; charset=US-ASCII",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH] test/eal: check invalid cpu value",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "When using --lcores option, there is a limit of CPU_SETSIZE.\nCurrently that allows 0..1023 on Linux.\n\nCheck it is caught when this limit is exceeded.\n\nSigned-off-by: Kevin Traynor <ktraynor@redhat.com>\n---\n app/test/test_eal_flags.c | 5 ++++-\n 1 file changed, 4 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c\nindex 4ee809e3d..b019656b2 100644\n--- a/app/test/test_eal_flags.c\n+++ b/app/test/test_eal_flags.c\n@@ -528,4 +528,7 @@ test_missing_c_flag(void)\n \t\t\t\t \"--lcores\",\n \t\t\t\t \"0-1,2@(5-7),(3-5)@(0,2),(0,6),7\"};\n+\t/* check an invalid cpu value >= CPU_SETSIZE */\n+\tconst char * const argv30[] = { prgname, prefix, mp_flag,\n+\t\t\t\t \"--lcores\", \"3@\" RTE_STR(CPU_SETSIZE) };\n \n \tif (launch_proc(argv2) != 0) {\n@@ -577,5 +580,5 @@ test_missing_c_flag(void)\n \t    launch_proc(argv24) == 0 || launch_proc(argv25) == 0 ||\n \t    launch_proc(argv26) == 0 || launch_proc(argv27) == 0 ||\n-\t    launch_proc(argv28) == 0) {\n+\t    launch_proc(argv28) == 0 || launch_proc(argv30) == 0) {\n \t\tprintf(\"Error - \"\n \t\t       \"process ran without error with invalid --lcore flag\\n\");\n",
    "prefixes": []
}