get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 126615,
    "url": "http://patches.dpdk.org/api/patches/126615/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230428071055.362-8-doshir@vmware.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": "<20230428071055.362-8-doshir@vmware.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230428071055.362-8-doshir@vmware.com",
    "date": "2023-04-28T07:10:54",
    "name": "[v3,next,7/7] net/vmxnet3: update to version 7",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "4c8454fa8ea0cf9bb9832a439e883a79fdc7bf98",
    "submitter": {
        "id": 3045,
        "url": "http://patches.dpdk.org/api/people/3045/?format=api",
        "name": "Ronak Doshi",
        "email": "doshir@vmware.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230428071055.362-8-doshir@vmware.com/mbox/",
    "series": [
        {
            "id": 27895,
            "url": "http://patches.dpdk.org/api/series/27895/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=27895",
            "date": "2023-04-28T07:10:47",
            "name": "net/vmxnet3: upgrade to version 7",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/27895/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/126615/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/126615/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 F167442A12;\n\tFri, 28 Apr 2023 09:27:53 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id DAE4542FAC;\n\tFri, 28 Apr 2023 09:27:02 +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 10838406B5\n for <dev@dpdk.org>; Fri, 28 Apr 2023 09:11:12 +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; Fri, 28 Apr 2023 00:10:56 -0700",
            "from htb-1n-eng-dhcp122.eng.vmware.com (unknown [10.20.114.216])\n by sc9-mailhost2.vmware.com (Postfix) with ESMTP id F3D5B20282;\n Fri, 28 Apr 2023 00:10:58 -0700 (PDT)",
            "by htb-1n-eng-dhcp122.eng.vmware.com (Postfix, from userid 0)\n id EF78EA83B6; Fri, 28 Apr 2023 00:10:58 -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=kepJcBcZc9NyXEbic6kOAGvek00nb1jnVki0tpddOew=;\n b=EJjIwdAkt0g29zuDTLab3uvPZk0tk34Gf6MgTWuiWvrgUcHojoddr6+2GWitJJ\n ttrTddQ4iF3hAWcaBoW+aY1IMKMQz26HIDAv7GkVzf1Cy7IPQysesvX5VnEPMi\n Q9L8A+UltrPdgRhG38pQaPW8aj3T1aSZ8v0ZvnyQea4RFRg=",
        "From": "Ronak Doshi <doshir@vmware.com>",
        "To": "Jochen Behrens <jbehrens@vmware.com>",
        "CC": "<dev@dpdk.org>, Ronak Doshi <doshir@vmware.com>",
        "Subject": "[PATCH v3 next 7/7] net/vmxnet3: update to version 7",
        "Date": "Fri, 28 Apr 2023 00:10:54 -0700",
        "Message-ID": "<20230428071055.362-8-doshir@vmware.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<20230428071055.362-1-doshir@vmware.com>",
        "References": "<20230428071055.362-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": "Fri, 28 Apr 2023 09:26:51 +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": "With all vmxnet3 version 7 changes incorporated in the vmxnet3 driver,\nthe driver can configure emulation to run at vmxnet3 version 7, provided\nthe emulation advertises support for version 7.\n\nSigned-off-by: Ronak Doshi <doshir@vmware.com>\nAcked-by: Jochen Behrens <jbehrens@vmware.com>\n---\n doc/guides/nics/vmxnet3.rst            | 30 ++++++++++++++++++++++++++----\n doc/guides/rel_notes/release_23_07.rst |  6 ++++++\n drivers/net/vmxnet3/vmxnet3_ethdev.c   |  6 +++++-\n drivers/net/vmxnet3/vmxnet3_ring.h     |  2 +-\n 4 files changed, 38 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/doc/guides/nics/vmxnet3.rst b/doc/guides/nics/vmxnet3.rst\nindex 190cf91a47..db242cd642 100644\n--- a/doc/guides/nics/vmxnet3.rst\n+++ b/doc/guides/nics/vmxnet3.rst\n@@ -21,10 +21,6 @@ VMXNET3 Implementation in the DPDK\n \n For details on the VMXNET3 device, refer to the VMXNET3 driver's vmxnet3 directory and support manual from VMware*.\n \n-For performance details, refer to the following link from VMware:\n-\n-`http://www.vmware.com/pdf/vsp_4_vmxnet3_perf.pdf <http://www.vmware.com/pdf/vsp_4_vmxnet3_perf.pdf>`_\n-\n As a PMD, the VMXNET3 driver provides the packet reception and transmission callbacks, vmxnet3_recv_pkts and vmxnet3_xmit_pkts.\n \n The VMXNET3 PMD handles all the packet buffer memory allocation and resides in guest address space\n@@ -67,6 +63,32 @@ There are several options available for filtering packets at VMXNET3 device leve\n \n     *   VLAN tag based filtering without load balancing - SUPPORTED\n \n+#.  Vmxnet3 versions and associated features.\n+\n+    Vmxnet3 version is tied to corresponding ESXi hardware version and each\n+    version defines a set of compatible features.\n+\n+    * Vmxnet3 version 7, hw ver 19\n+      This version adds support for Uniform Passthrough(UPT).\n+\n+    * Vmxnet3 version 6, hw ver 17\n+      This version enhanced vmxnet3 to support queues up to 32 and also\n+      removed power-of-two limitations on the queues.\n+\n+    * Vmxnet3 version 5, hw ver 15\n+      Features not related to dpdk vmxnet3 PMD.\n+\n+    * Vmxnet3 version 4, hw ver 14\n+      This version adds supoprt for UDP and ESP RSS\n+\n+    * Vmxnet3 version 3, hw ver 13\n+      This version added performance enhancement features such as\n+      configurable Tx data ring, Receive Data Ring, and the ability\n+      to register memory regions.\n+\n+    * Vmxnet3 version 2, hw ver 11\n+      This version adds support for Large Receive offload (LRO).\n+\n .. note::\n \n \ndiff --git a/doc/guides/rel_notes/release_23_07.rst b/doc/guides/rel_notes/release_23_07.rst\nindex a9b1293689..907a06cd62 100644\n--- a/doc/guides/rel_notes/release_23_07.rst\n+++ b/doc/guides/rel_notes/release_23_07.rst\n@@ -55,6 +55,12 @@ New Features\n      Also, make sure to start the actual text at the margin.\n      =======================================================\n \n+   * **Added vmxnet3 version 7 support.**\n+\n+     Added support for vmxnet3 version 7 which includes support\n+     for uniform passthrough(UPT). The patches also add support\n+     for new capability registers, large passthru BAR and some\n+     performance enhancements for UPT.\n \n Removed Items\n -------------\ndiff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c\nindex b9cf007429..41073e9798 100644\n--- a/drivers/net/vmxnet3/vmxnet3_ethdev.c\n+++ b/drivers/net/vmxnet3/vmxnet3_ethdev.c\n@@ -410,7 +410,11 @@ eth_vmxnet3_dev_init(struct rte_eth_dev *eth_dev)\n \t/* Check h/w version compatibility with driver. */\n \tver = VMXNET3_READ_BAR1_REG(hw, VMXNET3_REG_VRRS);\n \n-\tif (ver & (1 << VMXNET3_REV_6)) {\n+\tif (ver & (1 << VMXNET3_REV_7)) {\n+\t\tVMXNET3_WRITE_BAR1_REG(hw, VMXNET3_REG_VRRS,\n+\t\t\t\t       1 << VMXNET3_REV_7);\n+\t\thw->version = VMXNET3_REV_7 + 1;\n+\t} else if (ver & (1 << VMXNET3_REV_6)) {\n \t\tVMXNET3_WRITE_BAR1_REG(hw, VMXNET3_REG_VRRS,\n \t\t\t\t       1 << VMXNET3_REV_6);\n \t\thw->version = VMXNET3_REV_6 + 1;\ndiff --git a/drivers/net/vmxnet3/vmxnet3_ring.h b/drivers/net/vmxnet3/vmxnet3_ring.h\nindex 50992349d8..948762db90 100644\n--- a/drivers/net/vmxnet3/vmxnet3_ring.h\n+++ b/drivers/net/vmxnet3/vmxnet3_ring.h\n@@ -7,7 +7,7 @@\n \n #define VMXNET3_RX_CMDRING_SIZE 2\n \n-#define VMXNET3_DRIVER_VERSION_NUM 0x01012000\n+#define VMXNET3_DRIVER_VERSION_NUM 0x01013000\n \n /* Default ring size */\n #define VMXNET3_DEF_TX_RING_SIZE 512\n",
    "prefixes": [
        "v3",
        "next",
        "7/7"
    ]
}