get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2115197,
    "url": "http://patchwork.ozlabs.org/api/patches/2115197/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20250724123005.2527425-1-c.speich@avm.de/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20250724123005.2527425-1-c.speich@avm.de>",
    "list_archive_url": null,
    "date": "2025-07-24T12:29:59",
    "name": "virtio: net: Add missing virtqueue_kick in free_pkt",
    "commit_ref": "d1b4bfc98441663de1388bff5043b7a9351c8c5a",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "38a6056eff92f194a997461cc17806a8d9db67d4",
    "submitter": {
        "id": 91343,
        "url": "http://patchwork.ozlabs.org/api/people/91343/?format=api",
        "name": "Christian Speich",
        "email": "c.speich@avm.de"
    },
    "delegate": {
        "id": 157425,
        "url": "http://patchwork.ozlabs.org/api/users/157425/?format=api",
        "username": "jforissier",
        "first_name": "Jerome",
        "last_name": "Forissier",
        "email": "jerome.forissier@linaro.org"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20250724123005.2527425-1-c.speich@avm.de/mbox/",
    "series": [
        {
            "id": 466532,
            "url": "http://patchwork.ozlabs.org/api/series/466532/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=466532",
            "date": "2025-07-24T12:29:59",
            "name": "virtio: net: Add missing virtqueue_kick in free_pkt",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/466532/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2115197/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2115197/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=avm.de header.i=@avm.de header.a=rsa-sha256\n header.s=mail header.b=XrpyH+P1;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)",
            "phobos.denx.de;\n dmarc=pass (p=quarantine dis=none) header.from=avm.de",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=avm.de header.i=@avm.de header.b=\"XrpyH+P1\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=quarantine dis=none) header.from=avm.de",
            "phobos.denx.de; spf=pass smtp.mailfrom=c.speich@avm.de"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (secp384r1))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4bnrWW00Mvz1xsw\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 24 Jul 2025 22:52:38 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 216F382B20;\n\tThu, 24 Jul 2025 14:52:46 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id EDE4F83890; Thu, 24 Jul 2025 14:30:27 +0200 (CEST)",
            "from mail.avm.de (mail.avm.de [IPv6:2001:bf0:244:244::120])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id D1AA383885\n for <u-boot@lists.denx.de>; Thu, 24 Jul 2025 14:30:25 +0200 (CEST)",
            "from [172.16.0.1] (helo=mail.avm.de)\n by mail.avm.de with ESMTP (eXpurgate 4.53.4)\n (envelope-from <c.speich@avm.de>)\n id 68822760-0380-7f0000032729-7f000001b3f4-1\n for <multiple-recipients>; Thu, 24 Jul 2025 14:30:24 +0200",
            "from mail-notes.avm.de (mail-notes.avm.de [172.16.0.1])\n by mail.avm.de (Postfix) with ESMTP;\n Thu, 24 Jul 2025 14:30:24 +0200 (CEST)",
            "from l-cspeich.avm.de ([172.17.89.139])\n by mail-notes.avm.de (HCL Domino Release 14.0FP4)\n with ESMTP id 2025072414302508-12680 ;\n Thu, 24 Jul 2025 14:30:25 +0200"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=avm.de; s=mail;\n t=1753360224; bh=qxWu5E8Gy1RgVfGI7fztoricXSVBxIAVW+xNazMkEHA=;\n h=From:To:Cc:Subject:Date:From;\n b=XrpyH+P1aAsTLdxWAawXibWZF6lZrKa+gWpTwHSbVy4TcEXzKUS/nqAMKVsOPj4FV\n 0laxH9uIeptrd5JSOUXlIP5BK3eA4l54HtCB8mEFF+t+FEecaCW4LEcQBMA++nxiMU\n 6bYSoBmmjTndA4kmB8MzDNAuSzJA9iVSXJN/2/CQ=",
        "From": "Christian Speich <c.speich@avm.de>",
        "To": "u-boot@lists.denx.de",
        "Cc": "Christian Speich <c.speich@avm.de>,\n Joe Hershberger <joe.hershberger@ni.com>",
        "Subject": "[PATCH] virtio: net: Add missing virtqueue_kick in free_pkt",
        "Date": "Thu, 24 Jul 2025 14:29:59 +0200",
        "Message-ID": "<20250724123005.2527425-1-c.speich@avm.de>",
        "X-Mailer": "git-send-email 2.43.0",
        "MIME-Version": "1.0",
        "Organization": "AVM GmbH",
        "X-MIMETrack": "Itemize by SMTP Server on ANIS1/AVM(Release 14.0FP4|March 10,\n 2025) at 24.07.2025 14:30:25,\n Serialize by Router on ANIS1/AVM(Release 14.0FP4|March 10, 2025) at\n 24.07.2025 14:30:25, Serialize complete at 24.07.2025 14:30:25",
        "X-TNEFEvaluated": "1",
        "Content-Transfer-Encoding": "8bit",
        "X-purgate-ID": "149429::1753360224-4A591E1C-42426C11/0/0",
        "X-purgate-type": "clean",
        "X-purgate-size": "1066",
        "X-purgate-Ad": "Categorized by eleven eXpurgate (R) https://www.eleven.de",
        "X-purgate": [
            "This mail is considered clean (visit https://www.eleven.de for\n further information)",
            "clean"
        ],
        "X-Mailman-Approved-At": "Thu, 24 Jul 2025 14:52:45 +0200",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.39",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>",
        "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de",
        "X-Virus-Status": "Clean"
    },
    "content": "Every virtqueue_add must eventually be followed by virtqueue_kick for to\nproperly notify the peer that new buffers have been put into the queue.\n\nThis is currently missing for virtio-net and may result in non-working\nnetwork when the host has depleted the rx buffers and waits for new\nbuffers. Depending on the host it may busy poll on the virtio queue or\nwait for the kick. Qemu does the latter and may break.\n\nSigned-off-by: Christian Speich <c.speich@avm.de>\n---\n\n drivers/virtio/virtio_net.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/drivers/virtio/virtio_net.c b/drivers/virtio/virtio_net.c\nindex 0e5367a085e..71e4d251396 100644\n--- a/drivers/virtio/virtio_net.c\n+++ b/drivers/virtio/virtio_net.c\n@@ -128,6 +128,7 @@ static int virtio_net_free_pkt(struct udevice *dev, uchar *packet, int length)\n \n \t/* Put the buffer back to the rx ring */\n \tvirtqueue_add(priv->rx_vq, sgs, 0, 1);\n+\tvirtqueue_kick(priv->rx_vq);\n \n \treturn 0;\n }\n",
    "prefixes": []
}