get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 75714,
    "url": "http://patches.dpdk.org/api/patches/75714/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200819105638.52010-2-huwei013@chinasoftinc.com/",
    "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": "<20200819105638.52010-2-huwei013@chinasoftinc.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200819105638.52010-2-huwei013@chinasoftinc.com",
    "date": "2020-08-19T10:56:37",
    "name": "[v6,1/2] eal/arm64: update CPU flags",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "9fb4f4d5113895472d9f93bda7975d754d43ddf8",
    "submitter": {
        "id": 1537,
        "url": "http://patches.dpdk.org/api/people/1537/?format=api",
        "name": "Wei Hu (Xavier)",
        "email": "huwei013@chinasoftinc.com"
    },
    "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/20200819105638.52010-2-huwei013@chinasoftinc.com/mbox/",
    "series": [
        {
            "id": 11709,
            "url": "http://patches.dpdk.org/api/series/11709/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11709",
            "date": "2020-08-19T10:56:36",
            "name": "update CPU flags for arm64 platform",
            "version": 6,
            "mbox": "http://patches.dpdk.org/series/11709/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/75714/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/75714/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 3BD2FA04AF;\n\tWed, 19 Aug 2020 12:57:05 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 6A08F1C031;\n\tWed, 19 Aug 2020 12:56:56 +0200 (CEST)",
            "from mail.chinasoftinc.com (unknown [114.113.233.8])\n by dpdk.org (Postfix) with ESMTP id 74B8F2C02\n for <dev@dpdk.org>; Wed, 19 Aug 2020 12:56:54 +0200 (CEST)",
            "from localhost.localdomain (65.49.108.226) by INCCAS001.ito.icss\n (10.168.0.60) with Microsoft SMTP Server id 14.3.487.0; Wed, 19 Aug 2020\n 18:56:53 +0800"
        ],
        "From": "\"Wei Hu (Xavier)\" <huwei013@chinasoftinc.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<nd@arm.com>, <Honnappa.Nagarahalli@arm.com>, <Ruifeng.Wang@arm.com>,\n <jerinjacobk@gmail.com>, <xavier.huwei@huawei.com>",
        "Date": "Wed, 19 Aug 2020 18:56:37 +0800",
        "Message-ID": "<20200819105638.52010-2-huwei013@chinasoftinc.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "In-Reply-To": "<20200819105638.52010-1-huwei013@chinasoftinc.com>",
        "References": "<20200817124703.58157-1-huwei013@chinasoftinc.com>\n <20200819105638.52010-1-huwei013@chinasoftinc.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[65.49.108.226]",
        "Subject": "[dpdk-dev] [PATCH v6 1/2] eal/arm64: update CPU 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": "From: \"Wei Hu (Xavier)\" <xavier.huwei@huawei.com>\n\nARM64 Linux kernel updated the CPU flags using the HWCAP scheme.\nThe related marco definition can be found in linux kernel:\n  arch/arm64/include/uapi/asm/hwcap.h\n\nThis patch incorporates those changes to the eal library.\n\nSigned-off-by: Chengwen Feng <fengchengwen@huawei.com>\nSigned-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>\nReviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>\n---\nv4 -> v5:\n\tNo change.\nv3 -> v4:\n\tUpdate commit log.\nv2 -> v3:\n\t1. Change commit log.\n\t2. Add HWCAP2_FLAGM2 and HWCAP2_FRINT to rte_cpu_feature_table[].\n\t3. Add the flags for newly added items into enum rte_cpu_flag_t.\nv1 -> v2:\n\tAdds more sve-related definition to rte_cpu_feature_table,\n\tsunch as SVE2, etc.\n---\n lib/librte_eal/arm/include/rte_cpuflags_64.h | 13 +++++++++++++\n lib/librte_eal/arm/rte_cpuflags.c            | 13 +++++++++++++\n 2 files changed, 26 insertions(+)",
    "diff": "diff --git a/lib/librte_eal/arm/include/rte_cpuflags_64.h b/lib/librte_eal/arm/include/rte_cpuflags_64.h\nindex 95cc01474..aa7a56d49 100644\n--- a/lib/librte_eal/arm/include/rte_cpuflags_64.h\n+++ b/lib/librte_eal/arm/include/rte_cpuflags_64.h\n@@ -22,6 +22,19 @@ enum rte_cpu_flag_t {\n \tRTE_CPUFLAG_SHA2,\n \tRTE_CPUFLAG_CRC32,\n \tRTE_CPUFLAG_ATOMICS,\n+\tRTE_CPUFLAG_SVE,\n+\tRTE_CPUFLAG_SVE2,\n+\tRTE_CPUFLAG_SVEAES,\n+\tRTE_CPUFLAG_SVEPMULL,\n+\tRTE_CPUFLAG_SVEBITPERM,\n+\tRTE_CPUFLAG_SVESHA3,\n+\tRTE_CPUFLAG_SVESM4,\n+\tRTE_CPUFLAG_FLAGM2,\n+\tRTE_CPUFLAG_FRINT,\n+\tRTE_CPUFLAG_SVEI8MM,\n+\tRTE_CPUFLAG_SVEF32MM,\n+\tRTE_CPUFLAG_SVEF64MM,\n+\tRTE_CPUFLAG_SVEBF16,\n \tRTE_CPUFLAG_AARCH64,\n \t/* The last item */\n \tRTE_CPUFLAG_NUMFLAGS,/**< This should always be the last! */\ndiff --git a/lib/librte_eal/arm/rte_cpuflags.c b/lib/librte_eal/arm/rte_cpuflags.c\nindex caf3dc83a..7b257b787 100644\n--- a/lib/librte_eal/arm/rte_cpuflags.c\n+++ b/lib/librte_eal/arm/rte_cpuflags.c\n@@ -95,6 +95,19 @@ const struct feature_entry rte_cpu_feature_table[] = {\n \tFEAT_DEF(SHA2,\t\tREG_HWCAP,    6)\n \tFEAT_DEF(CRC32,\t\tREG_HWCAP,    7)\n \tFEAT_DEF(ATOMICS,\tREG_HWCAP,    8)\n+\tFEAT_DEF(SVE,\t\tREG_HWCAP,    22)\n+\tFEAT_DEF(SVE2,\t\tREG_HWCAP2,   1)\n+\tFEAT_DEF(SVEAES,\tREG_HWCAP2,   2)\n+\tFEAT_DEF(SVEPMULL,\tREG_HWCAP2,   3)\n+\tFEAT_DEF(SVEBITPERM,\tREG_HWCAP2,   4)\n+\tFEAT_DEF(SVESHA3,\tREG_HWCAP2,   5)\n+\tFEAT_DEF(SVESM4,\tREG_HWCAP2,   6)\n+\tFEAT_DEF(FLAGM2,\tREG_HWCAP2,   7)\n+\tFEAT_DEF(FRINT,\t\tREG_HWCAP2,   8)\n+\tFEAT_DEF(SVEI8MM,\tREG_HWCAP2,   9)\n+\tFEAT_DEF(SVEF32MM,\tREG_HWCAP2,   10)\n+\tFEAT_DEF(SVEF64MM,\tREG_HWCAP2,   11)\n+\tFEAT_DEF(SVEBF16,\tREG_HWCAP2,   12)\n \tFEAT_DEF(AARCH64,\tREG_PLATFORM, 1)\n };\n #endif /* RTE_ARCH */\n",
    "prefixes": [
        "v6",
        "1/2"
    ]
}