get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 7316,
    "url": "https://patches.dpdk.org/api/patches/7316/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1443621905-7872-3-git-send-email-tomaszx.kulasek@intel.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": "<1443621905-7872-3-git-send-email-tomaszx.kulasek@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1443621905-7872-3-git-send-email-tomaszx.kulasek@intel.com",
    "date": "2015-09-30T14:04:58",
    "name": "[dpdk-dev,v5,2/9] null: fix segfault when null_pmd added to bonding",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "e9ca7959876b8a8640b6895d76f66307d8919ca7",
    "submitter": {
        "id": 155,
        "url": "https://patches.dpdk.org/api/people/155/?format=api",
        "name": "Tomasz Kulasek",
        "email": "tomaszx.kulasek@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1443621905-7872-3-git-send-email-tomaszx.kulasek@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/7316/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/7316/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 00D448DAA;\n\tWed, 30 Sep 2015 16:09:32 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id A8B658D9F\n\tfor <dev@dpdk.org>; Wed, 30 Sep 2015 16:09:31 +0200 (CEST)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga102.jf.intel.com with ESMTP; 30 Sep 2015 07:09:30 -0700",
            "from unknown (HELO Sent) ([10.217.248.94])\n\tby orsmga001.jf.intel.com with SMTP; 30 Sep 2015 07:09:28 -0700",
            "by Sent (sSMTP sendmail emulation); Wed, 30 Sep 2015 16:08:03 +0200"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.17,612,1437462000\"; d=\"scan'208\";a=\"780946596\"",
        "From": "Tomasz Kulasek <tomaszx.kulasek@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Wed, 30 Sep 2015 16:04:58 +0200",
        "Message-Id": "<1443621905-7872-3-git-send-email-tomaszx.kulasek@intel.com>",
        "X-Mailer": "git-send-email 2.1.4",
        "In-Reply-To": "<1443621905-7872-1-git-send-email-tomaszx.kulasek@intel.com>",
        "References": "<1436981189-3320-1-git-send-email-tomaszx.kulasek@intel.com>\n\t<1443621905-7872-1-git-send-email-tomaszx.kulasek@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v5 2/9] null: fix segfault when null_pmd added to\n\tbonding",
        "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": "This patch initializes eth_dev->link_intr_cbs queue used when null pmd is\nadded to the bonding.\n\nv5 changes:\n - removed unnecessary malloc for eth_driver (rte_null_pmd)\n\nSigned-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>\n---\n drivers/net/null/rte_eth_null.c |    2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/drivers/net/null/rte_eth_null.c b/drivers/net/null/rte_eth_null.c\nindex e244595..c748101 100644\n--- a/drivers/net/null/rte_eth_null.c\n+++ b/drivers/net/null/rte_eth_null.c\n@@ -432,6 +432,7 @@ eth_dev_null_create(const char *name,\n \tinternals->numa_node = numa_node;\n \n \tpci_dev->numa_node = numa_node;\n+\tpci_dev->driver = &rte_null_pmd.pci_drv;\n \n \tdata->dev_private = internals;\n \tdata->port_id = eth_dev->data->port_id;\n@@ -445,6 +446,7 @@ eth_dev_null_create(const char *name,\n \teth_dev->dev_ops = &ops;\n \teth_dev->pci_dev = pci_dev;\n \teth_dev->driver = &rte_null_pmd;\n+\tTAILQ_INIT(&eth_dev->link_intr_cbs);\n \n \t/* finally assign rx and tx ops */\n \tif (packet_copy) {\n",
    "prefixes": [
        "dpdk-dev",
        "v5",
        "2/9"
    ]
}