get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 105201,
    "url": "http://patches.dpdk.org/api/patches/105201/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20211217085430.820773-1-ruifeng.wang@arm.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": "<20211217085430.820773-1-ruifeng.wang@arm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20211217085430.820773-1-ruifeng.wang@arm.com",
    "date": "2021-12-17T08:54:30",
    "name": "build: add missing arch define for Arm",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "1e5129efde2a9b5a4505419124eefa24178ee6ad",
    "submitter": {
        "id": 1198,
        "url": "http://patches.dpdk.org/api/people/1198/?format=api",
        "name": "Ruifeng Wang",
        "email": "ruifeng.wang@arm.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/20211217085430.820773-1-ruifeng.wang@arm.com/mbox/",
    "series": [
        {
            "id": 20964,
            "url": "http://patches.dpdk.org/api/series/20964/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=20964",
            "date": "2021-12-17T08:54:30",
            "name": "build: add missing arch define for Arm",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/20964/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/105201/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/105201/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 C7EDAA0352;\n\tFri, 17 Dec 2021 09:54:59 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 47F1E4013F;\n\tFri, 17 Dec 2021 09:54:59 +0100 (CET)",
            "from foss.arm.com (foss.arm.com [217.140.110.172])\n by mails.dpdk.org (Postfix) with ESMTP id 6621440040;\n Fri, 17 Dec 2021 09:54:58 +0100 (CET)",
            "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])\n by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8C3E91435;\n Fri, 17 Dec 2021 00:54:57 -0800 (PST)",
            "from net-arm-n1amp-02.shanghai.arm.com\n (net-arm-n1amp-02.shanghai.arm.com [10.169.210.110])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id AC8D53F774;\n Fri, 17 Dec 2021 00:54:54 -0800 (PST)"
        ],
        "From": "Ruifeng Wang <ruifeng.wang@arm.com>",
        "To": "dev@dpdk.org",
        "Cc": "viktorin@rehivetech.com, bruce.richardson@intel.com,\n stephen@networkplumber.org, juraj.linkes@pantheon.tech,\n honnappa.nagarahalli@arm.com, nd@arm.com, stable@dpdk.org,\n Ruifeng Wang <ruifeng.wang@arm.com>",
        "Subject": "[PATCH] build: add missing arch define for Arm",
        "Date": "Fri, 17 Dec 2021 16:54:30 +0800",
        "Message-Id": "<20211217085430.820773-1-ruifeng.wang@arm.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "As per design document, RTE_ARCH is the name of the architecture.\nHowever, the definition was missing on Arm with meson build.\nIt impacts applications that refers to this string.\n\nAdded for Arm builds.\n\nFixes: b1d48c41189a (\"build: support ARM with meson\")\nCc: stable@dpdk.org\n\nSigned-off-by: Ruifeng Wang <ruifeng.wang@arm.com>\n---\n config/arm/meson.build | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/config/arm/meson.build b/config/arm/meson.build\nindex 213324d262..3e1d7836df 100644\n--- a/config/arm/meson.build\n+++ b/config/arm/meson.build\n@@ -49,6 +49,7 @@ implementer_generic = {\n                 ['RTE_ARCH_ARM_NEON_MEMCPY', false],\n                 ['RTE_ARCH_STRICT_ALIGN', true],\n                 ['RTE_ARCH_ARMv8_AARCH32', true],\n+                ['RTE_ARCH', 'arm64_aarch32'],\n                 ['RTE_CACHE_LINE_SIZE', 64]\n             ]\n         }\n@@ -432,11 +433,13 @@ if dpdk_conf.get('RTE_ARCH_32')\n     else\n         # armv7 build\n         dpdk_conf.set('RTE_ARCH_ARMv7', true)\n+        dpdk_conf.set('RTE_ARCH', 'armv7')\n         # the minimum architecture supported, armv7-a, needs the following,\n         machine_args += '-mfpu=neon'\n     endif\n else\n     # armv8 build\n+    dpdk_conf.set('RTE_ARCH', 'arm64')\n     update_flags = true\n     soc_config = {}\n     if not meson.is_cross_build()\n",
    "prefixes": []
}