get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 81698,
    "url": "http://patches.dpdk.org/api/patches/81698/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1603280261-20206-2-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": "<1603280261-20206-2-git-send-email-juraj.linkes@pantheon.tech>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1603280261-20206-2-git-send-email-juraj.linkes@pantheon.tech",
    "date": "2020-10-21T11:37:36",
    "name": "[RFC,v3,1/6] build: rename default Arm build to generic-armv8",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "6fe1fdfd5c3e354a7d26f4aa258808a1b42ee688",
    "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/1603280261-20206-2-git-send-email-juraj.linkes@pantheon.tech/mbox/",
    "series": [
        {
            "id": 13176,
            "url": "http://patches.dpdk.org/api/series/13176/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13176",
            "date": "2020-10-21T11:37:36",
            "name": "Arm build options rework",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/13176/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/81698/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/81698/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 320D2A04DF;\n\tWed, 21 Oct 2020 13:37:58 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 0AF16ACC2;\n\tWed, 21 Oct 2020 13:37:57 +0200 (CEST)",
            "from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20])\n by dpdk.org (Postfix) with ESMTP id C33C0ACAB\n for <dev@dpdk.org>; Wed, 21 Oct 2020 13:37:55 +0200 (CEST)",
            "from localhost (localhost [127.0.0.1])\n by lb.pantheon.sk (Postfix) with ESMTP id CE408B6B4C;\n Wed, 21 Oct 2020 13:37:52 +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 OwmgMxJmosUs; Wed, 21 Oct 2020 13:37:50 +0200 (CEST)",
            "from service-node1.lab.pantheon.local (unknown [46.229.239.141])\n by lb.pantheon.sk (Postfix) with ESMTP id 099FBB5259;\n Wed, 21 Oct 2020 13:37:49 +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": "Wed, 21 Oct 2020 13:37:36 +0200",
        "Message-Id": "<1603280261-20206-2-git-send-email-juraj.linkes@pantheon.tech>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1603280261-20206-1-git-send-email-juraj.linkes@pantheon.tech>",
        "References": "<1602600882-695-1-git-send-email-juraj.linkes@pantheon.tech>\n <1603280261-20206-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] [RFC PATCH v3 1/6] build: rename default Arm build to\n\tgeneric-armv8",
        "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-armv8'. Leave machine='default' for backwards\ncompatibility.\n\nSigned-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>\n---\n config/arm/meson.build | 31 ++++++++++++++++---------------\n config/meson.build     |  3 ---\n 2 files changed, 16 insertions(+), 18 deletions(-)",
    "diff": "diff --git a/config/arm/meson.build b/config/arm/meson.build\nindex b49203fa8..c88e34a2b 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 == 'default' or machine == 'generic-armv8')\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..a57c8ae9e 100644\n--- a/config/meson.build\n+++ b/config/meson.build\n@@ -80,9 +80,6 @@ if machine == 'default'\n \t\tmachine = 'corei7'\n \telif host_machine.cpu_family().startswith('arm')\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 \telif host_machine.cpu_family().startswith('ppc')\n \t\tmachine = 'power8'\n \tendif\n",
    "prefixes": [
        "RFC",
        "v3",
        "1/6"
    ]
}