Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/9940/?format=api
http://patches.dpdk.org/api/patches/9940/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1453120248-28274-7-git-send-email-david.marchand@6wind.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": "<1453120248-28274-7-git-send-email-david.marchand@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1453120248-28274-7-git-send-email-david.marchand@6wind.com", "date": "2016-01-18T12:30:44", "name": "[dpdk-dev,v2,06/10] vmxnet3: move pci device ids to driver", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "4d0b1c22b4f1a8b7e4814ae764d6dceaeeca3ecc", "submitter": { "id": 3, "url": "http://patches.dpdk.org/api/people/3/?format=api", "name": "David Marchand", "email": "david.marchand@6wind.com" }, "delegate": { "id": 10, "url": "http://patches.dpdk.org/api/users/10/?format=api", "username": "bruce", "first_name": "Bruce", "last_name": "Richardson", "email": "bruce.richardson@intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1453120248-28274-7-git-send-email-david.marchand@6wind.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/9940/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/9940/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 89CE49191;\n\tMon, 18 Jan 2016 13:31:06 +0100 (CET)", "from mail-wm0-f47.google.com (mail-wm0-f47.google.com\n\t[74.125.82.47]) by dpdk.org (Postfix) with ESMTP id 8D86D8E8D\n\tfor <dev@dpdk.org>; Mon, 18 Jan 2016 13:31:01 +0100 (CET)", "by mail-wm0-f47.google.com with SMTP id r129so49347527wmr.0\n\tfor <dev@dpdk.org>; Mon, 18 Jan 2016 04:31:01 -0800 (PST)", "from gloops.dev.6wind.com (144.77.126.78.rev.sfr.net.\n\t[78.126.77.144]) by smtp.gmail.com with ESMTPSA id\n\tu191sm15606572wmd.4.2016.01.18.04.31.00\n\t(version=TLSv1/SSLv3 cipher=OTHER);\n\tMon, 18 Jan 2016 04:31:00 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=mb6eZzPOzH+zFJYlQOrcIpIsgA5Sq9IxIhMNqGWN/ps=;\n\tb=mBeMs9w93sYsoLCa0rXLL1Qxmu7ACfWt5fNUqufepF/qUejwr65MVEeLlp+S3x1mUK\n\tf1XrZwf55J9JPkz92qsjN4pHZVrdm7/j+xa/sibICesPTWEI+bF5FWMbaljcMo/kk7mX\n\t12GzoEsH57CnJpOpJmSrbaTuuISKU1jJqfrZ+Pzxz7oclcVzxgXvZ7ka10FLF8iXBQHg\n\tY9ZlOFeXgYvS59rRIynP6MTkG8IVE9EkFC8H5SESfGLezfx43KFzozxmDJVBU8K7nzCd\n\tD+koqZnzCc4Xej0Owa40ymKJIQyzn3L/bjdF5mh1zjlucne8EFm7MRAtYpM2hAhr2vvY\n\tQu2A==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=mb6eZzPOzH+zFJYlQOrcIpIsgA5Sq9IxIhMNqGWN/ps=;\n\tb=bKYex2ljMrv4XsiLyD5EfLbXrOYnmrb86ug45GMEfhZ/7IU9cVe7GI18sf70oSr5Ey\n\thLDnBH+8Xi7yUhw04SStCyo46772VohXlaJim53XN2WIzFmyVoQfHiLmx0d9FFSFcvD+\n\tSjEoOZba95HvugebqEHbdY1+IgjpUWN0XO+YrDGsoFPxBI0EbrSwV2hffzbEj89YvjQD\n\tdQcFxvQji9DkhMRS4ZPIxst2JD9DuKPZq3+yb7yPcnPkNYpp2dbYo0BVJRL8ai+Ny64R\n\twr+LVyVsyxuDIcj9Pz7lXtLtIIY/pRJhOdsrJBdFYfruKHvV4ZhMUzmPHzX7i2jecZQd\n\tmgfA==", "X-Gm-Message-State": "ALoCoQn/rtaXKEigQWeayVbWKyNJGagHDWHv+x/AJbRwdaH8UgJZuChxx12/BTsq6HS6SpfHBGMTTzILC22rGqwFsxEHdv2DKA==", "X-Received": "by 10.194.120.226 with SMTP id\n\tlf2mr23740378wjb.108.1453120261446; \n\tMon, 18 Jan 2016 04:31:01 -0800 (PST)", "From": "David Marchand <david.marchand@6wind.com>", "To": "dev@dpdk.org", "Date": "Mon, 18 Jan 2016 13:30:44 +0100", "Message-Id": "<1453120248-28274-7-git-send-email-david.marchand@6wind.com>", "X-Mailer": "git-send-email 1.9.1", "In-Reply-To": "<1453120248-28274-1-git-send-email-david.marchand@6wind.com>", "References": "<1452430254-30390-1-git-send-email-david.marchand@6wind.com>\n\t<1453120248-28274-1-git-send-email-david.marchand@6wind.com>", "Subject": "[dpdk-dev] [PATCH v2 06/10] vmxnet3: move pci device ids to driver", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Moved vmware device ids macro since the driver had no such information.\n\nSigned-off-by: David Marchand <david.marchand@6wind.com>\n---\n\nChanges since v1:\n- indent fix\n\n drivers/net/vmxnet3/vmxnet3_ethdev.c | 9 ++++-----\n lib/librte_eal/common/include/rte_pci_dev_ids.h | 16 ----------------\n 2 files changed, 4 insertions(+), 21 deletions(-)", "diff": "diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c\nindex c363bf6..304f076 100644\n--- a/drivers/net/vmxnet3/vmxnet3_ethdev.c\n+++ b/drivers/net/vmxnet3/vmxnet3_ethdev.c\n@@ -98,12 +98,11 @@ static void vmxnet3_process_events(struct vmxnet3_hw *);\n /*\n * The set of PCI devices this driver supports\n */\n+#define PCI_VENDOR_ID_VMWARE 0x15AD\n+#define VMWARE_DEV_ID_VMXNET3 0x07B0\n static const struct rte_pci_id pci_id_vmxnet3_map[] = {\n-\n-#define RTE_PCI_DEV_ID_DECL_VMXNET3(vend, dev) {RTE_PCI_DEVICE(vend, dev)},\n-#include \"rte_pci_dev_ids.h\"\n-\n-{ .vendor_id = 0, /* sentinel */ },\n+\t{ RTE_PCI_DEVICE(PCI_VENDOR_ID_VMWARE, VMWARE_DEV_ID_VMXNET3) },\n+\t{ .vendor_id = 0, /* sentinel */ },\n };\n \n static const struct eth_dev_ops vmxnet3_eth_dev_ops = {\ndiff --git a/lib/librte_eal/common/include/rte_pci_dev_ids.h b/lib/librte_eal/common/include/rte_pci_dev_ids.h\nindex 448b5e1..0ecff3c 100644\n--- a/lib/librte_eal/common/include/rte_pci_dev_ids.h\n+++ b/lib/librte_eal/common/include/rte_pci_dev_ids.h\n@@ -88,10 +88,6 @@\n * Note that this file can be included multiple times within the same file.\n */\n \n-#ifndef RTE_PCI_DEV_ID_DECL_VMXNET3\n-#define RTE_PCI_DEV_ID_DECL_VMXNET3(vend, dev)\n-#endif\n-\n #ifndef RTE_PCI_DEV_ID_DECL_ENIC\n #define RTE_PCI_DEV_ID_DECL_ENIC(vend, dev)\n #endif\n@@ -104,11 +100,6 @@\n #define RTE_PCI_DEV_ID_DECL_BNX2XVF(vend, dev)\n #endif\n \n-#ifndef PCI_VENDOR_ID_VMWARE\n-/** Vendor ID used by VMware devices */\n-#define PCI_VENDOR_ID_VMWARE 0x15AD\n-#endif\n-\n #ifndef PCI_VENDOR_ID_CISCO\n /** Vendor ID used by Cisco VIC devices */\n #define PCI_VENDOR_ID_CISCO 0x1137\n@@ -119,12 +110,6 @@\n #define PCI_VENDOR_ID_BROADCOM 0x14E4\n #endif\n \n-/****************** VMware VMXNET3 devices ******************/\n-\n-#define VMWARE_DEV_ID_VMXNET3 0x07B0\n-\n-RTE_PCI_DEV_ID_DECL_VMXNET3(PCI_VENDOR_ID_VMWARE, VMWARE_DEV_ID_VMXNET3)\n-\n /****************** Cisco VIC devices ******************/\n \n #define PCI_DEVICE_ID_CISCO_VIC_ENET 0x0043 /* ethernet vnic */\n@@ -183,4 +168,3 @@ RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57840_MF)\n */\n #undef RTE_PCI_DEV_ID_DECL_BNX2X\n #undef RTE_PCI_DEV_ID_DECL_BNX2XVF\n-#undef RTE_PCI_DEV_ID_DECL_VMXNET3\n", "prefixes": [ "dpdk-dev", "v2", "06/10" ] }{ "id": 9940, "url": "