Show a patch.

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

{
    "id": 44052,
    "url": "http://patches.dpdk.org/api/patches/44052/",
    "web_url": "http://patches.dpdk.org/patch/44052/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<1535642492-21831-6-git-send-email-alejandro.lucero@netronome.com>",
    "date": "2018-08-30T15:21:32",
    "name": "[5/5] net/nfp: support IOVA VA mode",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "49070c00a5390f88aa1ae9f53406a293d6fc1fad",
    "submitter": {
        "id": 270,
        "url": "http://patches.dpdk.org/api/people/270/",
        "name": "Alejandro Lucero",
        "email": "alejandro.lucero@netronome.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/patch/44052/mbox/",
    "series": [
        {
            "id": 1117,
            "url": "http://patches.dpdk.org/api/series/1117/",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1117",
            "date": "2018-08-30T15:21:27",
            "name": "use IOVAs check based on DMA mask",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/1117/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/44052/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/44052/checks/",
    "tags": {},
    "headers": {
        "X-Mailman-Version": "2.1.15",
        "In-Reply-To": "<1535642492-21831-1-git-send-email-alejandro.lucero@netronome.com>",
        "Errors-To": "dev-bounces@dpdk.org",
        "X-Mailer": "git-send-email 1.9.1",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 510D85B2C;\n\tThu, 30 Aug 2018 17:22:39 +0200 (CEST)",
            "from netronome.com (host-79-78-33-110.static.as9105.net\n\t[79.78.33.110]) by dpdk.org (Postfix) with ESMTP id 9F6924CBD;\n\tThu, 30 Aug 2018 17:22:28 +0200 (CEST)",
            "from netronome.com (localhost [127.0.0.1])\n\tby netronome.com (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id\n\tw7UFLaww021927; Thu, 30 Aug 2018 16:21:36 +0100",
            "(from alucero@localhost)\n\tby netronome.com (8.14.4/8.14.4/Submit) id w7UFLaTk021926;\n\tThu, 30 Aug 2018 16:21:36 +0100"
        ],
        "References": "<1535642492-21831-1-git-send-email-alejandro.lucero@netronome.com>",
        "Delivered-To": "patchwork@dpdk.org",
        "X-BeenThere": "dev@dpdk.org",
        "Message-Id": "<1535642492-21831-6-git-send-email-alejandro.lucero@netronome.com>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "Precedence": "list",
        "From": "Alejandro Lucero <alejandro.lucero@netronome.com>",
        "X-Original-To": "patchwork@dpdk.org",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "To": "dev@dpdk.org",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Date": "Thu, 30 Aug 2018 16:21:32 +0100",
        "Cc": "stable@dpdk.org",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "Subject": "[dpdk-dev] [PATCH 5/5] net/nfp: support IOVA VA mode"
    },
    "content": "NFP can handle IOVA as VA. It requires to check those IOVAs\nbeing in the supported range what is done during initialization.\n\nSigned-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>\n---\n drivers/net/nfp/nfp_net.c | 6 ++++--\n 1 file changed, 4 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c\nindex aedca31..1a7d58c 100644\n--- a/drivers/net/nfp/nfp_net.c\n+++ b/drivers/net/nfp/nfp_net.c\n@@ -3273,14 +3273,16 @@ static int eth_nfp_pci_remove(struct rte_pci_device *pci_dev)\n \n static struct rte_pci_driver rte_nfp_net_pf_pmd = {\n \t.id_table = pci_id_nfp_pf_net_map,\n-\t.drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC,\n+\t.drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC |\n+\t\t     RTE_PCI_DRV_IOVA_AS_VA,\n \t.probe = nfp_pf_pci_probe,\n \t.remove = eth_nfp_pci_remove,\n };\n \n static struct rte_pci_driver rte_nfp_net_vf_pmd = {\n \t.id_table = pci_id_nfp_vf_net_map,\n-\t.drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC,\n+\t.drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC |\n+\t\t     RTE_PCI_DRV_IOVA_AS_VA,\n \t.probe = eth_nfp_pci_probe,\n \t.remove = eth_nfp_pci_remove,\n };\n",
    "prefixes": [
        "5/5"
    ]
}