Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/12146/?format=api
http://patches.dpdk.org/api/patches/12146/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1461156236-25349-8-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": "<1461156236-25349-8-git-send-email-david.marchand@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1461156236-25349-8-git-send-email-david.marchand@6wind.com", "date": "2016-04-20T12:43:50", "name": "[dpdk-dev,v3,07/13] enic: move pci device ids to driver", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "52ba87e86077a8320f2a3bd3b6a7e1c11a99a761", "submitter": { "id": 3, "url": "http://patches.dpdk.org/api/people/3/?format=api", "name": "David Marchand", "email": "david.marchand@6wind.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1461156236-25349-8-git-send-email-david.marchand@6wind.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/12146/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/12146/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 2C6CB568C;\n\tWed, 20 Apr 2016 14:44:15 +0200 (CEST)", "from mail-wm0-f43.google.com (mail-wm0-f43.google.com\n\t[74.125.82.43]) by dpdk.org (Postfix) with ESMTP id F342D567F\n\tfor <dev@dpdk.org>; Wed, 20 Apr 2016 14:44:10 +0200 (CEST)", "by mail-wm0-f43.google.com with SMTP id v188so201914899wme.1\n\tfor <dev@dpdk.org>; Wed, 20 Apr 2016 05:44:10 -0700 (PDT)", "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\tj10sm5428135wjb.46.2016.04.20.05.44.09\n\t(version=TLSv1/SSLv3 cipher=OTHER);\n\tWed, 20 Apr 2016 05:44:09 -0700 (PDT)" ], "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=BKvY69kEdf/iL91RvmuhEgUxqeO9nauvL7oHdTRD6XM=;\n\tb=P9OVDkPydQqDO9kmFY+sGTgY3iT1FiO1Sso1NZlsg5UomMOk7TOwupMksZXioLeu9H\n\tZXhX5k2Two6UtvhshZkMPoxQxxw3bRBY3dyU5lGxsoP0lH/jeoHkWvPcVELBIEqozLV6\n\t1BRtv1ZyXzaekcgUCCNzESO77+j+XZQBTCMeBHJVypnQViXx9YwakY7bJtJRA2D8UmxD\n\tn64wBR4ALKFbYk0PvhdMncWuPHvi+nFrRRSbPgGeDifGBV7Tngf9o4G2YUDQx7Wf5dWH\n\tBtAXrZ20T8L44H6urOgBsybYmJOXi7qp0dzjcW9xkR6LS0Lu7S4Cbx5YJKCgBs1AciC2\n\tpLyQ==", "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=BKvY69kEdf/iL91RvmuhEgUxqeO9nauvL7oHdTRD6XM=;\n\tb=hp2yTIKtJaTsr8AB6Dy9OKanPFWMghnXA2y46mNW6bY/hrAJwkaN1niAlPg3HEhgS6\n\tqIDzAsKB3G7UGA/DRNuS3nZ6sHvF2/RJ3QoLduTPbIfc/DOZdArPTB1AUZ/zQwnIGXo+\n\tD0XTT/KkTHrdmUXY4PJn8SJMZSQaQ4jDXKkidnsMYmaPdkovrTue0w2opgotNAJzSzcP\n\tvk3RsVyj1E1buyBMwAgBgY8tmz6LUPbf2zkpmv2d5Yg24zkcuzRxYHGBPLgeRK5ph6nI\n\tQqxfkjtzA1a4K7N/LjvgQ1HWgkLVHYMUDwKNQ2GRmJ0EONmPn0H7aZY8wYt7+RblxW0z\n\tX1ZA==", "X-Gm-Message-State": "AOPr4FXzpjDRwK6XuFD+AkVPAQ+iI6D4G1gS/eVvonCA/rk/9nCTp8pG/nJHh2m/v8NbgQbn", "X-Received": "by 10.28.145.67 with SMTP id t64mr9639037wmd.56.1461156250833;\n\tWed, 20 Apr 2016 05:44:10 -0700 (PDT)", "From": "David Marchand <david.marchand@6wind.com>", "To": "dev@dpdk.org", "Cc": "thomas.monjalon@6wind.com, stephen@networkplumber.org,\n\tbruce.richardson@intel.com, nhorman@tuxdriver.com, pmatilai@redhat.com,\n\tchristian.ehrhardt@canonical.com, John Daley <johndale@cisco.com>,\n\tNelson Escobar <neescoba@cisco.com>", "Date": "Wed, 20 Apr 2016 14:43:50 +0200", "Message-Id": "<1461156236-25349-8-git-send-email-david.marchand@6wind.com>", "X-Mailer": "git-send-email 1.9.1", "In-Reply-To": "<1461156236-25349-1-git-send-email-david.marchand@6wind.com>", "References": "<1453120248-28274-1-git-send-email-david.marchand@6wind.com>\n\t<1461156236-25349-1-git-send-email-david.marchand@6wind.com>", "Subject": "[dpdk-dev] [PATCH v3 07/13] enic: 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 cisco vendor id since the driver had no such information.\n\nSigned-off-by: David Marchand <david.marchand@6wind.com>\n---\n drivers/net/enic/enic_ethdev.c | 13 +++++--------\n lib/librte_eal/common/include/rte_pci_dev_ids.h | 17 -----------------\n 2 files changed, 5 insertions(+), 25 deletions(-)", "diff": "diff --git a/drivers/net/enic/enic_ethdev.c b/drivers/net/enic/enic_ethdev.c\nindex 7539811..0e26aa9 100644\n--- a/drivers/net/enic/enic_ethdev.c\n+++ b/drivers/net/enic/enic_ethdev.c\n@@ -57,15 +57,12 @@\n /*\n * The set of PCI devices this driver supports\n */\n+#define PCI_VENDOR_ID_CISCO 0x1137\n static const struct rte_pci_id pci_id_enic_map[] = {\n-#define RTE_PCI_DEV_ID_DECL_ENIC(vend, dev) {RTE_PCI_DEVICE(vend, dev)},\n-#ifndef PCI_VENDOR_ID_CISCO\n-#define PCI_VENDOR_ID_CISCO\t0x1137\n-#endif\n-#include \"rte_pci_dev_ids.h\"\n-RTE_PCI_DEV_ID_DECL_ENIC(PCI_VENDOR_ID_CISCO, PCI_DEVICE_ID_CISCO_VIC_ENET)\n-RTE_PCI_DEV_ID_DECL_ENIC(PCI_VENDOR_ID_CISCO, PCI_DEVICE_ID_CISCO_VIC_ENET_VF)\n-{.vendor_id = 0, /* Sentinal */},\n+\t{ RTE_PCI_DEVICE(PCI_VENDOR_ID_CISCO, PCI_DEVICE_ID_CISCO_VIC_ENET) },\n+\t{ RTE_PCI_DEVICE(PCI_VENDOR_ID_CISCO,\n+\t\tPCI_DEVICE_ID_CISCO_VIC_ENET_VF) },\n+\t{.vendor_id = 0, /* sentinel */},\n };\n \n static int\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 0ecff3c..1c22c04 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_ENIC\n-#define RTE_PCI_DEV_ID_DECL_ENIC(vend, dev)\n-#endif\n-\n #ifndef RTE_PCI_DEV_ID_DECL_BNX2X\n #define RTE_PCI_DEV_ID_DECL_BNX2X(vend, dev)\n #endif\n@@ -100,24 +96,11 @@\n #define RTE_PCI_DEV_ID_DECL_BNX2XVF(vend, dev)\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-#endif\n-\n #ifndef PCI_VENDOR_ID_BROADCOM\n /** Vendor ID used by Broadcom devices */\n #define PCI_VENDOR_ID_BROADCOM 0x14E4\n #endif\n \n-/****************** Cisco VIC devices ******************/\n-\n-#define PCI_DEVICE_ID_CISCO_VIC_ENET 0x0043 /* ethernet vnic */\n-#define PCI_DEVICE_ID_CISCO_VIC_ENET_VF 0x0071 /* enet SRIOV VF */\n-\n-RTE_PCI_DEV_ID_DECL_ENIC(PCI_VENDOR_ID_CISCO, PCI_DEVICE_ID_CISCO_VIC_ENET)\n-RTE_PCI_DEV_ID_DECL_ENIC(PCI_VENDOR_ID_CISCO, PCI_DEVICE_ID_CISCO_VIC_ENET_VF)\n-\n /****************** QLogic devices ******************/\n \n /* Broadcom/QLogic BNX2X */\n", "prefixes": [ "dpdk-dev", "v3", "07/13" ] }{ "id": 12146, "url": "