get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 86661,
    "url": "https://patches.dpdk.org/api/patches/86661/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210115073243.7025-4-ndabilpuram@marvell.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": "<20210115073243.7025-4-ndabilpuram@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210115073243.7025-4-ndabilpuram@marvell.com",
    "date": "2021-01-15T07:32:43",
    "name": "[v8,3/3] test: change external memory test to use system page sz",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "9c330213e7a08b876ce6aa74c2c845606924a4bf",
    "submitter": {
        "id": 1202,
        "url": "https://patches.dpdk.org/api/people/1202/?format=api",
        "name": "Nithin Dabilpuram",
        "email": "ndabilpuram@marvell.com"
    },
    "delegate": {
        "id": 24651,
        "url": "https://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210115073243.7025-4-ndabilpuram@marvell.com/mbox/",
    "series": [
        {
            "id": 14773,
            "url": "https://patches.dpdk.org/api/series/14773/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14773",
            "date": "2021-01-15T07:32:40",
            "name": "fix issue with partial DMA unmap",
            "version": 8,
            "mbox": "https://patches.dpdk.org/series/14773/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/86661/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/86661/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 66A2BA0A02;\n\tFri, 15 Jan 2021 08:33:21 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A259C140DEB;\n\tFri, 15 Jan 2021 08:33:02 +0100 (CET)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id A99C7140D74;\n Fri, 15 Jan 2021 08:33:01 +0100 (CET)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id\n 10F7WPO4018054; Thu, 14 Jan 2021 23:33:00 -0800",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com with ESMTP id 35ycvq1u4c-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Thu, 14 Jan 2021 23:33:00 -0800",
            "from SC-EXCH03.marvell.com (10.93.176.83) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Thu, 14 Jan 2021 23:32:58 -0800",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH03.marvell.com\n (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Thu, 14 Jan 2021 23:32:58 -0800",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend\n Transport; Thu, 14 Jan 2021 23:32:58 -0800",
            "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id E0E803F703F;\n Thu, 14 Jan 2021 23:32:55 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-type; s=pfpt0220; bh=QTFRzq0C9j0OkYYEgIq2RZsiPbfKzyhJh/hdLHQ1yXI=;\n b=UKjgNnEfEi9eiQ8TQRH7I+dSJnv5ACDztNhGzA2ADdkXx7d1KG/RNDb2sfTbxCRBvLUF\n 0cfbfxaqiIkXvtr0R0Ci5fSijBCsRejU0OfaCP0UOKJSE7qjS6KxyMVCZW27E6NUVm5w\n mhaRdcJeFI0tu0foX5d9xSL/Fm231sNcPbJOtLtlYYm+tEdTWRb0dHibwyy9c1b5Tc9u\n /Gm48ltstAhvT6JD8W8fjvBUWg+KJQAqAm/YkHI9edkIUXYVUVVQImNg8e88qg8BU8aB\n 1qnBM23uJ2tw8nr8MyStcSassyOUO+1rxhmlZbeXD6RekXTPwcyGhgMRyMO7dTOEut9h pA==",
        "From": "Nithin Dabilpuram <ndabilpuram@marvell.com>",
        "To": "<anatoly.burakov@intel.com>, David Christensen <drc@linux.vnet.ibm.com>,\n <david.marchand@redhat.com>",
        "CC": "<jerinj@marvell.com>, <dev@dpdk.org>, Nithin Dabilpuram\n <ndabilpuram@marvell.com>, <stable@dpdk.org>",
        "Date": "Fri, 15 Jan 2021 13:02:43 +0530",
        "Message-ID": "<20210115073243.7025-4-ndabilpuram@marvell.com>",
        "X-Mailer": "git-send-email 2.8.4",
        "In-Reply-To": "<20210115073243.7025-1-ndabilpuram@marvell.com>",
        "References": "<20201012081106.10610-1-ndabilpuram@marvell.com>\n <20210115073243.7025-1-ndabilpuram@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.343, 18.0.737\n definitions=2021-01-15_03:2021-01-15,\n 2021-01-15 signatures=0",
        "Subject": "[dpdk-dev] [PATCH v8 3/3] test: change external memory test to use\n system page sz",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Currently external memory test uses 4K page size.\nVFIO DMA mapping works only with system page granularity.\n\nEarlier it was working because all the contiguous mappings\nwere coalesced and mapped in one-go which ended up becoming\na lot bigger page. Now that VFIO DMA mappings both in IOVA as VA\nand IOVA as PA mode, are being done at memseg list granularity,\nwe need to use system page size.\n\nFixes: b270daa43b3d (\"test: support external memory\")\nCc: anatoly.burakov@intel.com\nCc: stable@dpdk.org\n\nSigned-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>\n---\n app/test/test_external_mem.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/app/test/test_external_mem.c b/app/test/test_external_mem.c\nindex 7eb81f6..5edf88b 100644\n--- a/app/test/test_external_mem.c\n+++ b/app/test/test_external_mem.c\n@@ -13,6 +13,7 @@\n #include <rte_common.h>\n #include <rte_debug.h>\n #include <rte_eal.h>\n+#include <rte_eal_paging.h>\n #include <rte_errno.h>\n #include <rte_malloc.h>\n #include <rte_ring.h>\n@@ -532,8 +533,8 @@ test_extmem_basic(void *addr, size_t len, size_t pgsz, rte_iova_t *iova,\n static int\n test_external_mem(void)\n {\n+\tsize_t pgsz = rte_mem_page_size();\n \tsize_t len = EXTERNAL_MEM_SZ;\n-\tsize_t pgsz = RTE_PGSIZE_4K;\n \trte_iova_t iova[len / pgsz];\n \tvoid *addr;\n \tint ret, n_pages;\n",
    "prefixes": [
        "v8",
        "3/3"
    ]
}