get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 106007,
    "url": "http://patches.dpdk.org/api/patches/106007/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220117112228.32572-1-syalavarthi@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": "<20220117112228.32572-1-syalavarthi@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220117112228.32572-1-syalavarthi@marvell.com",
    "date": "2022-01-17T11:22:27",
    "name": "[1/1] eal: add internal function to get base address",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "0653821fb3b7542131874447e5412d05b85e63ae",
    "submitter": {
        "id": 2480,
        "url": "http://patches.dpdk.org/api/people/2480/?format=api",
        "name": "Srikanth Yalavarthi",
        "email": "syalavarthi@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/20220117112228.32572-1-syalavarthi@marvell.com/mbox/",
    "series": [
        {
            "id": 21225,
            "url": "http://patches.dpdk.org/api/series/21225/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=21225",
            "date": "2022-01-17T11:22:27",
            "name": "[1/1] eal: add internal function to get base address",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/21225/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/106007/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/106007/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 E81A0A00C3;\n\tTue, 18 Jan 2022 09:48:38 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6EED4426EE;\n\tTue, 18 Jan 2022 09:48:38 +0100 (CET)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 053B140141\n for <dev@dpdk.org>; Mon, 17 Jan 2022 12:22:47 +0100 (CET)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id\n 20HA5IJc031804;\n Mon, 17 Jan 2022 03:22:44 -0800",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3dn6d306q6-5\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Mon, 17 Jan 2022 03:22:43 -0800",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Mon, 17 Jan 2022 03:22:31 -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; Mon, 17 Jan 2022 03:22:31 -0800",
            "from ml-host-33.caveonetworks.com (unknown [10.110.143.233])\n by maili.marvell.com (Postfix) with ESMTP id B494C3F7058;\n Mon, 17 Jan 2022 03:22:31 -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 : mime-version : content-type; s=pfpt0220;\n bh=aHwPEyhV5F/S2IAl1qj+Icjt0YlFGfPfKreBz2UBbhk=;\n b=UnJPK01qiXTjyadBsF+6lyUsYeqBk+SkSEQwIwlQpWN7YbionV1TDdzZMV7yktbp5Mwi\n zzzyeovuryQuzhGRMQFmxUIZD4TcVO/MIE4FHwLY9vqna421mcgYXhZ1Bsvra54UIeDl\n bVgZOw1mKA7TDAS6XSV3v0rFjaIWaAEZ0qGcST07ftgD8FkEtFkRoDp6rImw5Aeh9vLW\n agosnsTW4XEI7VR17MgzpfG2428P10zol5+ZEaFOe2zyftAPN7OWZJyzkKZGOCAXzWLX\n R4ri7Il3fGqa+0TBq40+C/KO2o/YcPJ6t393juathqBhR0TJx7kJtJH+fbwbL/TcsyW6 Vw==",
        "From": "Srikanth Yalavarthi <syalavarthi@marvell.com>",
        "To": "Ray Kinsella <mdr@ashroe.eu>",
        "CC": "<dev@dpdk.org>, <jerinj@marvell.com>, <sshankarnara@marvell.com>,\n \"Srikanth Yalavarthi\" <syalavarthi@marvell.com>",
        "Subject": "[PATCH 1/1] eal: add internal function to get base address",
        "Date": "Mon, 17 Jan 2022 03:22:27 -0800",
        "Message-ID": "<20220117112228.32572-1-syalavarthi@marvell.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "7XcXMDRvmF3iZIUcHA0pgH2GU74G-tM_",
        "X-Proofpoint-ORIG-GUID": "7XcXMDRvmF3iZIUcHA0pgH2GU74G-tM_",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513\n definitions=2022-01-17_04,2022-01-14_01,2021-12-02_01",
        "X-Mailman-Approved-At": "Tue, 18 Jan 2022 09:48:37 +0100",
        "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": "Added an internal helper to get OS-specific EAL mappping base addreess\n\nThis helper can be used by the drivers to map host address range with\noffload devices and would be need for device specific operations like\nfirmware load\n\nChange-Id: Ief572468c291c1721699ba7af2bd4fa8054644a0\nSigned-off-by: Srikanth Yalavarthi <syalavarthi@marvell.com>\n---\n lib/eal/common/eal_common_config.c | 7 +++++++\n lib/eal/include/rte_eal.h          | 9 +++++++++\n lib/eal/version.map                | 1 +\n 3 files changed, 17 insertions(+)",
    "diff": "diff --git a/lib/eal/common/eal_common_config.c b/lib/eal/common/eal_common_config.c\nindex 1c4c4dd585..cec4991d96 100644\n--- a/lib/eal/common/eal_common_config.c\n+++ b/lib/eal/common/eal_common_config.c\n@@ -87,3 +87,10 @@ rte_eal_has_pci(void)\n {\n \treturn !internal_config.no_pci;\n }\n+\n+/* Get the EAL base address */\n+uint64_t\n+rte_eal_get_baseaddr(void)\n+{\n+\treturn eal_get_baseaddr();\n+}\ndiff --git a/lib/eal/include/rte_eal.h b/lib/eal/include/rte_eal.h\nindex 5a34a6acd9..29298c3c83 100644\n--- a/lib/eal/include/rte_eal.h\n+++ b/lib/eal/include/rte_eal.h\n@@ -475,6 +475,15 @@ rte_eal_mbuf_user_pool_ops(void);\n const char *\n rte_eal_get_runtime_dir(void);\n \n+/**\n+ * Get the OS-specific EAL base address.\n+ *\n+ * @return\n+ *    The base address.\n+ */\n+__rte_internal\n+uint64_t rte_eal_get_baseaddr(void);\n+\n #ifdef __cplusplus\n }\n #endif\ndiff --git a/lib/eal/version.map b/lib/eal/version.map\nindex ab28c22791..b53eeb30d7 100644\n--- a/lib/eal/version.map\n+++ b/lib/eal/version.map\n@@ -425,6 +425,7 @@ EXPERIMENTAL {\n INTERNAL {\n \tglobal:\n \n+\trte_eal_get_baseaddr;\n \trte_firmware_read;\n \trte_intr_allow_others;\n \trte_intr_cap_multiple;\n",
    "prefixes": [
        "1/1"
    ]
}