get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1525712,
    "url": "http://patchwork.ozlabs.org/api/patches/1525712/",
    "web_url": "http://patchwork.ozlabs.org/project/openvswitch/patch/eb971263ef24e31380872fba657f5b66db752993.1631094144.git.grive@u256.net/",
    "project": {
        "id": 47,
        "url": "http://patchwork.ozlabs.org/api/projects/47/",
        "name": "Open vSwitch",
        "link_name": "openvswitch",
        "list_id": "ovs-dev.openvswitch.org",
        "list_email": "ovs-dev@openvswitch.org",
        "web_url": "http://openvswitch.org/",
        "scm_url": "git@github.com:openvswitch/ovs.git",
        "webscm_url": "https://github.com/openvswitch/ovs",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<eb971263ef24e31380872fba657f5b66db752993.1631094144.git.grive@u256.net>",
    "list_archive_url": null,
    "date": "2021-09-08T09:47:26",
    "name": "[ovs-dev,v5,02/27] dpif-netdev: Rename flow offload thread",
    "commit_ref": "59b8f9f8f474452233fc706910c0d70b07a87b1e",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "6e9511806dee0a085c639acf9b512f5448f90d52",
    "submitter": {
        "id": 78795,
        "url": "http://patchwork.ozlabs.org/api/people/78795/",
        "name": "Gaëtan Rivet",
        "email": "grive@u256.net"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/openvswitch/patch/eb971263ef24e31380872fba657f5b66db752993.1631094144.git.grive@u256.net/mbox/",
    "series": [
        {
            "id": 261424,
            "url": "http://patchwork.ozlabs.org/api/series/261424/",
            "web_url": "http://patchwork.ozlabs.org/project/openvswitch/list/?series=261424",
            "date": "2021-09-08T09:47:24",
            "name": "dpif-netdev: Parallel offload processing",
            "version": 5,
            "mbox": "http://patchwork.ozlabs.org/series/261424/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1525712/comments/",
    "check": "success",
    "checks": "http://patchwork.ozlabs.org/api/patches/1525712/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<ovs-dev-bounces@openvswitch.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "ovs-dev@openvswitch.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "ovs-dev@lists.linuxfoundation.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=u256.net header.i=@u256.net header.a=rsa-sha256\n header.s=fm2 header.b=EDQzl/S4;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=messagingengine.com header.i=@messagingengine.com\n header.a=rsa-sha256 header.s=fm3 header.b=l2Qjej6O;\n\tdkim-atps=neutral",
            "ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org\n (client-ip=140.211.166.138; helo=smtp1.osuosl.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN>)",
            "smtp4.osuosl.org (amavisd-new);\n dkim=pass (2048-bit key) header.d=u256.net header.b=\"EDQzl/S4\";\n dkim=pass (2048-bit key) header.d=messagingengine.com\n header.b=\"l2Qjej6O\""
        ],
        "Received": [
            "from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 4H4HPt5qMpz9sW8\n\tfor <incoming@patchwork.ozlabs.org>; Wed,  8 Sep 2021 19:48:18 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id A6A6E83143;\n\tWed,  8 Sep 2021 09:48:12 +0000 (UTC)",
            "from smtp1.osuosl.org ([127.0.0.1])\n\tby localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 78_WriM_f8uj; Wed,  8 Sep 2021 09:48:11 +0000 (UTC)",
            "from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56])\n\tby smtp1.osuosl.org (Postfix) with ESMTPS id 24FBF83118;\n\tWed,  8 Sep 2021 09:48:08 +0000 (UTC)",
            "from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id F2066C001C;\n\tWed,  8 Sep 2021 09:48:06 +0000 (UTC)",
            "from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\n by lists.linuxfoundation.org (Postfix) with ESMTP id 8D222C0011\n for <ovs-dev@openvswitch.org>; Wed,  8 Sep 2021 09:48:05 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp4.osuosl.org (Postfix) with ESMTP id 5620340536\n for <ovs-dev@openvswitch.org>; Wed,  8 Sep 2021 09:48:05 +0000 (UTC)",
            "from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id pjMo55k2mYzK for <ovs-dev@openvswitch.org>;\n Wed,  8 Sep 2021 09:48:04 +0000 (UTC)",
            "from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com\n [64.147.123.19])\n by smtp4.osuosl.org (Postfix) with ESMTPS id E0D974051B\n for <ovs-dev@openvswitch.org>; Wed,  8 Sep 2021 09:48:04 +0000 (UTC)",
            "from compute5.internal (compute5.nyi.internal [10.202.2.45])\n by mailout.west.internal (Postfix) with ESMTP id 7A3FA32009A8;\n Wed,  8 Sep 2021 05:48:04 -0400 (EDT)",
            "from mailfrontend2 ([10.202.2.163])\n by compute5.internal (MEProxy); Wed, 08 Sep 2021 05:48:04 -0400",
            "by mail.messagingengine.com (Postfix) with ESMTPA; Wed,\n 8 Sep 2021 05:48:02 -0400 (EDT)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "from auto-whitelisted by SQLgrey-1.8.0",
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=u256.net; h=from\n :to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding; s=fm2; bh=klmVbFzjUYPa4\n 9gaPnxYMl+Ce0I/Tk2m12tKs4MDDfg=; b=EDQzl/S4kTusUdQPOkqqTg+MCsl7K\n mGnrUTuOgPGy/qMa3nVwp4dHyP7txc03zSaZyq+k0XVHnkbJK83KvZUykMEAoH05\n gZGwWGk3EzhlvkZwY21vqP0RwKJ9KWoidQjabGpTC6KkME7Wc/YlwvxtGnSeO6Iu\n Mt4qzofwUrlf3xKUNWaW8W5tqHt1PQ9qzEZQAMmfJ5gqtBXIUipBlxtgpw6jN4/C\n eshvV9MFX0joOLaUqAUZ+GenXFVpKD+3KCL5UGuk9vnGaHoiOxEeKY3Re/zxFuF8\n Ugp8mcQrM8ouxEM92F3zpzej1dXoArhwne63aX5GJ/O1NfiJLzKU5Oxug==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n messagingengine.com; h=cc:content-transfer-encoding:date:from\n :in-reply-to:message-id:mime-version:references:subject:to\n :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=\n fm3; bh=klmVbFzjUYPa49gaPnxYMl+Ce0I/Tk2m12tKs4MDDfg=; b=l2Qjej6O\n vVwRu2YIs8lkSJxu6lO9726CXtvEGgumXJ3TLXvwe06rPqcYHJ3F+6emw5N6lyNN\n dMPtMN99d9YKo8yR34dl4gcIebdzsTenuoI8ccES14kg+nVgIzHE1mquPiPB/sCT\n CAfrYJ7Ysf1fNP2k9bR3fp0cAdUJzhXkm5gkfFgKNXR11dLUzp0iVCR4t+j4coIF\n TH34hR/nY0xSK6MTmxlvfagcxTJ8Yxp57K01yJ4jcsXZUuAFOxMnFHOVjAYBXGzB\n +8npHZWjZ3Whu/2HObpesFB5I37uv5JUldF1W7OI2A0fhnVeZgrXac2wDEKSaKg6\n Z5E3c1Sdc4XgjQ=="
        ],
        "X-ME-Sender": "<xms:04Y4YcqdZriJ9o7htbSBWEUGOvnFhp-q3u2CsKX-VgNaeDiskNpNVg>\n <xme:04Y4YSrHop_b3XSrvq0oQ6pSpw5fkNDYtUANE76GFyU3bTPoK4QwlGFV8DBBSALwz\n d-UgfAJ-7AMcGhmbwo>",
        "X-ME-Received": "\n <xmr:04Y4YRPhVjXdekKUkSSjDaOf8lwzK3pvSTUc0UaaQ_eY_yrzrrSy82V2AfwL2RvPlmchU8eJasVOyqFeWVp_bf3-JQ>",
        "X-ME-Proxy-Cause": "\n gggruggvucftvghtrhhoucdtuddrgedvtddrudefjedgudekucetufdoteggodetrfdotf\n fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen\n uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne\n cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefirggvthgr\n nhcutfhivhgvthcuoehgrhhivhgvsehuvdehiedrnhgvtheqnecuggftrfgrthhtvghrnh\n ephefgveffkeetheetfeeifedvheelfeejfeehveduteejhfekuedtkeeiuedvteehnecu\n vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghhrihhvvg\n esuhdvheeirdhnvght",
        "X-ME-Proxy": "<xmx:04Y4YT5TnADBCfqfAE-38PH3wunuAQ0GMQhw6qTk0f3IamgnPE_mQA>\n <xmx:04Y4Yb7pxHK_4TPC-Y3aSPEg5z2nph63WTn7ysIwY2ErwQIWczcIKw>\n <xmx:04Y4YTjW5odfTDvnMszCmD_JINXVqv3xFvRPgo0u9aou3pSHXPVgSg>\n <xmx:1IY4YYjtCVO_RmeSIUG5Y5S85_GwUMEVlDYRLjNF5GpVyhJWfTgmKQ>",
        "From": "Gaetan Rivet <grive@u256.net>",
        "To": "ovs-dev@openvswitch.org",
        "Date": "Wed,  8 Sep 2021 11:47:26 +0200",
        "Message-Id": "\n <eb971263ef24e31380872fba657f5b66db752993.1631094144.git.grive@u256.net>",
        "X-Mailer": "git-send-email 2.31.1",
        "In-Reply-To": "<cover.1631094144.git.grive@u256.net>",
        "References": "<cover.1631094144.git.grive@u256.net>",
        "MIME-Version": "1.0",
        "Cc": "Maxime Coquelin <maxime.coquelin@redhat.com>",
        "Subject": "[ovs-dev] [PATCH v5 02/27] dpif-netdev: Rename flow offload thread",
        "X-BeenThere": "ovs-dev@openvswitch.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "<ovs-dev.openvswitch.org>",
        "List-Unsubscribe": "<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>",
        "List-Archive": "<http://mail.openvswitch.org/pipermail/ovs-dev/>",
        "List-Post": "<mailto:ovs-dev@openvswitch.org>",
        "List-Help": "<mailto:ovs-dev-request@openvswitch.org?subject=help>",
        "List-Subscribe": "<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "ovs-dev-bounces@openvswitch.org",
        "Sender": "\"dev\" <ovs-dev-bounces@openvswitch.org>"
    },
    "content": "ovs_strlcpy silently fails to copy the thread name if it is too long.\nRename the flow offload thread to differentiate it from the main thread.\n\nFixes: 02bb2824e51d (\"dpif-netdev: do hw flow offload in a thread\")\nSigned-off-by: Gaetan Rivet <grive@u256.net>\nReviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>\n---\n lib/dpif-netdev.c | 6 ++----\n 1 file changed, 2 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c\nindex b3e57bb95..42c078657 100644\n--- a/lib/dpif-netdev.c\n+++ b/lib/dpif-netdev.c\n@@ -2706,8 +2706,7 @@ queue_netdev_flow_del(struct dp_netdev_pmd_thread *pmd,\n \n     if (ovsthread_once_start(&offload_thread_once)) {\n         xpthread_cond_init(&dp_flow_offload.cond, NULL);\n-        ovs_thread_create(\"dp_netdev_flow_offload\",\n-                          dp_netdev_flow_offload_main, NULL);\n+        ovs_thread_create(\"hw_offload\", dp_netdev_flow_offload_main, NULL);\n         ovsthread_once_done(&offload_thread_once);\n     }\n \n@@ -2795,8 +2794,7 @@ queue_netdev_flow_put(struct dp_netdev_pmd_thread *pmd,\n \n     if (ovsthread_once_start(&offload_thread_once)) {\n         xpthread_cond_init(&dp_flow_offload.cond, NULL);\n-        ovs_thread_create(\"dp_netdev_flow_offload\",\n-                          dp_netdev_flow_offload_main, NULL);\n+        ovs_thread_create(\"hw_offload\", dp_netdev_flow_offload_main, NULL);\n         ovsthread_once_done(&offload_thread_once);\n     }\n \n",
    "prefixes": [
        "ovs-dev",
        "v5",
        "02/27"
    ]
}