get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 67049,
    "url": "https://patches.dpdk.org/api/patches/67049/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200324114921.7184-5-kevin.laatz@intel.com/",
    "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": "<20200324114921.7184-5-kevin.laatz@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200324114921.7184-5-kevin.laatz@intel.com",
    "date": "2020-03-24T11:49:08",
    "name": "[04/17] eal/cpuflags: add avx512 byte and word",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "973bc3dab01036c05e2b4c888a6eaab70270847e",
    "submitter": {
        "id": 921,
        "url": "https://patches.dpdk.org/api/people/921/?format=api",
        "name": "Kevin Laatz",
        "email": "kevin.laatz@intel.com"
    },
    "delegate": {
        "id": 24651,
        "url": "https://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200324114921.7184-5-kevin.laatz@intel.com/mbox/",
    "series": [
        {
            "id": 9016,
            "url": "https://patches.dpdk.org/api/series/9016/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=9016",
            "date": "2020-03-24T11:49:04",
            "name": "Add CPU flags",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/9016/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/67049/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/67049/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 559D9A057B;\n\tTue, 24 Mar 2020 12:50:06 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id CC5C01C120;\n\tTue, 24 Mar 2020 12:49:34 +0100 (CET)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by dpdk.org (Postfix) with ESMTP id 29DD91C10B\n for <dev@dpdk.org>; Tue, 24 Mar 2020 12:49:30 +0100 (CET)",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 24 Mar 2020 04:49:30 -0700",
            "from silpixa00399838.ir.intel.com (HELO\n silpixa00399838.ger.corp.intel.com) ([10.237.222.98])\n by fmsmga004.fm.intel.com with ESMTP; 24 Mar 2020 04:49:29 -0700"
        ],
        "IronPort-SDR": [
            "\n 5Sl9Yt080OFDzhEdx98k4mBThVfKvocwlx5660+hmBatR6Qk7C97nhbpy0CZzhzc4ZxoCoZ5lH\n V0S+65DSGMvw==",
            "\n zb/LoArYNcp5G3E2PJXR6hW5zXzKylaR5LOv8vYt7zE1BZG24JxzdKTgog7w6jWB/mofiCXCND\n hI7Uq7BA9f6A=="
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.72,300,1580803200\"; d=\"scan'208\";a=\"270356308\"",
        "From": "Kevin Laatz <kevin.laatz@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "bruce.richardson@intel.com, harry.van.haaren@intel.com,\n Kevin Laatz <kevin.laatz@intel.com>",
        "Date": "Tue, 24 Mar 2020 11:49:08 +0000",
        "Message-Id": "<20200324114921.7184-5-kevin.laatz@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200324114921.7184-1-kevin.laatz@intel.com>",
        "References": "<20200324114921.7184-1-kevin.laatz@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 04/17] eal/cpuflags: add avx512 byte and word",
        "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 the CPU flag for AVX-512 byte and word instructions.\n\nSigned-off-by: Kevin Laatz <kevin.laatz@intel.com>\n---\n lib/librte_eal/common/arch/x86/rte_cpuflags.c         | 1 +\n lib/librte_eal/common/include/arch/x86/rte_cpuflags.h | 1 +\n 2 files changed, 2 insertions(+)",
    "diff": "diff --git a/lib/librte_eal/common/arch/x86/rte_cpuflags.c b/lib/librte_eal/common/arch/x86/rte_cpuflags.c\nindex 928b3513e..c0bb1bd5c 100644\n--- a/lib/librte_eal/common/arch/x86/rte_cpuflags.c\n+++ b/lib/librte_eal/common/arch/x86/rte_cpuflags.c\n@@ -124,6 +124,7 @@ const struct feature_entry rte_cpu_feature_table[] = {\n \tFEAT_DEF(AVX512DQ, 0x00000007, 0, RTE_REG_EBX, 17)\n \tFEAT_DEF(AVX512IFMA, 0x00000007, 0, RTE_REG_EBX, 21)\n \tFEAT_DEF(AVX512CD, 0x00000007, 0, RTE_REG_EBX, 28)\n+\tFEAT_DEF(AVX512BW, 0x00000007, 0, RTE_REG_EBX, 30)\n };\n \n int\ndiff --git a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h\nindex 248a198a6..97eeeb247 100644\n--- a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h\n+++ b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h\n@@ -116,6 +116,7 @@ enum rte_cpu_flag_t {\n \tRTE_CPUFLAG_AVX512DQ,               /**< AVX512 Doubleword and Quadword */\n \tRTE_CPUFLAG_AVX512IFMA,             /**< AVX512 Integer Fused Multiply-Add */\n \tRTE_CPUFLAG_AVX512CD,               /**< AVX512 Conflict Detection*/\n+\tRTE_CPUFLAG_AVX512BW,               /**< AVX512 Byte and Word */\n \n \t/* The last item */\n \tRTE_CPUFLAG_NUMFLAGS,               /**< This should always be the last! */\n",
    "prefixes": [
        "04/17"
    ]
}