get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 30783,
    "url": "https://patches.dpdk.org/api/patches/30783/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20171024110312.24029-2-luca.boccassi@gmail.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": "<20171024110312.24029-2-luca.boccassi@gmail.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20171024110312.24029-2-luca.boccassi@gmail.com",
    "date": "2017-10-24T11:03:12",
    "name": "[dpdk-dev,v2,2/2] ethdev: pre-emptively document rte_eth_dev_reset error code",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "9fda0bd383a1525f5bee77bd350be57941a6e88b",
    "submitter": {
        "id": 566,
        "url": "https://patches.dpdk.org/api/people/566/?format=api",
        "name": "Luca Boccassi",
        "email": "luca.boccassi@gmail.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20171024110312.24029-2-luca.boccassi@gmail.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/30783/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/30783/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 5C8E21B7C4;\n\tTue, 24 Oct 2017 13:03:26 +0200 (CEST)",
            "from mail-wm0-f65.google.com (mail-wm0-f65.google.com\n\t[74.125.82.65]) by dpdk.org (Postfix) with ESMTP id B6E531B7B1\n\tfor <dev@dpdk.org>; Tue, 24 Oct 2017 13:03:24 +0200 (CEST)",
            "by mail-wm0-f65.google.com with SMTP id z3so8459981wme.5\n\tfor <dev@dpdk.org>; Tue, 24 Oct 2017 04:03:24 -0700 (PDT)",
            "from localhost ([213.251.34.151]) by smtp.gmail.com with ESMTPSA id\n\tb36sm11386edd.67.2017.10.24.04.03.22\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tTue, 24 Oct 2017 04:03:23 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=y8zZ8Xv7eWYkdqyP4P6p6VsQSl601M8cvzyWNann4Io=;\n\tb=KuHKp7ETR4r6Gh2xIE8Jece4g4k2KCLkbrKNflJS+ZcWckEtnrHk/zaoCrB0vh8fX/\n\tA+ikFLKB080g/ojb+O/Zs4p+/8BoDpf9H+R/8VKTXsZdpCgKDK1tN6idCfgaa3rHU0AN\n\t0CB6zcl1AHX9ySHM4hLvfcO0iGl0+z7pdFGnKMUB94X28mhdZ2u1MQHGPvhkmGLqf81J\n\tzPgalZBWeczqGUtbQbNh0WTNzvKfnJF93MKvagH9Nj4R/EGaTATdAtE3uFZETbF5Gf1N\n\t2PqUWvnrSl/QPFiI/msLX60Niyv1rEMDKuOzm2XQG1n6bWeS2a79wZiEjN+NIh1M9OfI\n\t7x9Q==",
        "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;\n\tbh=y8zZ8Xv7eWYkdqyP4P6p6VsQSl601M8cvzyWNann4Io=;\n\tb=ucQtJR1dE6hUM4B3qefZ7eUhRnctXcbK9ifQR1VQY5jRbQJ9ls/g3ooEXmqX/TpcVT\n\tCEQhAZewa6bfd2k7IMNKGIYKv9G87watbx4on/vLvS+Kui+lJSkry2DpGEXWuTvGSEAd\n\tha7vqTJtz9qHV/Zjw6sJk0Vfx6zdVfa3xWonVrBlGMhB13ie4O+FD81FAo7gdUfzR8tf\n\tcXigIt+mT7xcJC6IeHzmGV9ttbn6bTQF9azEvxh2insdMgAsRx7tNzCFLNITfoMrd1YT\n\tFEb4I1y5lKaDDZ8Qc2ZsTfj0Y5oznl/eGJbVowL6XpZudTxODlIihKG7lIPYrrVdceK1\n\tOV0w==",
        "X-Gm-Message-State": "AMCzsaWhTKc31zX1aGSuoMNCdQHidKW0I+08Y2jcdXQEzeC4htCY4n/0\n\tKDfH4dB3ucQjaZBPBohOgda8h9gqbLQ=",
        "X-Google-Smtp-Source": "ABhQp+RjZG69LFYJ8MkhM7jhTbPqvmo3OtdrAexkbOQBrvKsnAVL0yPqCFfFPp3Q1kj38pYyUj29wQ==",
        "X-Received": "by 10.80.208.10 with SMTP id j10mr2230094edf.194.1508843003890; \n\tTue, 24 Oct 2017 04:03:23 -0700 (PDT)",
        "From": "luca.boccassi@gmail.com",
        "To": "dev@dpdk.org",
        "Cc": "wenzhuo.lu@intel.com, wei.dai@intel.com, remy.horton@intel.com,\n\tthomas@monjalon.net, Luca Boccassi <bluca@debian.org>",
        "Date": "Tue, 24 Oct 2017 12:03:12 +0100",
        "Message-Id": "<20171024110312.24029-2-luca.boccassi@gmail.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<20171024110312.24029-1-luca.boccassi@gmail.com>",
        "References": "<20171019134827.22740-1-luca.boccassi@gmail.com>\n\t<20171024110312.24029-1-luca.boccassi@gmail.com>",
        "Subject": "[dpdk-dev] [PATCH v2 2/2] ethdev: pre-emptively document\n\trte_eth_dev_reset error code",
        "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": "From: Luca Boccassi <bluca@debian.org>\n\nWhen VF reset will be supported by drivers, the API will most likely\nhave to return -EAGAIN to avoid blocking when the VF cannot be reset\nbecause the PF is down.\nDocument it immediately even if it's not yet supported, so that users\nand developers can already take into account about this use case, and\nthus avoid an API-incompatible change later on.\n\nThis is based on real-world production usage and customer escalations,\nusing earlier patches from Intel.\n\nSigned-off-by: Luca Boccassi <bluca@debian.org>\n---\n lib/librte_ether/rte_ethdev.h | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h\nindex 697f6b2e0..2a0129a2a 100644\n--- a/lib/librte_ether/rte_ethdev.h\n+++ b/lib/librte_ether/rte_ethdev.h\n@@ -2277,6 +2277,7 @@ void rte_eth_dev_close(uint16_t port_id);\n  *   - (-EPERM) if not ran from the primary process.\n  *   - (-EIO) if re-initialisation failed.\n  *   - (-ENOMEM) if the reset failed due to OOM.\n+ *   - (-EAGAIN) if the reset temporarily failed and should be retried later.\n  */\n int rte_eth_dev_reset(uint16_t port_id);\n \n",
    "prefixes": [
        "dpdk-dev",
        "v2",
        "2/2"
    ]
}