get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 72477,
    "url": "https://patches.dpdk.org/api/patches/72477/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200630213823.1583764-1-drc@linux.vnet.ibm.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": "<20200630213823.1583764-1-drc@linux.vnet.ibm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200630213823.1583764-1-drc@linux.vnet.ibm.com",
    "date": "2020-06-30T21:38:22",
    "name": "[v2,0/1] vfio: change spapr DMA window sizing operation",
    "commit_ref": null,
    "pull_url": null,
    "state": null,
    "archived": false,
    "hash": null,
    "submitter": {
        "id": 1256,
        "url": "https://patches.dpdk.org/api/people/1256/?format=api",
        "name": "David Christensen",
        "email": "drc@linux.vnet.ibm.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200630213823.1583764-1-drc@linux.vnet.ibm.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/72477/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/72477/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id ADD74A0350;\n\tTue, 30 Jun 2020 23:38:30 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 28C361BF75;\n\tTue, 30 Jun 2020 23:38:30 +0200 (CEST)",
            "from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com\n [148.163.156.1]) by dpdk.org (Postfix) with ESMTP id 3570E1BF68\n for <dev@dpdk.org>; Tue, 30 Jun 2020 23:38:29 +0200 (CEST)",
            "from pps.filterd (m0098394.ppops.net [127.0.0.1])\n by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id\n 05ULXKbi071419; Tue, 30 Jun 2020 17:38:28 -0400",
            "from ppma04dal.us.ibm.com (7a.29.35a9.ip4.static.sl-reverse.com\n [169.53.41.122])\n by mx0a-001b2d01.pphosted.com with ESMTP id 32083essdr-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n Tue, 30 Jun 2020 17:38:28 -0400",
            "from pps.filterd (ppma04dal.us.ibm.com [127.0.0.1])\n by ppma04dal.us.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 05ULZvVV012468;\n Tue, 30 Jun 2020 21:38:27 GMT",
            "from b03cxnp08028.gho.boulder.ibm.com\n (b03cxnp08028.gho.boulder.ibm.com [9.17.130.20])\n by ppma04dal.us.ibm.com with ESMTP id 31wwr91tsr-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n Tue, 30 Jun 2020 21:38:27 +0000",
            "from b03ledav006.gho.boulder.ibm.com\n (b03ledav006.gho.boulder.ibm.com [9.17.130.237])\n by b03cxnp08028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id\n 05ULcQYn25362798\n (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);\n Tue, 30 Jun 2020 21:38:26 GMT",
            "from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id 3A6C1C6055;\n Tue, 30 Jun 2020 21:38:26 +0000 (GMT)",
            "from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id E7B8AC6057;\n Tue, 30 Jun 2020 21:38:25 +0000 (GMT)",
            "from localhost.localdomain (unknown [9.114.224.51])\n by b03ledav006.gho.boulder.ibm.com (Postfix) with ESMTP;\n Tue, 30 Jun 2020 21:38:25 +0000 (GMT)"
        ],
        "From": "David Christensen <drc@linux.vnet.ibm.com>",
        "To": "Anatoly Burakov <anatoly.burakov@intel.com>",
        "Cc": "dev@dpdk.org, David Christensen <drc@linux.vnet.ibm.com>",
        "Date": "Tue, 30 Jun 2020 14:38:22 -0700",
        "Message-Id": "<20200630213823.1583764-1-drc@linux.vnet.ibm.com>",
        "X-Mailer": "git-send-email 2.18.2",
        "In-Reply-To": "<20200429232931.87233-1-drc@linux.vnet.ibm.com>",
        "References": "<20200429232931.87233-1-drc@linux.vnet.ibm.com>",
        "X-TM-AS-GCONF": "00",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687\n definitions=2020-06-30_06:2020-06-30,\n 2020-06-30 signatures=0",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n cotscore=-2147483648\n impostorscore=0 priorityscore=1501 spamscore=0 adultscore=0\n lowpriorityscore=0 clxscore=1015 mlxscore=0 malwarescore=0 phishscore=0\n mlxlogscore=955 suspectscore=0 bulkscore=0 classifier=spam adjust=0\n reason=mlx scancount=1 engine=8.12.0-2004280000\n definitions=main-2006300147",
        "Subject": "[dpdk-dev] [PATCH v2 0/1] vfio: change spapr DMA window sizing\n\toperation",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "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": "The SPAPR v2 IOMMU used on bare-metal PowerNV systems requires that a DMA\nwindow be defined before mapping/unmapping memory.  The current VFIO code\ndynamically resizes this DMA window every time a new memory request is\nmade, which requires that all existing memory be unmapped/remapped.\nWhile this strategy worked in DPDK 17.11 and earlier where memory was\nstatically allocated during startup, it is potentially dangerous in DPDK\n18.11 and later where memory can be allocated during runtime, temporarily\ninvalidating IOVA memory used by hardware.\n\nThis new code statically sizes the DMA window at startup, based on the\namount of memory installed in the system, avoiding the need to unmap\nmemory during runtime.\n\n---\nv2:\n- Drop patch to wrap ppc64 code with ifdef's\n- Add warning when external memory detected\n- Change VA memory size detection to scan memseg list when setting DMA window\n  for IOVA=VA\n- Add explicit error message when attempting to map outside the DMA window\n\nDavid Christensen (1):\n  vfio: modify spapr iommu support to use static window sizing\n\n lib/librte_eal/linux/eal_vfio.c | 412 ++++++++++++++------------------\n 1 file changed, 186 insertions(+), 226 deletions(-)\n\n--\n2.18.2",
    "diff": null,
    "prefixes": [
        "v2",
        "0/1"
    ]
}