get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 81940,
    "url": "https://patches.dpdk.org/api/patches/81940/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1603464488-25493-2-git-send-email-juraj.linkes@pantheon.tech/",
    "project": {
        "id": 1,
        "url": "https://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": "<1603464488-25493-2-git-send-email-juraj.linkes@pantheon.tech>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1603464488-25493-2-git-send-email-juraj.linkes@pantheon.tech",
    "date": "2020-10-23T14:48:03",
    "name": "[v4,1/6] build: alias default build as generic",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "caf6a710738e6d30a884b1fb30b50d526e3781f4",
    "submitter": {
        "id": 1626,
        "url": "https://patches.dpdk.org/api/people/1626/?format=api",
        "name": "Juraj Linkeš",
        "email": "juraj.linkes@pantheon.tech"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1603464488-25493-2-git-send-email-juraj.linkes@pantheon.tech/mbox/",
    "series": [
        {
            "id": 13267,
            "url": "https://patches.dpdk.org/api/series/13267/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=13267",
            "date": "2020-10-23T14:48:02",
            "name": "Arm build options rework",
            "version": 4,
            "mbox": "https://patches.dpdk.org/series/13267/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/81940/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/81940/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 837FBA04DD;\n\tFri, 23 Oct 2020 16:48:34 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 7A1EDA968;\n\tFri, 23 Oct 2020 16:48:21 +0200 (CEST)",
            "from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20])\n by dpdk.org (Postfix) with ESMTP id 076DC5AB3\n for <dev@dpdk.org>; Fri, 23 Oct 2020 16:48:14 +0200 (CEST)",
            "from localhost (localhost [127.0.0.1])\n by lb.pantheon.sk (Postfix) with ESMTP id 0CE88B6B56;\n Fri, 23 Oct 2020 16:48:11 +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 KlNAn7b1pN5X; Fri, 23 Oct 2020 16:48:09 +0200 (CEST)",
            "from service-node1.lab.pantheon.local (unknown [46.229.239.141])\n by lb.pantheon.sk (Postfix) with ESMTP id 2DD0BB6B41;\n Fri, 23 Oct 2020 16:48:09 +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, Ruifeng.Wang@arm.com,\n Honnappa.Nagarahalli@arm.com, Phil.Yang@arm.com, vcchunga@amazon.com,\n Dharmik.Thakkar@arm.com, jerinjacobk@gmail.com, hemant.agrawal@nxp.com",
        "Cc": "dev@dpdk.org, =?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>",
        "Date": "Fri, 23 Oct 2020 16:48:03 +0200",
        "Message-Id": "<1603464488-25493-2-git-send-email-juraj.linkes@pantheon.tech>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1603464488-25493-1-git-send-email-juraj.linkes@pantheon.tech>",
        "References": "<1603280261-20206-1-git-send-email-juraj.linkes@pantheon.tech>\n <1603464488-25493-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 v4 1/6] build: alias default build as generic",
        "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": "The current machine='default' build name is not descriptive. The actual\ndefault build is machine='native'. Add an alternative string which does\nthe same build and better describes what we're building:\nmachine='generic'. Leave machine='default' for backwards compatibility.\n\nSigned-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>\n---\n config/arm/meson.build | 31 ++++++++++++++++---------------\n config/meson.build     |  6 +++---\n 2 files changed, 19 insertions(+), 18 deletions(-)",
    "diff": "diff --git a/config/arm/meson.build b/config/arm/meson.build\nindex b49203fa8..491842cad 100644\n--- a/config/arm/meson.build\n+++ b/config/arm/meson.build\n@@ -1,12 +1,13 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2017 Intel Corporation.\n # Copyright(c) 2017 Cavium, Inc\n+# Copyright(c) 2020 PANTHEON.tech s.r.o.\n \n # for checking defines we need to use the correct compiler flags\n march_opt = '-march=@0@'.format(machine)\n \n arm_force_native_march = false\n-arm_force_default_march = (machine == 'default')\n+arm_force_generic_march = (machine == 'generic')\n \n flags_common_default = [\n \t# Accelarate rte_memcpy. Be sure to run unit test (memcpy_perf_autotest)\n@@ -87,7 +88,7 @@ flags_octeontx2_extra = [\n \t['RTE_EAL_IGB_UIO', false],\n \t['RTE_USE_C11_MEM_MODEL', true]]\n \n-machine_args_generic = [\n+machine_args_default = [\n \t['default', ['-march=armv8-a+crc', '-moutline-atomics']],\n \t['native', ['-march=native']],\n \t['0xd03', ['-mcpu=cortex-a53']],\n@@ -113,20 +114,20 @@ machine_args_emag = [\n \t['native', ['-march=native']]]\n \n ## Arm implementer ID (ARM DDI 0487C.a, Section G7.2.106, Page G7-5321)\n-impl_generic = ['Generic armv8', flags_generic, machine_args_generic]\n-impl_0x41 = ['Arm', flags_arm, machine_args_generic]\n-impl_0x42 = ['Broadcom', flags_generic, machine_args_generic]\n+impl_generic = ['Generic armv8', flags_generic, machine_args_default]\n+impl_0x41 = ['Arm', flags_arm, machine_args_default]\n+impl_0x42 = ['Broadcom', flags_generic, machine_args_default]\n impl_0x43 = ['Cavium', flags_cavium, machine_args_cavium]\n-impl_0x44 = ['DEC', flags_generic, machine_args_generic]\n-impl_0x49 = ['Infineon', flags_generic, machine_args_generic]\n-impl_0x4d = ['Motorola', flags_generic, machine_args_generic]\n-impl_0x4e = ['NVIDIA', flags_generic, machine_args_generic]\n+impl_0x44 = ['DEC', flags_generic, machine_args_default]\n+impl_0x49 = ['Infineon', flags_generic, machine_args_default]\n+impl_0x4d = ['Motorola', flags_generic, machine_args_default]\n+impl_0x4e = ['NVIDIA', flags_generic, machine_args_default]\n impl_0x50 = ['Ampere Computing', flags_emag, machine_args_emag]\n-impl_0x51 = ['Qualcomm', flags_generic, machine_args_generic]\n-impl_0x53 = ['Samsung', flags_generic, machine_args_generic]\n-impl_0x56 = ['Marvell ARMADA', flags_armada, machine_args_generic]\n-impl_0x69 = ['Intel', flags_generic, machine_args_generic]\n-impl_dpaa = ['NXP DPAA', flags_dpaa, machine_args_generic]\n+impl_0x51 = ['Qualcomm', flags_generic, machine_args_default]\n+impl_0x53 = ['Samsung', flags_generic, machine_args_default]\n+impl_0x56 = ['Marvell ARMADA', flags_armada, machine_args_default]\n+impl_0x69 = ['Intel', flags_generic, machine_args_default]\n+impl_dpaa = ['NXP DPAA', flags_dpaa, machine_args_default]\n \n dpdk_conf.set('RTE_ARCH_ARM', 1)\n dpdk_conf.set('RTE_FORCE_INTRINSICS', 1)\n@@ -145,7 +146,7 @@ else\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+\tif arm_force_generic_march and not meson.is_cross_build()\n \t\tmachine = impl_generic\n \t\timpl_pn = 'default'\n \telif not meson.is_cross_build()\ndiff --git a/config/meson.build b/config/meson.build\nindex 258b01d06..918ca2dfb 100644\n--- a/config/meson.build\n+++ b/config/meson.build\n@@ -68,13 +68,13 @@ else\n \tmachine = get_option('machine')\n endif\n \n-# machine type 'default' is special, it defaults to the per arch agreed common\n+# machine type 'generic' is special, it defaults to the per arch agreed common\n # minimal baseline needed for DPDK.\n # That might not be the most optimized, but the most portable version while\n # still being able to support the CPU features required for DPDK.\n # This can be bumped up by the DPDK project, but it can never be an\n # invariant like 'native'\n-if machine == 'default'\n+if machine == 'default' or machine == 'generic'\n \tif host_machine.cpu_family().startswith('x86')\n \t\t# matches the old pre-meson build systems default\n \t\tmachine = 'corei7'\n@@ -82,7 +82,7 @@ if machine == 'default'\n \t\tmachine = 'armv7-a'\n \telif host_machine.cpu_family().startswith('aarch')\n \t\t# arm64 manages defaults in config/arm/meson.build\n-\t\tmachine = 'default'\n+\t\tmachine = 'generic'\n \telif host_machine.cpu_family().startswith('ppc')\n \t\tmachine = 'power8'\n \tendif\n",
    "prefixes": [
        "v4",
        "1/6"
    ]
}