get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 24981,
    "url": "http://patches.dpdk.org/api/patches/24981/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/0db089a5094090564baebaef102e88e13589b0c4.1496313294.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": "<0db089a5094090564baebaef102e88e13589b0c4.1496313294.git.gaetan.rivet@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/0db089a5094090564baebaef102e88e13589b0c4.1496313294.git.gaetan.rivet@6wind.com",
    "date": "2017-06-01T10:44:33",
    "name": "[dpdk-dev,3/3] net/mlx5: net bus support",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "6248c0aedc3381599b69651a563120d73323873e",
    "submitter": {
        "id": 269,
        "url": "http://patches.dpdk.org/api/people/269/?format=api",
        "name": "Gaëtan Rivet",
        "email": "gaetan.rivet@6wind.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/0db089a5094090564baebaef102e88e13589b0c4.1496313294.git.gaetan.rivet@6wind.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/24981/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/24981/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 902BB7CE4;\n\tThu,  1 Jun 2017 12:44:51 +0200 (CEST)",
            "from mail-wm0-f48.google.com (mail-wm0-f48.google.com\n\t[74.125.82.48]) by dpdk.org (Postfix) with ESMTP id 13FCE7CC9\n\tfor <dev@dpdk.org>; Thu,  1 Jun 2017 12:44:49 +0200 (CEST)",
            "by mail-wm0-f48.google.com with SMTP id 123so3089976wmg.1\n\tfor <dev@dpdk.org>; Thu, 01 Jun 2017 03:44:49 -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\tp78sm10542314wmg.5.2017.06.01.03.44.47\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tThu, 01 Jun 2017 03:44:47 -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=R7v8A4p3i0ig5o9+vtcIHRLXHupE9B+bfMTkwzBf/rI=;\n\tb=PIo11PZZLYVzNJZDeE9IfnaFoWXt5EUQUjbUuZQIgLzO2vSymzM9am+JZpiaJfIyWB\n\tOAbR3HfDiMOGdTLWJZWK4GrSdgsH0UDrlRUBAmathu/hz91f2e1w563IMXVULHJwUILA\n\tOXaZl5WUcj0vKlrRlpoKzr3u/SgF6A9lprf2zVxXMf2HLSXv0GhpMh4ZyrAOBG9xw+yJ\n\twxKjBxTxfrknErDo16CrKBkE4t+gz2hnBt2hBEBk+ptoRUxnm1deXSDeSCzxMc+zbv2y\n\toL11WjwZIIt6bnvV3acLS01nOlIymbawIMRBFy+I4AbnmMGfZ6r2xAvSfgRJjDXvlefA\n\tFgDA==",
        "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=R7v8A4p3i0ig5o9+vtcIHRLXHupE9B+bfMTkwzBf/rI=;\n\tb=edJaRrsQHmG9xoFYEpXjCBgqsFLgp/26uA2n3nbO/QfM10wX1rYRSlxM8NZGETneC6\n\tCTB/hARwysirNOVRB6oZjhXy54YhrBvftwRsckic/qT6vVn7LGnCaLyVZAFbQd7fNl79\n\tXtG7qQsakkQYjy0tghpZ/LVlZko11uy6PT00NtAF76ivfKSkBkXCGAPZEOPap8e5pQj5\n\tLL9frbyM0+TSqiHII0ZZl5KUxqWlD0D7PvMojRE70DPADai36kDNirGqREh9HyQ6N9iJ\n\t+swzH+uyl4WBCBZb0FVXjXZth3FW33PoIEPoZn5537R49yb6qBtan58xVyTyaiqpdVzI\n\tMMHA==",
        "X-Gm-Message-State": "AODbwcBYbpx46TaCI5R6Mgh90lJQlNrrP8S584tlJadICHP7bVwuKSqU\n\t4yjRCK6ZQu4I+e8NJPU=",
        "X-Received": "by 10.223.132.39 with SMTP id 36mr746251wrf.179.1496313888563;\n\tThu, 01 Jun 2017 03:44:48 -0700 (PDT)",
        "From": "Gaetan Rivet <gaetan.rivet@6wind.com>",
        "To": "dev@dpdk.org",
        "Cc": "Gaetan Rivet <gaetan.rivet@6wind.com>",
        "Date": "Thu,  1 Jun 2017 12:44:33 +0200",
        "Message-Id": "<0db089a5094090564baebaef102e88e13589b0c4.1496313294.git.gaetan.rivet@6wind.com>",
        "X-Mailer": "git-send-email 2.1.4",
        "In-Reply-To": [
            "<cover.1496313294.git.gaetan.rivet@6wind.com>",
            "<cover.1496313294.git.gaetan.rivet@6wind.com>"
        ],
        "References": [
            "<cover.1496313294.git.gaetan.rivet@6wind.com>",
            "<cover.1496313294.git.gaetan.rivet@6wind.com>"
        ],
        "Subject": "[dpdk-dev] [PATCH 3/3] net/mlx5: net bus support",
        "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 drivers/net/mlx5/mlx5.c | 10 ++++++++++\n 1 file changed, 10 insertions(+)",
    "diff": "diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c\nindex fc99c0d..4e33703 100644\n--- a/drivers/net/mlx5/mlx5.c\n+++ b/drivers/net/mlx5/mlx5.c\n@@ -58,6 +58,7 @@\n #include <rte_ethdev.h>\n #include <rte_ethdev_pci.h>\n #include <rte_pci.h>\n+#include <rte_bus_net.h>\n #include <rte_common.h>\n #include <rte_kvargs.h>\n #ifdef PEDANTIC\n@@ -898,3 +899,12 @@ rte_mlx5_pmd_init(void)\n RTE_PMD_EXPORT_NAME(net_mlx5, __COUNTER__);\n RTE_PMD_REGISTER_PCI_TABLE(net_mlx5, mlx5_pci_id_map);\n RTE_PMD_REGISTER_KMOD_DEP(net_mlx5, \"* ib_uverbs & mlx5_core & mlx5_ib\");\n+\n+static struct rte_net_driver mlx5_net_driver = {\n+\tRTE_BUS_NET_PCI_HEADER\n+\t.driver = {\n+\t\t.name = MLX5_DRIVER_NAME,\n+\t},\n+\t.kmod = \"mlx5_core\",\n+};\n+RTE_PMD_REGISTER_NET(mlx5, mlx5_net_driver);\n",
    "prefixes": [
        "dpdk-dev",
        "3/3"
    ]
}