get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 11087,
    "url": "http://patches.dpdk.org/api/patches/11087/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1457125528-128877-3-git-send-email-stephen.hurd@broadcom.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": "<1457125528-128877-3-git-send-email-stephen.hurd@broadcom.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1457125528-128877-3-git-send-email-stephen.hurd@broadcom.com",
    "date": "2016-03-04T21:05:23",
    "name": "[dpdk-dev,v3,2/7] lib/librte_eal: Add PCI IDs for Broadcom bnxt",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "7a017d6d773b2c9a7b5da78d635576e97f42dba7",
    "submitter": {
        "id": 438,
        "url": "http://patches.dpdk.org/api/people/438/?format=api",
        "name": "Stephen Hurd",
        "email": "stephen.hurd@broadcom.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/1457125528-128877-3-git-send-email-stephen.hurd@broadcom.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/11087/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/11087/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 1934A2BE5;\n\tFri,  4 Mar 2016 22:05:40 +0100 (CET)",
            "from mail-irv-18.broadcom.com (5520-maca-inet1-outside.broadcom.com\n\t[216.31.211.11]) by dpdk.org (Postfix) with ESMTP id 04DB92BA6\n\tfor <dev@dpdk.org>; Fri,  4 Mar 2016 22:05:37 +0100 (CET)",
            "from mail-irva-13.broadcom.com (mail-irva-13.broadcom.com\n\t[10.11.16.103])\n\tby mail-irv-18.broadcom.com (Postfix) with ESMTP id 25D49820E2;\n\tFri,  4 Mar 2016 13:05:36 -0800 (PST)",
            "from DPDK-C1.broadcom.com (lab-irv-114-42 [10.13.114.42])\n\tby mail-irva-13.broadcom.com (Postfix) with ESMTP id CFED840FE8;\n\tFri,  4 Mar 2016 13:05:18 -0800 (PST)"
        ],
        "From": "Stephen Hurd <stephen.hurd@broadcom.com>",
        "To": "dev@dpdk.org",
        "Date": "Fri,  4 Mar 2016 13:05:23 -0800",
        "Message-Id": "<1457125528-128877-3-git-send-email-stephen.hurd@broadcom.com>",
        "X-Mailer": "git-send-email 1.9.1",
        "In-Reply-To": [
            "<1457125528-128877-1-git-send-email-stephen.hurd@broadcom.com>",
            "<1456978137-98097-1-git-send-email-stephen.hurd@broadcom.com>"
        ],
        "References": [
            "<1457125528-128877-1-git-send-email-stephen.hurd@broadcom.com>",
            "<1456978137-98097-1-git-send-email-stephen.hurd@broadcom.com>"
        ],
        "Subject": "[dpdk-dev] [PATCH v3 2/7] lib/librte_eal: Add PCI IDs for Broadcom\n\tbnxt",
        "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": "Add Broadcom Vendor ID and RTE_PCI_DEV_ID_DECL_BNXT() macro.\nAdd Device IDs for Broadcom bnxt devices.\n\nSigned-off-by: Stephen Hurd <stephen.hurd@broadcom.com>\n---\n lib/librte_eal/common/include/rte_pci_dev_ids.h | 45 ++++++++++++++++++++++---\n 1 file changed, 40 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/lib/librte_eal/common/include/rte_pci_dev_ids.h b/lib/librte_eal/common/include/rte_pci_dev_ids.h\nindex d088191..9a8f254 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@@ -63,11 +63,11 @@\n  * This file contains a list of the PCI device IDs recognised by DPDK, which\n  * can be used to fill out an array of structures describing the devices.\n  *\n- * Currently four families of devices are recognised: those supported by the\n- * IGB driver, by EM driver, those supported by the IXGBE driver, and by virtio\n- * driver which is a para virtualization driver running in guest virtual machine.\n- * The inclusion of these in an array built using this file depends on the\n- * definition of\n+ * Currently five families of devices are recognised: those supported by the\n+ * IGB driver, by EM driver, those supported by the IXGBE driver, by BNXT\n+ * driver, and by virtio driver which is a para virtualization driver running\n+ * in guest virtual machine.  The inclusion of these in an array built using\n+ * this file depends on the definition of\n  * RTE_PCI_DEV_ID_DECL_EM\n  * RTE_PCI_DEV_ID_DECL_IGB\n  * RTE_PCI_DEV_ID_DECL_IGBVF\n@@ -76,6 +76,7 @@\n  * RTE_PCI_DEV_ID_DECL_I40E\n  * RTE_PCI_DEV_ID_DECL_I40EVF\n  * RTE_PCI_DEV_ID_DECL_VIRTIO\n+ * RTE_PCI_DEV_ID_DECL_BNXT\n  * at the time when this file is included.\n  *\n  * In order to populate an array, the user of this file must define this macro:\n@@ -167,6 +168,15 @@\n #define PCI_VENDOR_ID_VMWARE 0x15AD\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+#ifndef RTE_PCI_DEV_ID_DECL_BNXT\n+#define RTE_PCI_DEV_ID_DECL_BNXT(vendor, 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@@ -592,6 +602,30 @@ RTE_PCI_DEV_ID_DECL_VIRTIO(PCI_VENDOR_ID_QUMRANET, QUMRANET_DEV_ID_VIRTIO)\n \n RTE_PCI_DEV_ID_DECL_VMXNET3(PCI_VENDOR_ID_VMWARE, VMWARE_DEV_ID_VMXNET3)\n \n+/****************** Broadcom BNXT devices ******************/\n+\n+#define BROADCOM_DEV_ID_57301\t\t\t0x16c8\n+#define BROADCOM_DEV_ID_57302\t\t\t0x16c9\n+#define BROADCOM_DEV_ID_57304_PF\t\t0x16ca\n+#define BROADCOM_DEV_ID_57304_VF\t\t0x16cb\n+#define BROADCOM_DEV_ID_57304_MF\t\t0x16cc\n+#define BROADCOM_DEV_ID_57402\t\t\t0x16d0\n+#define BROADCOM_DEV_ID_57404\t\t\t0x16d1\n+#define BROADCOM_DEV_ID_57406_PF\t\t0x16d2\n+#define BROADCOM_DEV_ID_57406_VF\t\t0x16d3\n+#define BROADCOM_DEV_ID_57406_MF\t\t0x16d4\n+\n+RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57301)\n+RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57302)\n+RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57304_PF)\n+RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57304_VF)\n+RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57304_MF)\n+RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57402)\n+RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57404)\n+RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57406_PF)\n+RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57406_VF)\n+RTE_PCI_DEV_ID_DECL_BNXT(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57406_MF)\n+\n /*************** Virtual FM10K devices from fm10k_type.h ***************/\n \n #define FM10K_DEV_ID_VF                   0x15A5\n@@ -665,5 +699,6 @@ RTE_PCI_DEV_ID_DECL_BNX2X(PCI_VENDOR_ID_BROADCOM, BNX2X_DEV_ID_57840_MF)\n #undef RTE_PCI_DEV_ID_DECL_I40EVF\n #undef RTE_PCI_DEV_ID_DECL_VIRTIO\n #undef RTE_PCI_DEV_ID_DECL_VMXNET3\n+#undef RTE_PCI_DEV_ID_DECL_BNXT\n #undef RTE_PCI_DEV_ID_DECL_FM10K\n #undef RTE_PCI_DEV_ID_DECL_FM10KVF\n",
    "prefixes": [
        "dpdk-dev",
        "v3",
        "2/7"
    ]
}