get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 122498,
    "url": "http://patchwork.dpdk.org/api/patches/122498/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1674583351-15292-4-git-send-email-roretzla@linux.microsoft.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<1674583351-15292-4-git-send-email-roretzla@linux.microsoft.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1674583351-15292-4-git-send-email-roretzla@linux.microsoft.com",
    "date": "2023-01-24T18:02:30",
    "name": "[v9,3/4] eal: set thread name on Windows worker threads",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "33f3da43dead73c476ba8ba767f44de5ccc88ba8",
    "submitter": {
        "id": 2077,
        "url": "http://patchwork.dpdk.org/api/people/2077/?format=api",
        "name": "Tyler Retzlaff",
        "email": "roretzla@linux.microsoft.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1674583351-15292-4-git-send-email-roretzla@linux.microsoft.com/mbox/",
    "series": [
        {
            "id": 26644,
            "url": "http://patchwork.dpdk.org/api/series/26644/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=26644",
            "date": "2023-01-24T18:02:27",
            "name": "add rte_thread_set_name API for rte_thread_t",
            "version": 9,
            "mbox": "http://patchwork.dpdk.org/series/26644/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/122498/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/122498/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 2F7634247A;\n\tTue, 24 Jan 2023 19:02:52 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0A7BC42D37;\n\tTue, 24 Jan 2023 19:02:42 +0100 (CET)",
            "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id ACCEC40A89\n for <dev@dpdk.org>; Tue, 24 Jan 2023 19:02:38 +0100 (CET)",
            "by linux.microsoft.com (Postfix, from userid 1086)\n id 0657520E34CB; Tue, 24 Jan 2023 10:02:37 -0800 (PST)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 0657520E34CB",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1674583358;\n bh=Ts6NDenqRvm7ePZMbZeV+K+dn2zalCeuMs72+s2dwjY=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=nmtP0Ki51hAdz7pcAUEMwP5CBVy+XVB438PSQGZDO+IlhEmC2uveicHk5opBYUP4v\n iezZWFkLScx/9OaS4JCn4WPHOf7M0tI5dqnMIrZo5MLPYdWWvRSVJoO9u3r3w8J/yD\n p9JwqVOSZedvgZOBNLMVURFpWuGgAzJqQCpJrUa0=",
        "From": "Tyler Retzlaff <roretzla@linux.microsoft.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net, david.marchand@redhat.com, jerinjacobk@gmail.com,\n mb@smartsharesystems.com, Tyler Retzlaff <roretzla@linux.microsoft.com>",
        "Subject": "[PATCH v9 3/4] eal: set thread name on Windows worker threads",
        "Date": "Tue, 24 Jan 2023 10:02:30 -0800",
        "Message-Id": "<1674583351-15292-4-git-send-email-roretzla@linux.microsoft.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1674583351-15292-1-git-send-email-roretzla@linux.microsoft.com>",
        "References": "<1670439617-9054-1-git-send-email-roretzla@linux.microsoft.com>\n <1674583351-15292-1-git-send-email-roretzla@linux.microsoft.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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"
    },
    "content": "Bring Windows EAL worker thread initialization in line with linux &\nfreebsd by setting the worker thread name using the new\nplatform agnostic rte_thread_set_name API.\n\nSigned-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>\nAcked-by: Morten Brørup <mb@smartsharesystems.com>\n---\n lib/eal/windows/eal.c | 7 +++++++\n 1 file changed, 7 insertions(+)",
    "diff": "diff --git a/lib/eal/windows/eal.c b/lib/eal/windows/eal.c\nindex b9f95ed..e7d405b 100644\n--- a/lib/eal/windows/eal.c\n+++ b/lib/eal/windows/eal.c\n@@ -282,6 +282,7 @@ enum rte_proc_type_t\n \tenum rte_iova_mode iova_mode;\n \tint ret;\n \tchar cpuset[RTE_CPU_AFFINITY_STR_LEN];\n+\tchar thread_name[RTE_MAX_THREAD_NAME_LEN];\n \n \teal_log_init(NULL, 0);\n \n@@ -437,6 +438,12 @@ enum rte_proc_type_t\n \t\tif (rte_thread_create(&lcore_config[i].thread_id, NULL,\n \t\t\t\teal_thread_loop, (void *)(uintptr_t)i) != 0)\n \t\t\trte_panic(\"Cannot create thread\\n\");\n+\n+\t\t/* Set thread name for aid in debugging. */\n+\t\tsnprintf(thread_name, sizeof(thread_name),\n+\t\t\t\"rte-worker-%d\", i);\n+\t\trte_thread_set_name(lcore_config[i].thread_id, thread_name);\n+\n \t\tret = rte_thread_set_affinity_by_id(lcore_config[i].thread_id,\n \t\t\t&lcore_config[i].cpuset);\n \t\tif (ret != 0)\n",
    "prefixes": [
        "v9",
        "3/4"
    ]
}