get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 6852,
    "url": "http://patches.dpdk.org/api/patches/6852/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1441143062-2557-4-git-send-email-thomas.monjalon@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": "<1441143062-2557-4-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1441143062-2557-4-git-send-email-thomas.monjalon@6wind.com",
    "date": "2015-09-01T21:30:57",
    "name": "[dpdk-dev,4/9] eal: remove deprecated function",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "358f8d6108ae5cd787b29489070b65fc6733b343",
    "submitter": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/people/1/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas.monjalon@6wind.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1441143062-2557-4-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/6852/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/6852/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 BD7498E61;\n\tTue,  1 Sep 2015 23:32:25 +0200 (CEST)",
            "from mail-wi0-f179.google.com (mail-wi0-f179.google.com\n\t[209.85.212.179]) by dpdk.org (Postfix) with ESMTP id 56BF75AA0\n\tfor <dev@dpdk.org>; Tue,  1 Sep 2015 23:32:24 +0200 (CEST)",
            "by wicfx3 with SMTP id fx3so26120150wic.0\n\tfor <dev@dpdk.org>; Tue, 01 Sep 2015 14:32:24 -0700 (PDT)",
            "from localhost.localdomain (136-92-190-109.dsl.ovh.fr.\n\t[109.190.92.136]) by smtp.gmail.com with ESMTPSA id\n\tej5sm29085583wjd.22.2015.09.01.14.32.23\n\tfor <dev@dpdk.org> (version=TLSv1/SSLv3 cipher=OTHER);\n\tTue, 01 Sep 2015 14:32:23 -0700 (PDT)"
        ],
        "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:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=u71TVYU2Zn+whKgrFuMGIy7dD8cZAbMoDivyRZUWdLY=;\n\tb=Ew2e2s1s7emp7UFCVtfDDt+TiLXdN9+0pfAPXkPTnKI+FU4qoib1JBoKlzzdNpyvme\n\t5tUINkxFtEmB24q519Uq60sKWvu9mZ7DHrB/a/FfjlCMd4OQUwI8DEOywdfDK+Jr3GyT\n\tNYwQ//i7iZW+GRF/gM7rNtxdJfH9Kd9inl/gcPvACBxW0a7uicJynrfCtF0TBXWxUtds\n\t9wSYBRyMnrY7SZSuuXO37FoT8aKihc2RCvyWwfUTu5xORi+i9v0XMd04Ndv8YMff/BiM\n\txLGbXxgvL4Xfl/oM67cDfxg0DQpaIpNUk1+gWw9UyReGTP5MNsK5SBi5bIDvgzWFIqpi\n\tmA9g==",
        "X-Gm-Message-State": "ALoCoQlmwDuCC0nFxhsubDwjJepx4vWxzd1xOYmOKJtDANZyJIaQsHvV/sobn4b04Xik8kvuLpsC",
        "X-Received": "by 10.194.112.3 with SMTP id im3mr35923445wjb.54.1441143144255; \n\tTue, 01 Sep 2015 14:32:24 -0700 (PDT)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Tue,  1 Sep 2015 23:30:57 +0200",
        "Message-Id": "<1441143062-2557-4-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.5.1",
        "In-Reply-To": "<1441138697-25157-1-git-send-email-thomas.monjalon@6wind.com>",
        "References": "<1441138697-25157-1-git-send-email-thomas.monjalon@6wind.com>",
        "Subject": "[dpdk-dev] [PATCH 4/9] eal: remove deprecated function",
        "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": "The function rte_eal_pci_close_one() was renamed rte_eal_pci_detach().\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n doc/guides/rel_notes/deprecation.rst            | 3 ---\n lib/librte_eal/bsdapp/eal/rte_eal_version.map   | 1 -\n lib/librte_eal/common/eal_common_pci.c          | 6 ------\n lib/librte_eal/common/include/rte_pci.h         | 2 --\n lib/librte_eal/linuxapp/eal/rte_eal_version.map | 1 -\n 5 files changed, 13 deletions(-)",
    "diff": "diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst\nindex cf5cd17..604a899 100644\n--- a/doc/guides/rel_notes/deprecation.rst\n+++ b/doc/guides/rel_notes/deprecation.rst\n@@ -13,9 +13,6 @@ Deprecation Notices\n   There is no backward compatibility planned from release 2.2.\n   All binaries will need to be rebuilt from release 2.2.\n \n-* The EAL function rte_eal_pci_close_one is deprecated because renamed to\n-  rte_eal_pci_detach.\n-\n * The Macros RTE_HASH_BUCKET_ENTRIES_MAX and RTE_HASH_KEY_LENGTH_MAX are\n   deprecated and will be removed with version 2.2.\n \ndiff --git a/lib/librte_eal/bsdapp/eal/rte_eal_version.map b/lib/librte_eal/bsdapp/eal/rte_eal_version.map\nindex 2758848..64fdfb1 100644\n--- a/lib/librte_eal/bsdapp/eal/rte_eal_version.map\n+++ b/lib/librte_eal/bsdapp/eal/rte_eal_version.map\n@@ -40,7 +40,6 @@ DPDK_2.0 {\n \trte_eal_mp_remote_launch;\n \trte_eal_mp_wait_lcore;\n \trte_eal_parse_devargs_str;\n-\trte_eal_pci_close_one;\n \trte_eal_pci_dump;\n \trte_eal_pci_probe;\n \trte_eal_pci_probe_one;\ndiff --git a/lib/librte_eal/common/eal_common_pci.c b/lib/librte_eal/common/eal_common_pci.c\nindex 16e8629..dcfe947 100644\n--- a/lib/librte_eal/common/eal_common_pci.c\n+++ b/lib/librte_eal/common/eal_common_pci.c\n@@ -348,12 +348,6 @@ err_return:\n \treturn -1;\n }\n \n-int __attribute__ ((deprecated))\n-rte_eal_pci_close_one(const struct rte_pci_addr *addr)\n-{\n-\treturn rte_eal_pci_detach(addr);\n-}\n-\n /*\n  * Detach device specified by its pci address.\n  */\ndiff --git a/lib/librte_eal/common/include/rte_pci.h b/lib/librte_eal/common/include/rte_pci.h\nindex 3fb2d3a..83e3c28 100644\n--- a/lib/librte_eal/common/include/rte_pci.h\n+++ b/lib/librte_eal/common/include/rte_pci.h\n@@ -426,8 +426,6 @@ int rte_eal_pci_probe_one(const struct rte_pci_addr *addr);\n  *   - Negative on error.\n  */\n int rte_eal_pci_detach(const struct rte_pci_addr *addr);\n-int __attribute__ ((deprecated))\n-rte_eal_pci_close_one(const struct rte_pci_addr *addr);\n \n /**\n  * Dump the content of the PCI bus.\ndiff --git a/lib/librte_eal/linuxapp/eal/rte_eal_version.map b/lib/librte_eal/linuxapp/eal/rte_eal_version.map\nindex 59b1717..dbb8fa1 100644\n--- a/lib/librte_eal/linuxapp/eal/rte_eal_version.map\n+++ b/lib/librte_eal/linuxapp/eal/rte_eal_version.map\n@@ -40,7 +40,6 @@ DPDK_2.0 {\n \trte_eal_mp_remote_launch;\n \trte_eal_mp_wait_lcore;\n \trte_eal_parse_devargs_str;\n-\trte_eal_pci_close_one;\n \trte_eal_pci_dump;\n \trte_eal_pci_probe;\n \trte_eal_pci_probe_one;\n",
    "prefixes": [
        "dpdk-dev",
        "4/9"
    ]
}