get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 89398,
    "url": "http://patches.dpdk.org/api/patches/89398/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1615988163-17371-5-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": "<1615988163-17371-5-git-send-email-juraj.linkes@pantheon.tech>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1615988163-17371-5-git-send-email-juraj.linkes@pantheon.tech",
    "date": "2021-03-17T13:36:00",
    "name": "[v14,4/7] build: add aarch32 meson build flags",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a4a7a1489c3ba7d52360fbd181daff4673efeaee",
    "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/1615988163-17371-5-git-send-email-juraj.linkes@pantheon.tech/mbox/",
    "series": [
        {
            "id": 15740,
            "url": "http://patches.dpdk.org/api/series/15740/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=15740",
            "date": "2021-03-17T13:35:56",
            "name": "aarch64 -> aarch32 cross compilation support",
            "version": 14,
            "mbox": "http://patches.dpdk.org/series/15740/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/89398/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/89398/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 C6C3CA00C2;\n\tWed, 17 Mar 2021 14:36:40 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id EDE6B140F0B;\n\tWed, 17 Mar 2021 14:36:16 +0100 (CET)",
            "from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20])\n by mails.dpdk.org (Postfix) with ESMTP id 56D3A140EE1\n for <dev@dpdk.org>; Wed, 17 Mar 2021 14:36:12 +0100 (CET)",
            "from localhost (localhost [127.0.0.1])\n by lb.pantheon.sk (Postfix) with ESMTP id 4F037C4824;\n Wed, 17 Mar 2021 14:36:11 +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 9cO5vICGaOs9; Wed, 17 Mar 2021 14:36:10 +0100 (CET)",
            "from service-node1.lab.pantheon.local (unknown [46.229.239.141])\n by lb.pantheon.sk (Postfix) with ESMTP id 2BFEDC4816;\n Wed, 17 Mar 2021 14:36:07 +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, david.marchand@redhat.com,\n bruce.richardson@intel.com,\n aconole@redhat.com, maicolgabriel@hotmail.com",
        "Cc": "dev@dpdk.org, juraj.linkes@pantheon.tech, Ruifeng.Wang@arm.com,\n Honnappa.Nagarahalli@arm.com",
        "Date": "Wed, 17 Mar 2021 14:36:00 +0100",
        "Message-Id": "<1615988163-17371-5-git-send-email-juraj.linkes@pantheon.tech>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1615988163-17371-1-git-send-email-juraj.linkes@pantheon.tech>",
        "References": "<1615279005-30278-1-git-send-email-juraj.linkes@pantheon.tech>\n <1615988163-17371-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 v14 4/7] build: add aarch32 meson build flags",
        "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",
        "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 | 24 +++++++++++++++++++++---\n 1 file changed, 21 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/config/arm/meson.build b/config/arm/meson.build\nindex 00bc4610a3..0f14741ebe 100644\n--- a/config/arm/meson.build\n+++ b/config/arm/meson.build\n@@ -69,7 +69,14 @@ part_number_config_arm = {\n \t\t\t['RTE_ARM_FEATURE_ATOMICS', true],\n \t\t\t['RTE_MAX_LCORE', 64]\n \t\t]\n-\t}\n+\t},\n+\t'aarch32': {\n+\t\t'machine_args': ['-march=armv8-a',\n+\t\t\t\t '-mfpu=neon'],\n+\t\t'flags': [\n+\t\t\t['RTE_ARCH_ARM_NEON_MEMCPY', false],\n+\t\t\t['RTE_ARCH_STRICT_ALIGN', true]\n+\t\t]}\n }\n implementer_arm = {\n \t'description': 'Arm',\n@@ -199,14 +206,23 @@ implementers = {\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 \t# armv7 build\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-\tmachine_args += '-mfpu=neon'\n+\tif meson.is_cross_build()\n+\t\tupdate_flags = true\n+\t\timplementer_id = meson.get_cross_property('implementer_id')\n+\t\tpart_number = meson.get_cross_property('part_number')\n+\t\tflags_common = []\n+\telse\n+\t\t# the minimum architecture supported, armv7-a, needs the following,\n+\t\tmachine_args += '-mfpu=neon'\n+\tendif\n else\n \t# aarch64 build\n+\tupdate_flags = true\n \tif not meson.is_cross_build()\n \t\tif machine == 'default'\n \t\t\t# default build\n@@ -232,7 +248,9 @@ else\n \t\timplementer_id = meson.get_cross_property('implementer_id')\n \t\tpart_number = meson.get_cross_property('part_number')\n \tendif\n+endif\n \n+if update_flags\n \tif implementers.has_key(implementer_id)\n \t\timplementer_config = implementers[implementer_id]\n \telse\n",
    "prefixes": [
        "v14",
        "4/7"
    ]
}