get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 30211,
    "url": "http://patches.dpdk.org/api/patches/30211/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/9d68b81c8073666dcf00ead1fa67516f456ee3bf.1507796085.git.gaetan.rivet@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": "<9d68b81c8073666dcf00ead1fa67516f456ee3bf.1507796085.git.gaetan.rivet@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/9d68b81c8073666dcf00ead1fa67516f456ee3bf.1507796085.git.gaetan.rivet@6wind.com",
    "date": "2017-10-12T08:18:30",
    "name": "[dpdk-dev,v1,8/8] bus: remove redundant IOVA mode getter",
    "commit_ref": null,
    "pull_url": null,
    "state": "rejected",
    "archived": true,
    "hash": "96300d0a93f5a9b42663d9a73027cea5cc5527ed",
    "submitter": {
        "id": 269,
        "url": "http://patches.dpdk.org/api/people/269/?format=api",
        "name": "Gaëtan Rivet",
        "email": "gaetan.rivet@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/9d68b81c8073666dcf00ead1fa67516f456ee3bf.1507796085.git.gaetan.rivet@6wind.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/30211/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/30211/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 7066D1B260;\n\tThu, 12 Oct 2017 10:19:01 +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 383301B246\n\tfor <dev@dpdk.org>; Thu, 12 Oct 2017 10:18:57 +0200 (CEST)",
            "by mail-wm0-f41.google.com with SMTP id m72so22889923wmc.0\n\tfor <dev@dpdk.org>; Thu, 12 Oct 2017 01:18:57 -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\ti76sm39971757wmd.2.2017.10.12.01.18.55\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tThu, 12 Oct 2017 01:18:55 -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=ZGzRqZI0ueG5j8lccKCyIWstIf1dh4ot9Wdxx3spgRs=;\n\tb=kcDyqZuHxs6miWfJRjGKuG0ZocxttfCBIIC5YT2aYFLIbQhR2VLYmNK9IRe2dbSNHB\n\tXhfNxBvEE2t7lc8q4TvWs9YuU0j8+DnQOyYOKvCadzGvrEG+wF3BYcyHnHUMJiw3uck6\n\tssvanWWd7ttC7bqt+ZWi9FS+aaTyDrzLyJ+40IukGSO5+BE7+Hp6mFSYX20hOHVGkcf0\n\tgk2AkhJ70KPP//NFA4BpqdKsARSzaV2ewmdJHSHuVjDYiIXQxRDFWzsmkcShw9O6VBRC\n\tfqsXBLKQXcn5PEpq7UHPrkG2b2miPvx3uH/EL3kih7cB8q8cwaROsCFR3jlzuGWaaDnI\n\tcKRg==",
        "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=ZGzRqZI0ueG5j8lccKCyIWstIf1dh4ot9Wdxx3spgRs=;\n\tb=oQQW9RnPaCpG91Jtgue7agKvLEi8QpM03mXxLP87CiF3qtIfMzy1Gge9v4KtlnpNVg\n\tTUsvWJS1i5lAr4VJZG6CkS/HkQ04JIpjel7G2VlhSfQrx48lRe5ow9w22s0Nc7W4O357\n\tNyY9tmRkQKg2h4vE19IxB9po+5Bu/38Ytgf/+dTOD6yENuqFwL+cBvpDk57UmqPbOa7f\n\tDRmLqZco3OnTs9WXlTlnd6XPMS80rdosNWX4DyU+5fcYryJ4VCz3Pz3+3hEibu+vsW3j\n\tUI/tAjRELhgubOV/UsqU+hJbMFXmQqiQxB9WzbJwpVPpTnPp/nT86GmpQsFGvxVT7wBl\n\tnC5w==",
        "X-Gm-Message-State": "AMCzsaXsSr1a9Gt70oCNa4/5+Nxmb5EtLFN58w/SyzqJh1h7MjSccv1F\n\t9IsDVqumqZ/Ka5PX7wsJm1ySWaod",
        "X-Google-Smtp-Source": "AOwi7QCJHZP38kNSADtUiqP9XF4eWSJG3TItOiyvlOE5m7nr7ThvdPHzNy6/ujGT6gQWqN+w/4+jlw==",
        "X-Received": "by 10.28.16.85 with SMTP id 82mr1211377wmq.35.1507796336486;\n\tThu, 12 Oct 2017 01:18:56 -0700 (PDT)",
        "From": "Gaetan Rivet <gaetan.rivet@6wind.com>",
        "To": "dev@dpdk.org",
        "Cc": "Gaetan Rivet <gaetan.rivet@6wind.com>",
        "Date": "Thu, 12 Oct 2017 10:18:30 +0200",
        "Message-Id": "<9d68b81c8073666dcf00ead1fa67516f456ee3bf.1507796085.git.gaetan.rivet@6wind.com>",
        "X-Mailer": "git-send-email 2.1.4",
        "In-Reply-To": [
            "<cover.1507796085.git.gaetan.rivet@6wind.com>",
            "<cover.1507796085.git.gaetan.rivet@6wind.com>"
        ],
        "References": [
            "<cover.1507796085.git.gaetan.rivet@6wind.com>",
            "<cover.1507796085.git.gaetan.rivet@6wind.com>"
        ],
        "Subject": "[dpdk-dev] [PATCH v1 8/8] bus: remove redundant IOVA mode getter",
        "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": "This configuration element is now accessible through the bus control\nframework and can be removed from the generic bus structure.\n\nSigned-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>\n---\n lib/librte_eal/common/include/rte_bus.h | 33 +++++++++------------------------\n 1 file changed, 9 insertions(+), 24 deletions(-)",
    "diff": "diff --git a/lib/librte_eal/common/include/rte_bus.h b/lib/librte_eal/common/include/rte_bus.h\nindex bb02d9d..1cae96e 100644\n--- a/lib/librte_eal/common/include/rte_bus.h\n+++ b/lib/librte_eal/common/include/rte_bus.h\n@@ -227,19 +227,6 @@ typedef rte_bus_ctrl_t (*rte_bus_ctrl_get_t)(enum rte_bus_ctrl_op op,\n \t\t\t\t\t     enum rte_bus_ctrl_item item);\n \n /**\n- * Get common iommu class of the all the devices on the bus. The bus may\n- * check that those devices are attached to iommu driver.\n- * If no devices are attached to the bus. The bus may return with don't care\n- * (_DC) value.\n- * Otherwise, The bus will return appropriate _pa or _va iova mode.\n- *\n- * @return\n- *      enum rte_iova_mode value.\n- */\n-typedef enum rte_iova_mode (*rte_bus_get_iommu_class_t)(void);\n-\n-\n-/**\n  * A structure describing a generic bus.\n  */\n struct rte_bus {\n@@ -251,7 +238,6 @@ struct rte_bus {\n \trte_bus_plug_t plug;         /**< Probe single device for drivers */\n \trte_bus_unplug_t unplug;     /**< Remove single device from driver */\n \trte_bus_parse_t parse;       /**< Parse a device name */\n-\trte_bus_get_iommu_class_t get_iommu_class; /**< Get iommu class */\n \trte_bus_ctrl_get_t ctrl;     /**< Get control operators */\n };\n \n@@ -309,6 +295,15 @@ int rte_bus_probe_mode_set(const char *busname,\n \t\t\t   enum rte_bus_probe_mode mode);\n \n /**\n+ * Get the common iommu class of devices bound on to buses available in the\n+ * system. The default mode is PA.\n+ *\n+ * @return\n+ *     enum rte_iova_mode value.\n+ */\n+enum rte_iova_mode rte_bus_get_iommu_class(void);\n+\n+/**\n  * Dump information of all the buses registered with EAL.\n  *\n  * @param f\n@@ -368,16 +363,6 @@ struct rte_bus *rte_bus_find_by_device(const struct rte_device *dev);\n  */\n struct rte_bus *rte_bus_find_by_name(const char *busname);\n \n-\n-/**\n- * Get the common iommu class of devices bound on to buses available in the\n- * system. The default mode is PA.\n- *\n- * @return\n- *     enum rte_iova_mode value.\n- */\n-enum rte_iova_mode rte_bus_get_iommu_class(void);\n-\n /**\n  * Helper for Bus registration.\n  * The constructor has higher priority than PMD constructors.\n",
    "prefixes": [
        "dpdk-dev",
        "v1",
        "8/8"
    ]
}