get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 27925,
    "url": "https://patches.dpdk.org/api/patches/27925/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/8191dda5251719e691d493d5fd7b9b90baacec93.1503651392.git.gaetan.rivet@6wind.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<8191dda5251719e691d493d5fd7b9b90baacec93.1503651392.git.gaetan.rivet@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/8191dda5251719e691d493d5fd7b9b90baacec93.1503651392.git.gaetan.rivet@6wind.com",
    "date": "2017-08-25T09:04:26",
    "name": "[dpdk-dev,04/13] eal: remove references to PCI",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "faa6deed957417fc2d0f5f0191e88502bc8f23e9",
    "submitter": {
        "id": 269,
        "url": "https://patches.dpdk.org/api/people/269/?format=api",
        "name": "Gaëtan Rivet",
        "email": "gaetan.rivet@6wind.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/8191dda5251719e691d493d5fd7b9b90baacec93.1503651392.git.gaetan.rivet@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/27925/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/27925/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 7B61A7D82;\n\tFri, 25 Aug 2017 11:04:59 +0200 (CEST)",
            "from mail-wm0-f41.google.com (mail-wm0-f41.google.com\n\t[74.125.82.41]) by dpdk.org (Postfix) with ESMTP id CA8207CFC\n\tfor <dev@dpdk.org>; Fri, 25 Aug 2017 11:04:55 +0200 (CEST)",
            "by mail-wm0-f41.google.com with SMTP id b189so7644666wmd.0\n\tfor <dev@dpdk.org>; Fri, 25 Aug 2017 02:04:55 -0700 (PDT)",
            "from bidouze.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com.\n\t[62.23.145.78]) by smtp.gmail.com with ESMTPSA id\n\tq141sm782350wmb.11.2017.08.25.02.04.53\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 25 Aug 2017 02:04:54 -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\t:in-reply-to:references;\n\tbh=SiN3f7271wxROODRawygxioFQfODZQCw2pNmHPI155w=;\n\tb=ITung8ozXiPOeJ+zgrqPFJ+az9SxD/OQ51z3V2KLw6tlOF6sbAkfT7fcQl76CMSIfh\n\tYkSTSMO3JTfDUCanj2jxJ3GvroqxFOyqZQ40X4x2zlxaqCRLYPDmBVGQ3exaOknkAqNi\n\t9bGSNs+rP/DktmaZwIngaDwMS79DZWPPUbJVFer19lqj4jfcJeRti2gZz/VkPw6lsV8n\n\t5yhlBIEyfKfmLrv5xZonMfKTEVFGe23q4mrluqNF76V5QxuXYquASy0Rsyfd0zyhWSmw\n\tAhwyvmN4jYzXnIB/QGymXzjlF89mmVUCMe0RVqVAK9hGGNnYLuInNIoZm8sB39OgU0u4\n\tYj+Q==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:in-reply-to:references;\n\tbh=SiN3f7271wxROODRawygxioFQfODZQCw2pNmHPI155w=;\n\tb=R1zzxjJvj0YyHOKajwyvhmfj2l3sTmhtfu9W3djn41kvLbl7LDjh7AT+hqHq3PeHiN\n\to6vp1re8NBIkR9ZXE9hjiLuY4veU5a6fikmJM7fsu0DwJ9/qBcphJGseY1A2ff7fIQeX\n\taNIOetrR+3EOUNe6tzRwteYobSx94K3jBBaA1PJFPqMdNhXRJHfGbKub55J/rfHJSozc\n\tu0kaAeS0GVB3ZDhFXblAJZkUHCXanJSc88bJVf5V324xdsRhzY7aajtfeiIyNkK7ui6N\n\tx5Yq4JOdQAmor5/IWbQ6Ewohq1HfV4a672+DOM6xp6S0TwFk8+w9OsjZmBzQjaw1dDzs\n\t9o5w==",
        "X-Gm-Message-State": "AHYfb5iFx0uJWsTIcd/BQZzTksc0Wc6eEY9OXBeXt4pi+MNbrlznuo+E\n\ty0fayQupEjb6r3lzhFQ=",
        "X-Received": "by 10.28.104.86 with SMTP id d83mr836550wmc.34.1503651894959;\n\tFri, 25 Aug 2017 02:04:54 -0700 (PDT)",
        "From": "Gaetan Rivet <gaetan.rivet@6wind.com>",
        "To": "dev@dpdk.org",
        "Cc": "Gaetan Rivet <gaetan.rivet@6wind.com>",
        "Date": "Fri, 25 Aug 2017 11:04:26 +0200",
        "Message-Id": "<8191dda5251719e691d493d5fd7b9b90baacec93.1503651392.git.gaetan.rivet@6wind.com>",
        "X-Mailer": "git-send-email 2.1.4",
        "In-Reply-To": [
            "<cover.1503651392.git.gaetan.rivet@6wind.com>",
            "<cover.1503651392.git.gaetan.rivet@6wind.com>"
        ],
        "References": [
            "<cover.1503651392.git.gaetan.rivet@6wind.com>",
            "<cover.1503651392.git.gaetan.rivet@6wind.com>"
        ],
        "Subject": "[dpdk-dev] [PATCH 04/13] eal: remove references to PCI",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <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": "Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>\n---\n lib/librte_eal/bsdapp/eal/eal.c              |   1 -\n lib/librte_eal/common/eal_private.h          | 132 ---------------------------\n lib/librte_eal/linuxapp/eal/eal.c            |   1 -\n lib/librte_eal/linuxapp/eal/eal_interrupts.c |   1 -\n 4 files changed, 135 deletions(-)",
    "diff": "diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c\nindex 5fa5988..b7c045f 100644\n--- a/lib/librte_eal/bsdapp/eal/eal.c\n+++ b/lib/librte_eal/bsdapp/eal/eal.c\n@@ -66,7 +66,6 @@\n #include <rte_cpuflags.h>\n #include <rte_interrupts.h>\n #include <rte_bus.h>\n-#include <rte_pci.h>\n #include <rte_dev.h>\n #include <rte_devargs.h>\n #include <rte_version.h>\ndiff --git a/lib/librte_eal/common/eal_private.h b/lib/librte_eal/common/eal_private.h\nindex 10a7078..fc504ef 100644\n--- a/lib/librte_eal/common/eal_private.h\n+++ b/lib/librte_eal/common/eal_private.h\n@@ -36,7 +36,6 @@\n \n #include <stdbool.h>\n #include <stdio.h>\n-#include <rte_pci.h>\n \n /**\n  * Initialize the memzone subsystem (private to eal).\n@@ -109,137 +108,6 @@ int rte_eal_timer_init(void);\n  */\n int rte_eal_log_init(const char *id, int facility);\n \n-struct rte_pci_driver;\n-struct rte_pci_device;\n-\n-/**\n- * Find the name of a PCI device.\n- */\n-void pci_name_set(struct rte_pci_device *dev);\n-\n-/**\n- * Add a PCI device to the PCI Bus (append to PCI Device list). This function\n- * also updates the bus references of the PCI Device (and the generic device\n- * object embedded within.\n- *\n- * @param pci_dev\n- *\tPCI device to add\n- * @return void\n- */\n-void rte_pci_add_device(struct rte_pci_device *pci_dev);\n-\n-/**\n- * Insert a PCI device in the PCI Bus at a particular location in the device\n- * list. It also updates the PCI Bus reference of the new devices to be\n- * inserted.\n- *\n- * @param exist_pci_dev\n- *\tExisting PCI device in PCI Bus\n- * @param new_pci_dev\n- *\tPCI device to be added before exist_pci_dev\n- * @return void\n- */\n-void rte_pci_insert_device(struct rte_pci_device *exist_pci_dev,\n-\t\tstruct rte_pci_device *new_pci_dev);\n-\n-/**\n- * Remove a PCI device from the PCI Bus. This sets to NULL the bus references\n- * in the PCI device object as well as the generic device object.\n- *\n- * @param pci_device\n- *\tPCI device to be removed from PCI Bus\n- * @return void\n- */\n-void rte_pci_remove_device(struct rte_pci_device *pci_device);\n-\n-/**\n- * Update a pci device object by asking the kernel for the latest information.\n- *\n- * This function is private to EAL.\n- *\n- * @param addr\n- *\tThe PCI Bus-Device-Function address to look for\n- * @return\n- *   - 0 on success.\n- *   - negative on error.\n- */\n-int pci_update_device(const struct rte_pci_addr *addr);\n-\n-/**\n- * Unbind kernel driver for this device\n- *\n- * This function is private to EAL.\n- *\n- * @return\n- *   0 on success, negative on error\n- */\n-int pci_unbind_kernel_driver(struct rte_pci_device *dev);\n-\n-/**\n- * Map the PCI resource of a PCI device in virtual memory\n- *\n- * This function is private to EAL.\n- *\n- * @return\n- *   0 on success, negative on error\n- */\n-int pci_uio_map_resource(struct rte_pci_device *dev);\n-\n-/**\n- * Unmap the PCI resource of a PCI device\n- *\n- * This function is private to EAL.\n- */\n-void pci_uio_unmap_resource(struct rte_pci_device *dev);\n-\n-/**\n- * Allocate uio resource for PCI device\n- *\n- * This function is private to EAL.\n- *\n- * @param dev\n- *   PCI device to allocate uio resource\n- * @param uio_res\n- *   Pointer to uio resource.\n- *   If the function returns 0, the pointer will be filled.\n- * @return\n- *   0 on success, negative on error\n- */\n-int pci_uio_alloc_resource(struct rte_pci_device *dev,\n-\t\tstruct mapped_pci_resource **uio_res);\n-\n-/**\n- * Free uio resource for PCI device\n- *\n- * This function is private to EAL.\n- *\n- * @param dev\n- *   PCI device to free uio resource\n- * @param uio_res\n- *   Pointer to uio resource.\n- */\n-void pci_uio_free_resource(struct rte_pci_device *dev,\n-\t\tstruct mapped_pci_resource *uio_res);\n-\n-/**\n- * Map device memory to uio resource\n- *\n- * This function is private to EAL.\n- *\n- * @param dev\n- *   PCI device that has memory information.\n- * @param res_idx\n- *   Memory resource index of the PCI device.\n- * @param uio_res\n- *  uio resource that will keep mapping information.\n- * @param map_idx\n- *   Mapping information index of the uio resource.\n- * @return\n- *   0 on success, negative on error\n- */\n-int pci_uio_map_resource_by_index(struct rte_pci_device *dev, int res_idx,\n-\t\tstruct mapped_pci_resource *uio_res, int map_idx);\n-\n /**\n  * Init tail queues for non-EAL library structures. This is to allow\n  * the rings, mempools, etc. lists to be shared among multiple processes\ndiff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c\nindex 48f12f4..f72da15 100644\n--- a/lib/librte_eal/linuxapp/eal/eal.c\n+++ b/lib/librte_eal/linuxapp/eal/eal.c\n@@ -71,7 +71,6 @@\n #include <rte_cpuflags.h>\n #include <rte_interrupts.h>\n #include <rte_bus.h>\n-#include <rte_pci.h>\n #include <rte_dev.h>\n #include <rte_devargs.h>\n #include <rte_version.h>\ndiff --git a/lib/librte_eal/linuxapp/eal/eal_interrupts.c b/lib/librte_eal/linuxapp/eal/eal_interrupts.c\nindex 3e9ac41..0bebf00 100644\n--- a/lib/librte_eal/linuxapp/eal/eal_interrupts.c\n+++ b/lib/librte_eal/linuxapp/eal/eal_interrupts.c\n@@ -60,7 +60,6 @@\n #include <rte_branch_prediction.h>\n #include <rte_debug.h>\n #include <rte_log.h>\n-#include <rte_pci.h>\n #include <rte_malloc.h>\n #include <rte_errno.h>\n #include <rte_spinlock.h>\n",
    "prefixes": [
        "dpdk-dev",
        "04/13"
    ]
}