get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 132424,
    "url": "http://patches.dpdk.org/api/patches/132424/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20231009130609.2987-1-liufengjiang.0426@bytedance.com/",
    "project": {
        "id": 1,
        "url": "http://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": "<20231009130609.2987-1-liufengjiang.0426@bytedance.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20231009130609.2987-1-liufengjiang.0426@bytedance.com",
    "date": "2023-10-09T13:06:09",
    "name": "net/virtio: fixed missing next flag when sending packets in packed mode",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "7f4666849be384ce55ec7016ac1834cbff9f96df",
    "submitter": {
        "id": 3206,
        "url": "http://patches.dpdk.org/api/people/3206/?format=api",
        "name": "Fengjiang Liu",
        "email": "liufengjiang.0426@bytedance.com"
    },
    "delegate": {
        "id": 2642,
        "url": "http://patches.dpdk.org/api/users/2642/?format=api",
        "username": "mcoquelin",
        "first_name": "Maxime",
        "last_name": "Coquelin",
        "email": "maxime.coquelin@redhat.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20231009130609.2987-1-liufengjiang.0426@bytedance.com/mbox/",
    "series": [
        {
            "id": 29771,
            "url": "http://patches.dpdk.org/api/series/29771/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=29771",
            "date": "2023-10-09T13:06:09",
            "name": "net/virtio: fixed missing next flag when sending packets in packed mode",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/29771/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/132424/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/132424/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 F24224233C;\n\tMon,  9 Oct 2023 15:06:37 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 8E17940282;\n\tMon,  9 Oct 2023 15:06:37 +0200 (CEST)",
            "from mail-pf1-f169.google.com (mail-pf1-f169.google.com\n [209.85.210.169])\n by mails.dpdk.org (Postfix) with ESMTP id 7B5F14026B\n for <dev@dpdk.org>; Mon,  9 Oct 2023 15:06:35 +0200 (CEST)",
            "by mail-pf1-f169.google.com with SMTP id\n d2e1a72fcca58-6969b391791so2962368b3a.3\n for <dev@dpdk.org>; Mon, 09 Oct 2023 06:06:35 -0700 (PDT)",
            "from PF1D8Q29-ENF.inc.bytedance.com ([203.208.167.147])\n by smtp.gmail.com with ESMTPSA id\n l3-20020a62be03000000b00688c733fe92sm6242815pff.215.2023.10.09.06.06.32\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 09 Oct 2023 06:06:34 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=bytedance.com; s=google; t=1696856794; x=1697461594; darn=dpdk.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=OEmx4uFPZTxFErxkCaXiLM01LIiqzOtdK1PyjkFPKpU=;\n b=fh5YQt3qZ6fDwu0NEaKKW82GJur8QNazKLUCB3+0onXFeiKAozvsO4NBujIrPdUalU\n d9cR4oOwWBofKpH8QP4YT7KM6Tsmfwt5M1wroP7OUxuKXLqdytHAs3eKA9Vqk9iQZs3/\n gZSChmgm+xT8A8jOpyRIY/RkrUqGV+n+8ZW1haD9eFti9+YPZylA6rOA+UokkCWAiHHy\n 8fQiZ72mLL4KiZPpIUNdZGvd1MbIwqDiYUhnqroADsz21HYFzpi0R+Zf2F+csEWqlZCo\n hK/b1MXdSTQEvx1Zor3cSo6yDsnr51ACvMBEETVQ+vxrwsoGwqPUUkkWEeV3OdVx3hk9\n 5Pig==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1696856794; x=1697461594;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=OEmx4uFPZTxFErxkCaXiLM01LIiqzOtdK1PyjkFPKpU=;\n b=MKbuxPzAuoijspoNRg9SGwTxgFQ3Czwl88rXUHQoV8trLusfA+GadwpmisGl13Lu/n\n v4OQs6Rq67p1KmBCgfHTPCldiaQqenIbxOxG3U/nnfeUnq0p5xSivxgdUw680hmpDXzy\n l93PG/SsscLJ/eZiR6RcnXRm+qquxlMyETcn1IcR+PTjXLcMSkDTEXenufO+HaiOHPk4\n bXmDr/qUcVGgeDQjYuAUvcq56/C0MIwvcVDRqZ7SgqkgE4xJp7NFH7uKxhKHtTqtnSSR\n s+ckvGuirB/k2GSc6BzHl/29K4nWTJPOgeD/I1x0sBEvV4ZQd7yYpfUAy+1UXLBQX67f\n 7Skg==",
        "X-Gm-Message-State": "AOJu0Yxbk9+QV/vCWcPlRhKLSue6AJHcE/J3bQPuYvW2RcQ8dcmVRrtx\n 028EELj4vR/RNYs34kkzZACRCMDzZiM4vFzn1txQftGy6Vo=",
        "X-Google-Smtp-Source": "\n AGHT+IEVFf090XwrHqfTI93CORJswIyT52QDViJD5TfaoA0REUPMzZbGGQtoK/tKmO/ycxoMF/L1ug==",
        "X-Received": "by 2002:a05:6a00:2293:b0:690:449f:5e96 with SMTP id\n f19-20020a056a00229300b00690449f5e96mr16185494pfe.33.1696856794372;\n Mon, 09 Oct 2023 06:06:34 -0700 (PDT)",
        "From": "\"liufengjiang.0426\" <liufengjiang.0426@bytedance.com>",
        "To": "dev@dpdk.org",
        "Cc": "maxime.coquelin@redhat.com, chenbo.xia@intel.com,\n zhangziqian.1@bytedance.com",
        "Subject": "[PATCH] net/virtio: fixed missing next flag when sending packets in\n packed mode",
        "Date": "Mon,  9 Oct 2023 21:06:09 +0800",
        "Message-Id": "<20231009130609.2987-1-liufengjiang.0426@bytedance.com>",
        "X-Mailer": "git-send-email 2.37.0.windows.1",
        "MIME-Version": "1.0",
        "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": "When the packets is sent in packed mode, and the packets data and\nvirtio-header are divided into two desc, set the next flag of virtio-header desc\n\nBugzilla ID: 1295\nFixes: 892dc798fa9c (\"net/virtio: implement Tx path for packed queues\")\n\nSigned-off-by: liufengjiang.0426 <liufengjiang.0426@bytedance.com>\n---\n drivers/net/virtio/virtqueue.h | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/drivers/net/virtio/virtqueue.h b/drivers/net/virtio/virtqueue.h\nindex 9d4aba11a3..4e9f2d0358 100644\n--- a/drivers/net/virtio/virtqueue.h\n+++ b/drivers/net/virtio/virtqueue.h\n@@ -672,6 +672,7 @@ virtqueue_enqueue_xmit_packed(struct virtnet_tx *txvq, struct rte_mbuf *cookie,\n \t\t */\n \t\tstart_dp[idx].addr = txvq->hdr_mem + RTE_PTR_DIFF(&txr[idx].tx_hdr, txr);\n \t\tstart_dp[idx].len = vq->hw->vtnet_hdr_size;\n+\t\thead_flags |= VRING_DESC_F_NEXT;\n \t\thdr = (struct virtio_net_hdr *)&txr[idx].tx_hdr;\n \t\tidx++;\n \t\tif (idx >= vq->vq_nentries) {\n",
    "prefixes": []
}