get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 123490,
    "url": "https://patches.dpdk.org/api/patches/123490/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20230209022749.2468940-1-wenjun1.wu@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": "<20230209022749.2468940-1-wenjun1.wu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230209022749.2468940-1-wenjun1.wu@intel.com",
    "date": "2023-02-09T02:27:49",
    "name": "[v1] common/idpf: fix compilation for AVX512DQ",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "8367a2331237bde8e65be74eae6fc732dfd04889",
    "submitter": {
        "id": 2083,
        "url": "https://patches.dpdk.org/api/people/2083/?format=api",
        "name": "Wenjun Wu",
        "email": "wenjun1.wu@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "https://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20230209022749.2468940-1-wenjun1.wu@intel.com/mbox/",
    "series": [
        {
            "id": 26901,
            "url": "https://patches.dpdk.org/api/series/26901/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=26901",
            "date": "2023-02-09T02:27:49",
            "name": "[v1] common/idpf: fix compilation for AVX512DQ",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/26901/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/123490/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/123490/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 D027F41C45;\n\tThu,  9 Feb 2023 03:19:41 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B7D1F40EDC;\n\tThu,  9 Feb 2023 03:19:41 +0100 (CET)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id DF7404067B\n for <dev@dpdk.org>; Thu,  9 Feb 2023 03:19:39 +0100 (CET)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Feb 2023 18:19:39 -0800",
            "from dpdk-wuwenjun-icelake-ii.sh.intel.com ([10.67.110.153])\n by orsmga005.jf.intel.com with ESMTP; 08 Feb 2023 18:19:37 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1675909180; x=1707445180;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=HwhqR4ul4ksU+iALH5eYbEXI9bLG1NhCweW1+3OseTE=;\n b=G6qxgqt36iUC2+oXWs1/OgBU/J9JVNDRtmABxZlsc16UleUJl9JmGaB5\n Yyjy88yPntFTXRwEAMwn37XtOTVPjWU86F/3my0SagivugRVS9gCbrsAJ\n 0DBoKBRCPByNUeVq3cVE/1G7Qyaw2IPShu4DOa5o6CIkOxehe7uQsYT+e\n 5AI0rxwE8XPh9xut4a0YpILG4hJF+qKjWuHxpsqRgitLMmmf0m7Nr7p2/\n e4h57P82oSFTBh7xDhceuop9JJtgKAy/kyRyAva0TifNqZkhBQf5Zr+N6\n Q/206bYXzn6n3NY0xoq0GpQ6TRJ76bewxunYawy7jMM1vp6Predw/CdTX A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10615\"; a=\"313624219\"",
            "E=Sophos;i=\"5.97,281,1669104000\"; d=\"scan'208\";a=\"313624219\"",
            "E=McAfee;i=\"6500,9779,10615\"; a=\"841420730\"",
            "E=Sophos;i=\"5.97,281,1669104000\"; d=\"scan'208\";a=\"841420730\""
        ],
        "X-ExtLoop1": "1",
        "From": "Wenjun Wu <wenjun1.wu@intel.com>",
        "To": "dev@dpdk.org,\n\tjingjing.wu@intel.com,\n\tbeilei.xing@intel.com",
        "Cc": "Wenjun Wu <wenjun1.wu@intel.com>",
        "Subject": "[PATCH v1] common/idpf: fix compilation for AVX512DQ",
        "Date": "Thu,  9 Feb 2023 02:27:49 +0000",
        "Message-Id": "<20230209022749.2468940-1-wenjun1.wu@intel.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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"
    },
    "content": "Some intrinsics used in idpf split queue AVX512 datapath ask for CPUID\nflag AVX512DQ and compilation flag -mavx512dq.\n\nFixes: 43e916179fa2 (\"common/idpf: add AVX512 data path for split queue model\")\n\nSigned-off-by: Wenjun Wu <wenjun1.wu@intel.com>\n---\n drivers/common/idpf/meson.build | 8 +++++---\n drivers/net/idpf/meson.build    | 6 ++++--\n 2 files changed, 9 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/drivers/common/idpf/meson.build b/drivers/common/idpf/meson.build\nindex 13df0d9ac3..0272548040 100644\n--- a/drivers/common/idpf/meson.build\n+++ b/drivers/common/idpf/meson.build\n@@ -12,18 +12,20 @@ sources = files(\n if arch_subdir == 'x86'\n     idpf_avx512_cpu_support = (\n         cc.get_define('__AVX512F__', args: machine_args) != '' and\n-        cc.get_define('__AVX512BW__', args: machine_args) != ''\n+        cc.get_define('__AVX512BW__', args: machine_args) != '' and\n+        cc.get_define('__AVX512DQ__', args: machine_args)\n     )\n \n     idpf_avx512_cc_support = (\n         not machine_args.contains('-mno-avx512f') and\n         cc.has_argument('-mavx512f') and\n-        cc.has_argument('-mavx512bw')\n+        cc.has_argument('-mavx512bw') and\n+        cc.has_argument('-mavx512dq')\n     )\n \n     if idpf_avx512_cpu_support == true or idpf_avx512_cc_support == true\n         cflags += ['-DCC_AVX512_SUPPORT']\n-        avx512_args = [cflags, '-mavx512f', '-mavx512bw']\n+        avx512_args = [cflags, '-mavx512f', '-mavx512bw', '-mavx512dq']\n         if cc.has_argument('-march=skylake-avx512')\n             avx512_args += '-march=skylake-avx512'\n         endif\ndiff --git a/drivers/net/idpf/meson.build b/drivers/net/idpf/meson.build\nindex 98f8ceb77b..f8fcb21a3c 100644\n--- a/drivers/net/idpf/meson.build\n+++ b/drivers/net/idpf/meson.build\n@@ -23,13 +23,15 @@ sources = files(\n if arch_subdir == 'x86'\n     idpf_avx512_cpu_support = (\n         cc.get_define('__AVX512F__', args: machine_args) != '' and\n-        cc.get_define('__AVX512BW__', args: machine_args) != ''\n+        cc.get_define('__AVX512BW__', args: machine_args) != '' and\n+        cc.get_define('__AVX512DQ__', args: machine_args) != ''\n     )\n \n     idpf_avx512_cc_support = (\n         not machine_args.contains('-mno-avx512f') and\n         cc.has_argument('-mavx512f') and\n-        cc.has_argument('-mavx512bw')\n+        cc.has_argument('-mavx512bw') and\n+        cc.has_argument('-mavx512dq')\n     )\n \n     if idpf_avx512_cpu_support == true or idpf_avx512_cc_support == true\n",
    "prefixes": [
        "v1"
    ]
}