get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 63022,
    "url": "http://patches.dpdk.org/api/patches/63022/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/9ac0f4b480cec8cbe8a9910a68f9d564641c2f41.1573740779.git.anatoly.burakov@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": "<9ac0f4b480cec8cbe8a9910a68f9d564641c2f41.1573740779.git.anatoly.burakov@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/9ac0f4b480cec8cbe8a9910a68f9d564641c2f41.1573740779.git.anatoly.burakov@intel.com",
    "date": "2019-11-14T14:13:06",
    "name": "mem: clarify documentation for rte_mem_virt2iova",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "2cb3bca226ccdcfec2cafaf289b309f406dd6e9a",
    "submitter": {
        "id": 4,
        "url": "http://patches.dpdk.org/api/people/4/?format=api",
        "name": "Anatoly Burakov",
        "email": "anatoly.burakov@intel.com"
    },
    "delegate": {
        "id": 24651,
        "url": "http://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/9ac0f4b480cec8cbe8a9910a68f9d564641c2f41.1573740779.git.anatoly.burakov@intel.com/mbox/",
    "series": [
        {
            "id": 7460,
            "url": "http://patches.dpdk.org/api/series/7460/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=7460",
            "date": "2019-11-14T14:13:06",
            "name": "mem: clarify documentation for rte_mem_virt2iova",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/7460/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/63022/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/63022/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 DE140A04C6;\n\tThu, 14 Nov 2019 15:13:10 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 20CE0A69;\n\tThu, 14 Nov 2019 15:13:10 +0100 (CET)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by dpdk.org (Postfix) with ESMTP id 94042A69\n for <dev@dpdk.org>; Thu, 14 Nov 2019 15:13:08 +0100 (CET)",
            "from fmsmga006.fm.intel.com ([10.253.24.20])\n by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n 14 Nov 2019 06:13:07 -0800",
            "from silpixa00399498.ir.intel.com (HELO\n silpixa00399498.ger.corp.intel.com) ([10.237.223.151])\n by fmsmga006.fm.intel.com with ESMTP; 14 Nov 2019 06:13:07 -0800"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.68,304,1569308400\"; d=\"scan'208\";a=\"406330362\"",
        "From": "Anatoly Burakov <anatoly.burakov@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Thu, 14 Nov 2019 14:13:06 +0000",
        "Message-Id": "\n <9ac0f4b480cec8cbe8a9910a68f9d564641c2f41.1573740779.git.anatoly.burakov@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "Subject": "[dpdk-dev] [PATCH] mem: clarify documentation for rte_mem_virt2iova",
        "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": "It may not be immediately clear that rte_mem_virt2iova does not actually\ncheck the internal memseg table, and will instead either return VA (in\nIOVA as VA mode), or will fall back to kernel page table walk (in IOVA\nas PA mode).\n\nAdd a note to API documentation indicating the above.\n\nSigned-off-by: Anatoly Burakov <anatoly.burakov@intel.com>\n---\n lib/librte_eal/common/include/rte_memory.h | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/lib/librte_eal/common/include/rte_memory.h b/lib/librte_eal/common/include/rte_memory.h\nindex bf81a2faa8..3d8d0bd697 100644\n--- a/lib/librte_eal/common/include/rte_memory.h\n+++ b/lib/librte_eal/common/include/rte_memory.h\n@@ -110,6 +110,11 @@ phys_addr_t rte_mem_virt2phy(const void *virt);\n /**\n  * Get IO virtual address of any mapped virtual address in the current process.\n  *\n+ * @note This function will not check internal page table. Instead, in IOVA as\n+ *       PA mode, it will fall back to getting real physical address (which may\n+ *       not match the expected IOVA, such as what was specified for external\n+ *       memory).\n+ *\n  * @param virt\n  *   The virtual address.\n  * @return\n",
    "prefixes": []
}