get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 113511,
    "url": "http://patches.dpdk.org/api/patches/113511/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220628135339.2882914-1-skori@marvell.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": "<20220628135339.2882914-1-skori@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220628135339.2882914-1-skori@marvell.com",
    "date": "2022-06-28T13:53:38",
    "name": "[1/2] doc: announce region based device mapping support",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "b099c2469bea33afd8e0c2dd9514155f809ce4ad",
    "submitter": {
        "id": 1318,
        "url": "http://patches.dpdk.org/api/people/1318/?format=api",
        "name": "Sunil Kumar Kori",
        "email": "skori@marvell.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220628135339.2882914-1-skori@marvell.com/mbox/",
    "series": [
        {
            "id": 23809,
            "url": "http://patches.dpdk.org/api/series/23809/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=23809",
            "date": "2022-06-28T13:53:39",
            "name": "[1/2] doc: announce region based device mapping support",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/23809/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/113511/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/113511/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 0105CA0545;\n\tTue, 28 Jun 2022 15:55:52 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id DA9C940691;\n\tTue, 28 Jun 2022 15:55:52 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id 0E4A7400D7\n for <dev@dpdk.org>; Tue, 28 Jun 2022 15:55:50 +0200 (CEST)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id\n 25SAHiWh010854;\n Tue, 28 Jun 2022 06:53:46 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3gx1vm40g0-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Tue, 28 Jun 2022 06:53:46 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Tue, 28 Jun 2022 06:53:44 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend\n Transport; Tue, 28 Jun 2022 06:53:44 -0700",
            "from localhost.localdomain (unknown [10.28.34.25])\n by maili.marvell.com (Postfix) with ESMTP id 7296A3F7093;\n Tue, 28 Jun 2022 06:53:43 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : mime-version : content-transfer-encoding :\n content-type; s=pfpt0220; bh=Zvnl12+ty6sCWndYstpV6ZYMtAgoJI5hD3wT1fNGi6k=;\n b=A1RaAKmspHRv0nXoj8wWedByhXzlvFuwNSENiXRJzaRXdE/2Uqo9qlhob6OsA+8l+3Mg\n v0edWmTqsamWNy44ONgwghg7Z2dzKJCXynqxC3edGPmh8EaslQoMkm3m+AN8ShDMEUGL\n 56mSufyXOczXOyHJ6phtE4kV2u+POq0q0oTdim6GrBM+BU+TiAJu1dv7Rzx5XhORsubl\n 7CCieKxirXLj/SBYJnfCafITyDCFi8PdpzoP696w+3At0LlZnF7w1UMAT2S68zAodoPw\n IrvFKsm+BjJ2jZzaoiCp0uwmvYPjF3Z58S5i95SMJBUiPYmzh+p6i44Ith9QFVzb7pdO 2Q==",
        "From": "<skori@marvell.com>",
        "To": "Ray Kinsella <mdr@ashroe.eu>",
        "CC": "<dev@dpdk.org>, Sunil Kumar Kori <skori@marvell.com>",
        "Subject": "[PATCH 1/2] doc: announce region based device mapping support",
        "Date": "Tue, 28 Jun 2022 19:23:38 +0530",
        "Message-ID": "<20220628135339.2882914-1-skori@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "IL8y0hHo2gZER3XWs9YbGtnagqt_QAV_",
        "X-Proofpoint-GUID": "IL8y0hHo2gZER3XWs9YbGtnagqt_QAV_",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1\n definitions=2022-06-28_07,2022-06-28_01,2022-06-22_01",
        "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"
    },
    "content": "From: Sunil Kumar Kori <skori@marvell.com>\n\nAdding region based device mapping support, which enables pci device\nto map only required memory region instead of mapping full BAR.\n\nSigned-off-by: Sunil Kumar Kori <skori@marvell.com>\n---\n doc/guides/rel_notes/deprecation.rst | 13 +++++++++++++\n 1 file changed, 13 insertions(+)",
    "diff": "diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst\nindex 4e5b23c53d..8800a3eb41 100644\n--- a/doc/guides/rel_notes/deprecation.rst\n+++ b/doc/guides/rel_notes/deprecation.rst\n@@ -125,3 +125,16 @@ Deprecation Notices\n   applications should be updated to use the ``dmadev`` library instead,\n   with the underlying HW-functionality being provided by the ``ioat`` or\n   ``idxd`` dma drivers\n+\n+* pci: Update ``rte_pci_device`` and ``rte_pci_driver`` to add region based\n+  memory mapping support. There could be a requirement to mmap specific memory\n+  region only. Using this mechanism, pci device can be mapped for\n+  a given BAR at a given offset of given size.\n+\n+  ``rte_pci_device`` will be added with following field\n+  ``regions[PCI_MAX_RESOURCE][PCI_MAX_REGION_PER_RESOURCE];``. This field will\n+  specify the regions which are mapped for a given BAR.\n+\n+  ``rte_pci_driver`` will be added with ``rte_pci_region_map *regions`` and\n+  ``valid_bars[PCI_MAX_RESOURCE]``. Using these fields, driver can propagate\n+  its region information which are required to be mmap.\n",
    "prefixes": [
        "1/2"
    ]
}