get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 85005,
    "url": "http://patches.dpdk.org/api/patches/85005/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1607675213-12061-4-git-send-email-juraj.linkes@pantheon.tech/",
    "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": "<1607675213-12061-4-git-send-email-juraj.linkes@pantheon.tech>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1607675213-12061-4-git-send-email-juraj.linkes@pantheon.tech",
    "date": "2020-12-11T08:26:50",
    "name": "[v12,3/6] build: add aarch32 meson build flags",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "d0baa8e8b5986af60b16d56939e7fce77ac3fdfe",
    "submitter": {
        "id": 1626,
        "url": "http://patches.dpdk.org/api/people/1626/?format=api",
        "name": "Juraj Linkeš",
        "email": "juraj.linkes@pantheon.tech"
    },
    "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/1607675213-12061-4-git-send-email-juraj.linkes@pantheon.tech/mbox/",
    "series": [
        {
            "id": 14253,
            "url": "http://patches.dpdk.org/api/series/14253/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=14253",
            "date": "2020-12-11T08:26:48",
            "name": "aarch64 -> aarch32 cross compilation support",
            "version": 12,
            "mbox": "http://patches.dpdk.org/series/14253/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/85005/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/85005/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 B2BD4A04DB;\n\tFri, 11 Dec 2020 09:28:03 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 4C744C9A4;\n\tFri, 11 Dec 2020 09:27:07 +0100 (CET)",
            "from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20])\n by dpdk.org (Postfix) with ESMTP id 1EFFBAC9C\n for <dev@dpdk.org>; Fri, 11 Dec 2020 09:27:01 +0100 (CET)",
            "from localhost (localhost [127.0.0.1])\n by lb.pantheon.sk (Postfix) with ESMTP id 90BF9BD2B8;\n Fri, 11 Dec 2020 09:26:59 +0100 (CET)",
            "from lb.pantheon.sk ([127.0.0.1])\n by localhost (lb.pantheon.sk [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id gGnjAalROwBG; Fri, 11 Dec 2020 09:26:58 +0100 (CET)",
            "from service-node1.lab.pantheon.local (unknown [46.229.239.141])\n by lb.pantheon.sk (Postfix) with ESMTP id 3EA2DBD2B9;\n Fri, 11 Dec 2020 09:26:56 +0100 (CET)"
        ],
        "X-Virus-Scanned": "amavisd-new at siecit.sk",
        "From": "=?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>",
        "To": "thomas@monjalon.net, bruce.richardson@intel.com, aconole@redhat.com,\n maicolgabriel@hotmail.com",
        "Cc": "dev@dpdk.org,\n\tjuraj.linkes@pantheon.tech",
        "Date": "Fri, 11 Dec 2020 09:26:50 +0100",
        "Message-Id": "<1607675213-12061-4-git-send-email-juraj.linkes@pantheon.tech>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1607675213-12061-1-git-send-email-juraj.linkes@pantheon.tech>",
        "References": "<1607518771-7564-1-git-send-email-juraj.linkes@pantheon.tech>\n <1607675213-12061-1-git-send-email-juraj.linkes@pantheon.tech>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v12 3/6] build: add aarch32 meson build flags",
        "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": "Add aarch32 extra build flags and aarch32 machine flags to generic\nmachine args.\nAlso modify how arm flags are updated in meson build - for 32-bit build,\nupdate only if cross-compiling.\n\nSigned-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>\nAcked-by: Ruifeng Wang <ruifeng.wang@arm.com>\n---\n config/arm/meson.build | 22 +++++++++++++++++++---\n 1 file changed, 19 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/config/arm/meson.build b/config/arm/meson.build\nindex 42b4e43c7..19a7ea194 100644\n--- a/config/arm/meson.build\n+++ b/config/arm/meson.build\n@@ -62,6 +62,11 @@ flags_armada = [\n \t['RTE_MAX_LCORE', 16]]\n \n flags_default_extra = []\n+flags_aarch32_extra = [\n+        ['RTE_ARCH_ARM_NEON_MEMCPY', false],\n+        ['RTE_ARCH_STRICT_ALIGN', true],\n+        ['RTE_EAL_NUMA_AWARE_HUGEPAGES', false],\n+        ['RTE_MAX_LCORE', 256]]\n flags_thunderx_extra = [\n \t['RTE_MACHINE', '\"thunderx\"'],\n \t['RTE_USE_C11_MEM_MODEL', false]]\n@@ -93,6 +98,7 @@ flags_n1generic_extra = [\n machine_args_generic = [\n \t['default', ['-march=armv8-a+crc', '-moutline-atomics']],\n \t['native', ['-march=native']],\n+\t['aarch32', ['-march=armv8-a', '-mfpu=neon'], flags_aarch32_extra],\n \t['0xd03', ['-mcpu=cortex-a53']],\n \t['0xd04', ['-mcpu=cortex-a35']],\n \t['0xd07', ['-mcpu=cortex-a57']],\n@@ -133,21 +139,28 @@ impl_dpaa = ['NXP DPAA', flags_dpaa, machine_args_generic]\n \n dpdk_conf.set('RTE_ARCH_ARM', 1)\n dpdk_conf.set('RTE_FORCE_INTRINSICS', 1)\n-\n+update_flags = false\n if dpdk_conf.get('RTE_ARCH_32')\n \tdpdk_conf.set('RTE_CACHE_LINE_SIZE', 64)\n \tdpdk_conf.set('RTE_ARCH_ARMv7', 1)\n \t# the minimum architecture supported, armv7-a, needs the following,\n \t# mk/machine/armv7a/rte.vars.mk sets it too\n-\tmachine_args += '-mfpu=neon'\n+\tif meson.is_cross_build()\n+\t\tupdate_flags = true\n+\t\timpl_id = meson.get_cross_property('implementor_id', 'aarch32')\n+\t\timpl_pn = meson.get_cross_property('implementor_pn', 'default')\n+\t\tmachine = get_variable('impl_' + impl_id)\n+\telse\n+\t\tmachine_args += '-mfpu=neon'\n+\tendif\n else\n+\tupdate_flags = true\n \tdpdk_conf.set('RTE_CACHE_LINE_SIZE', 128)\n \tdpdk_conf.set('RTE_ARCH_ARM64', 1)\n \n \tmachine = []\n \tcmd_generic = ['generic', '', '', 'default', '']\n \tcmd_output = cmd_generic # Set generic by default\n-\tmachine_args = [] # Clear previous machine args\n \tif arm_force_default_march and not meson.is_cross_build()\n \t\tmachine = impl_generic\n \t\timpl_pn = 'default'\n@@ -175,7 +188,10 @@ else\n \t\timpl_pn = meson.get_cross_property('implementor_pn', 'default')\n \t\tmachine = get_variable('impl_' + impl_id)\n \tendif\n+endif\n \n+if update_flags == true\n+\tmachine_args = [] # Clear previous machine args\n \t# Apply Common Defaults. These settings may be overwritten by machine\n \t# settings later.\n \tforeach flag: flags_common_default\n",
    "prefixes": [
        "v12",
        "3/6"
    ]
}