get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 8370,
    "url": "http://patches.dpdk.org/api/patches/8370/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1446207257-31455-1-git-send-email-david.hunt@intel.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": "<1446207257-31455-1-git-send-email-david.hunt@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1446207257-31455-1-git-send-email-david.hunt@intel.com",
    "date": "2015-10-30T12:14:17",
    "name": "[dpdk-dev,v2] igb_uio: fix igb_uio's access to pci_dev->msi_list for kernels >= 4.3",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "6c924894043764e613eb723823cd7168255a8ad7",
    "submitter": {
        "id": 342,
        "url": "http://patches.dpdk.org/api/people/342/?format=api",
        "name": "Hunt, David",
        "email": "david.hunt@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1446207257-31455-1-git-send-email-david.hunt@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/8370/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/8370/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 B20D08DED;\n\tFri, 30 Oct 2015 13:14:29 +0100 (CET)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id 196A65A69\n\tfor <dev@dpdk.org>; Fri, 30 Oct 2015 13:14:27 +0100 (CET)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby fmsmga103.fm.intel.com with ESMTP; 30 Oct 2015 05:14:27 -0700",
            "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby orsmga002.jf.intel.com with ESMTP; 30 Oct 2015 05:14:26 -0700",
            "from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com\n\t[10.237.217.46])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tt9UCEPQZ003867; Fri, 30 Oct 2015 12:14:25 GMT",
            "from sivswdev02.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev02.ir.intel.com with ESMTP id t9UCEPPf031496;\n\tFri, 30 Oct 2015 12:14:25 GMT",
            "(from dhunt5@localhost)\n\tby sivswdev02.ir.intel.com with  id t9UCEPjC031492;\n\tFri, 30 Oct 2015 12:14:25 GMT"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.20,218,1444719600\"; d=\"scan'208\";a=\"838800117\"",
        "From": "David Hunt <david.hunt@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Fri, 30 Oct 2015 12:14:17 +0000",
        "Message-Id": "<1446207257-31455-1-git-send-email-david.hunt@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "Subject": "[dpdk-dev] [PATCH v2] igb_uio: fix igb_uio's access to\n\tpci_dev->msi_list for kernels >= 4.3",
        "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": "Fix to take this change into account: https://lkml.org/lkml/2015/7/9/101\nHas been applied to Kernel 4.3.0-rc6\n\nLinux: 4a7cc831 (\"genirq/MSI: Move msi_list from struct pci_dev to\n                struct device\")\n\nSigned-off-by: David Hunt <david.hunt@intel.com>\n---\n lib/librte_eal/linuxapp/igb_uio/igb_uio.c | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c\nindex 3173e93..918861a 100644\n--- a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c\n+++ b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c\n@@ -248,8 +248,13 @@ igbuio_pci_irqcontrol(struct uio_info *info, s32 irq_state)\n \telse if (udev->mode == RTE_INTR_MODE_MSIX) {\n \t\tstruct msi_desc *desc;\n \n+#if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 3, 0))\n \t\tlist_for_each_entry(desc, &pdev->msi_list, list)\n \t\t\tigbuio_msix_mask_irq(desc, irq_state);\n+#else\n+\t\tlist_for_each_entry(desc, &pdev->dev.msi_list, list)\n+\t\t\tigbuio_msix_mask_irq(desc, irq_state);\n+#endif\n \t}\n \tpci_cfg_access_unlock(pdev);\n \n",
    "prefixes": [
        "dpdk-dev",
        "v2"
    ]
}