Show a patch.

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

{
    "id": 74486,
    "url": "https://patches.dpdk.org/api/patches/74486/",
    "web_url": "https://patches.dpdk.org/patch/74486/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<20200720101908.12500-1-ktraynor@redhat.com>",
    "date": "2020-07-20T10:19:08",
    "name": "[v2] test/eal: check invalid cpu value",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "abc0f011199d0b6ef56fa7b254675255159434a1",
    "submitter": {
        "id": 598,
        "url": "https://patches.dpdk.org/api/people/598/",
        "name": "Kevin Traynor",
        "email": "ktraynor@redhat.com"
    },
    "delegate": {
        "id": 24651,
        "url": "https://patches.dpdk.org/api/users/24651/",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/patch/74486/mbox/",
    "series": [
        {
            "id": 11168,
            "url": "https://patches.dpdk.org/api/series/11168/",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=11168",
            "date": "2020-07-20T10:19:08",
            "name": "[v2] test/eal: check invalid cpu value",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/11168/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/74486/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/74486/checks/",
    "tags": {},
    "headers": {
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-Mailman-Version": "2.1.15",
        "X-Mimecast-Originator": "redhat.com",
        "X-Mimecast-Spam-Score": "0",
        "X-MC-Unique": "MDttjx9xPda1pFtCqvLyow-1",
        "Precedence": "list",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "List-Post": "<mailto:dev@dpdk.org>",
        "MIME-Version": "1.0",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "X-BeenThere": "dev@dpdk.org",
        "References": "<20200720101739.12427-1-ktraynor@redhat.com>",
        "Subject": "[dpdk-dev] [PATCH v2] test/eal: check invalid cpu value",
        "Content-Type": "text/plain; charset=US-ASCII",
        "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 D7879A0540;\n\tMon, 20 Jul 2020 12:19:25 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id AEB7D1023;\n\tMon, 20 Jul 2020 12:19:25 +0200 (CEST)",
            "from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com\n [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id C7DFA255\n for <dev@dpdk.org>; Mon, 20 Jul 2020 12:19:23 +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-290-MDttjx9xPda1pFtCqvLyow-1; Mon, 20 Jul 2020 06:19:21 -0400",
            "from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com\n [10.5.11.11])\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 D6D668005B0;\n Mon, 20 Jul 2020 10:19:20 +0000 (UTC)",
            "from rh.redhat.com (unknown [10.33.36.233])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 113487852C;\n Mon, 20 Jul 2020 10:19:16 +0000 (UTC)"
        ],
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1595240363;\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=g4LpFaHohiFos7J2NiEKgmG+Fi3uLSlrmPuRXg/Lv4F36D7yQFczvMa8TZLHAqZ5gKiNtd\n fWQnqdW8noAUv4npMGqJsJFJNGVEpsx5ZmOnCxmMb12Ur0Ha0mVi0lx9H3/48BJbXBPGGS\n QVYLVi+lq11+rBSwPZkZtjAreFXCMNs=",
        "Date": "Mon, 20 Jul 2020 11:19:08 +0100",
        "Content-Transfer-Encoding": "8bit",
        "To": "dev@dpdk.org",
        "From": "Kevin Traynor <ktraynor@redhat.com>",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.11",
        "In-Reply-To": "<20200720101739.12427-1-ktraynor@redhat.com>",
        "Cc": "david.marchand@redhat.com, l.wojciechow@partner.samsung.com,\n Kevin Traynor <ktraynor@redhat.com>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Message-Id": "<20200720101908.12500-1-ktraynor@redhat.com>",
        "Return-Path": "<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": [
        "v2"
    ]
}