get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 75938,
    "url": "http://patches.dpdk.org/api/patches/75938/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1598360684-8975-3-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": "<1598360684-8975-3-git-send-email-juraj.linkes@pantheon.tech>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1598360684-8975-3-git-send-email-juraj.linkes@pantheon.tech",
    "date": "2020-08-25T13:04:41",
    "name": "[v8,2/5] build: add aarch32 meson build flags",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "d2add0ac56650969db1a5db07f2d592d493378ff",
    "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/1598360684-8975-3-git-send-email-juraj.linkes@pantheon.tech/mbox/",
    "series": [
        {
            "id": 11781,
            "url": "http://patches.dpdk.org/api/series/11781/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11781",
            "date": "2020-08-25T13:04:40",
            "name": "aarch64 -> aarch32 cross compilation support",
            "version": 8,
            "mbox": "http://patches.dpdk.org/series/11781/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/75938/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/75938/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 80549A04B1;\n\tTue, 25 Aug 2020 15:05:11 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 4F4861BE88;\n\tTue, 25 Aug 2020 15:04:53 +0200 (CEST)",
            "from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20])\n by dpdk.org (Postfix) with ESMTP id E1DC7F72\n for <dev@dpdk.org>; Tue, 25 Aug 2020 15:04:48 +0200 (CEST)",
            "from localhost (localhost [127.0.0.1])\n by lb.pantheon.sk (Postfix) with ESMTP id 4188D970AE;\n Tue, 25 Aug 2020 15:04:48 +0200 (CEST)",
            "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 jme3ainOmGsk; Tue, 25 Aug 2020 15:04:47 +0200 (CEST)",
            "from service-node1.lab.pantheon.local (unknown [46.229.239.141])\n by lb.pantheon.sk (Postfix) with ESMTP id 71A94970AF;\n Tue, 25 Aug 2020 15:04:45 +0200 (CEST)"
        ],
        "X-Virus-Scanned": "amavisd-new at siecit.sk",
        "From": "=?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>",
        "To": "bruce.richardson@intel.com, aconole@redhat.com, maicolgabriel@hotmail.com",
        "Cc": "dev@dpdk.org,\n\tjuraj.linkes@pantheon.tech",
        "Date": "Tue, 25 Aug 2020 15:04:41 +0200",
        "Message-Id": "<1598360684-8975-3-git-send-email-juraj.linkes@pantheon.tech>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1598360684-8975-1-git-send-email-juraj.linkes@pantheon.tech>",
        "References": "<1597401092-13713-1-git-send-email-juraj.linkes@pantheon.tech>\n <1598360684-8975-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 v8 2/5] 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>\n---\n config/arm/meson.build | 20 ++++++++++++++++++--\n 1 file changed, 18 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/config/arm/meson.build b/config/arm/meson.build\nindex 8728051d5..b29f27097 100644\n--- a/config/arm/meson.build\n+++ b/config/arm/meson.build\n@@ -63,6 +63,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_n1sdp_extra = [\n \t['RTE_MACHINE', '\"n1sdp\"'],\n \t['RTE_MAX_NUMA_NODES', 1],\n@@ -90,6 +95,7 @@ flags_octeontx2_extra = [\n machine_args_generic = [\n \t['default', ['-march=armv8-a+crc']],\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@@ -129,15 +135,23 @@ impl_0x69 = ['Intel', flags_generic, machine_args_generic]\n impl_dpaa = ['NXP DPAA', flags_dpaa, machine_args_generic]\n \n dpdk_conf.set('RTE_FORCE_INTRINSICS', 1)\n-\n+update_flags = false\n if not dpdk_conf.get('RTE_ARCH_64')\n \tdpdk_conf.set('RTE_CACHE_LINE_SIZE', 64)\n \tdpdk_conf.set('RTE_ARCH_ARM', 1)\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@@ -172,7 +186,9 @@ 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 \t# Apply Common Defaults. These settings may be overwritten by machine\n \t# settings later.\n \tforeach flag: flags_common_default\n",
    "prefixes": [
        "v8",
        "2/5"
    ]
}