Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/126164/?format=api
http://patches.dpdk.org/api/patches/126164/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230412162636.30843-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": "<20230412162636.30843-8-doshir@vmware.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230412162636.30843-8-doshir@vmware.com", "date": "2023-04-12T16:26:36", "name": "[next,7/7] vmxnet3: update to version 7", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "cd24237d2f5f2eb251788907dc9ce9e0d0d40d57", "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/20230412162636.30843-8-doshir@vmware.com/mbox/", "series": [ { "id": 27734, "url": "http://patches.dpdk.org/api/series/27734/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=27734", "date": "2023-04-12T16:26:29", "name": "vmxnet3: upgrade to version 7", "version": 1, "mbox": "http://patches.dpdk.org/series/27734/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/126164/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/126164/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 384694296B;\n\tMon, 17 Apr 2023 10:15:41 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2260542D29;\n\tMon, 17 Apr 2023 10:15:10 +0200 (CEST)", "from EX-PRD-EDGE01.vmware.com (EX-PRD-EDGE01.vmware.com\n [208.91.3.33]) by mails.dpdk.org (Postfix) with ESMTP id 8B57B410F3\n for <dev@dpdk.org>; Wed, 12 Apr 2023 18:26:47 +0200 (CEST)", "from sc9-mailhost3.vmware.com (10.113.161.73) by\n EX-PRD-EDGE01.vmware.com (10.188.245.6) 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-mailhost3.vmware.com (Postfix) with ESMTP id 6963F2025D;\n Wed, 12 Apr 2023 09:26:39 -0700 (PDT)", "by htb-1n-eng-dhcp122.eng.vmware.com (Postfix, from userid 0)\n id 64CD7A8385; Wed, 12 Apr 2023 09:26:39 -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=LmzqFTCXmOBIerGA4Ry4D1olB0mg/7F7cGw9q0eE+u8=;\n b=uzohFOLsDra3BjoGkQxRTVlCbSW1aIzzXOL5S0hOcx5UY5UBsIHPVYL4qa0K64\n qJVcq166gH6yWuC1dSRYUjr0fs8OUNxvUIpck6EpsbkE0wW4G8jh+3zluxHTEN\n UitbsbfVTu9QccMmpoYrwThAhubdbfRRAXffXaTeOPBW0ac=", "From": "Ronak Doshi <doshir@vmware.com>", "To": "Jochen Behrens <jbehrens@vmware.com>", "CC": "<dev@dpdk.org>, Ronak Doshi <doshir@vmware.com>", "Subject": "[PATCH next 7/7] vmxnet3: update to version 7", "Date": "Wed, 12 Apr 2023 09:26:36 -0700", "Message-ID": "<20230412162636.30843-8-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-EDGE01.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": "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 drivers/net/vmxnet3/vmxnet3_ethdev.c | 6 +++++-\n drivers/net/vmxnet3/vmxnet3_ring.h | 2 +-\n 2 files changed, 6 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c\nindex 72ccd0f7fc..a9250f8206 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": [ "next", "7/7" ] }{ "id": 126164, "url": "