get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 126165,
    "url": "http://patchwork.dpdk.org/api/patches/126165/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230412162636.30843-2-doshir@vmware.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": "<20230412162636.30843-2-doshir@vmware.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230412162636.30843-2-doshir@vmware.com",
    "date": "2023-04-12T16:26:30",
    "name": "[next,1/7] vmxnet3: prepare for version 7 changes",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "b74bac506e3723944e8f9d59af63e8329604d6cb",
    "submitter": {
        "id": 3045,
        "url": "http://patchwork.dpdk.org/api/people/3045/?format=api",
        "name": "Ronak Doshi",
        "email": "doshir@vmware.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patchwork.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230412162636.30843-2-doshir@vmware.com/mbox/",
    "series": [
        {
            "id": 27734,
            "url": "http://patchwork.dpdk.org/api/series/27734/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=27734",
            "date": "2023-04-12T16:26:29",
            "name": "vmxnet3: upgrade to version 7",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/27734/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/126165/comments/",
    "check": "warning",
    "checks": "http://patchwork.dpdk.org/api/patches/126165/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 968C64296B;\n\tMon, 17 Apr 2023 10:15:48 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5CA5742D31;\n\tMon, 17 Apr 2023 10:15:11 +0200 (CEST)",
            "from EX-PRD-EDGE02.vmware.com (ex-prd-edge02.vmware.com\n [208.91.3.34]) by mails.dpdk.org (Postfix) with ESMTP id 2B0F2406A2\n for <dev@dpdk.org>; Wed, 12 Apr 2023 18:26:51 +0200 (CEST)",
            "from sc9-mailhost2.vmware.com (10.113.161.72) by\n EX-PRD-EDGE02.vmware.com (10.188.245.7) with Microsoft SMTP Server id\n 15.1.2375.34; Wed, 12 Apr 2023 09:26:33 -0700",
            "from htb-1n-eng-dhcp122.eng.vmware.com (unknown [10.20.114.216])\n by sc9-mailhost2.vmware.com (Postfix) with ESMTP id B34BB2014A;\n Wed, 12 Apr 2023 09:26:38 -0700 (PDT)",
            "by htb-1n-eng-dhcp122.eng.vmware.com (Postfix, from userid 0)\n id AE6CFA8385; Wed, 12 Apr 2023 09:26:38 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; s=s1024; d=vmware.com;\n h=from:to:cc:subject:date:message-id:in-reply-to:mime-version:\n content-type; bh=+9vrfaNEe21Zqz7BldvjjngJp+SvdJsJP5FxJ6JsTcQ=;\n b=rXAmEqbIG1qls96bGI/7UUzVikWaqvXkGF3Xau2dOs2mVtHxEj6Jx1k+j6eyTZ\n rE3Dum19vD9+N0qu2VoyzF1xPXxRuiJhOZXOGS/l5cmOLWKSZx+ADeTzCnRIBI\n yvc+ODN7wZ5TyqG89eS6Cf6T01dOU18HiAhoWWvTN1iJzeE=",
        "From": "Ronak Doshi <doshir@vmware.com>",
        "To": "Jochen Behrens <jbehrens@vmware.com>",
        "CC": "<dev@dpdk.org>, Ronak Doshi <doshir@vmware.com>",
        "Subject": "[PATCH next 1/7] vmxnet3: prepare for version 7 changes",
        "Date": "Wed, 12 Apr 2023 09:26:30 -0700",
        "Message-ID": "<20230412162636.30843-2-doshir@vmware.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<20230412162636.30843-1-doshir@vmware.com>",
        "References": "<20230412162636.30843-1-doshir@vmware.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "Received-SPF": "None (EX-PRD-EDGE02.vmware.com: doshir@vmware.com does not\n designate permitted sender hosts)",
        "X-Mailman-Approved-At": "Mon, 17 Apr 2023 10:15:01 +0200",
        "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": "vmxnet3 is currently at version 6 and this patch initiates the\npreparation to accommodate changes for upto version 7. Introduced\nutility macros for vmxnet3 version 7 comparison.\n\nSigned-off-by: Ronak Doshi <doshir@vmware.com>\nAcked-by: Jochen Behrens <jbehrens@vmware.com>\n---\n drivers/net/vmxnet3/vmxnet3_ethdev.h | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.h b/drivers/net/vmxnet3/vmxnet3_ethdev.h\nindex 5a303717b1..fc976707fd 100644\n--- a/drivers/net/vmxnet3/vmxnet3_ethdev.h\n+++ b/drivers/net/vmxnet3/vmxnet3_ethdev.h\n@@ -124,6 +124,7 @@ struct vmxnet3_hw {\n \tUPT1_RxStats          snapshot_rx_stats[VMXNET3_MAX_RX_QUEUES];\n };\n \n+#define VMXNET3_REV_7\t\t6\t\t/* Vmxnet3 Rev. 7 */\n #define VMXNET3_REV_6\t\t5\t\t/* Vmxnet3 Rev. 6 */\n #define VMXNET3_REV_5\t\t4\t\t/* Vmxnet3 Rev. 5 */\n #define VMXNET3_REV_4\t\t3\t\t/* Vmxnet3 Rev. 4 */\n@@ -131,6 +132,7 @@ struct vmxnet3_hw {\n #define VMXNET3_REV_2\t\t1\t\t/* Vmxnet3 Rev. 2 */\n #define VMXNET3_REV_1\t\t0\t\t/* Vmxnet3 Rev. 1 */\n \n+#define VMXNET3_VERSION_GE_7(hw) ((hw)->version >= VMXNET3_REV_7 + 1)\n #define VMXNET3_VERSION_GE_6(hw) ((hw)->version >= VMXNET3_REV_6 + 1)\n #define VMXNET3_VERSION_GE_5(hw) ((hw)->version >= VMXNET3_REV_5 + 1)\n #define VMXNET3_VERSION_GE_4(hw) ((hw)->version >= VMXNET3_REV_4 + 1)\n",
    "prefixes": [
        "next",
        "1/7"
    ]
}