get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 87349,
    "url": "https://patches.dpdk.org/api/patches/87349/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210126153819.63625-1-leyi.rong@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": "<20210126153819.63625-1-leyi.rong@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210126153819.63625-1-leyi.rong@intel.com",
    "date": "2021-01-26T15:38:19",
    "name": "net/i40e: fix mingw build error",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a6bc4b5b0279e63665ceed7328a46c6cf4a79c5f",
    "submitter": {
        "id": 1204,
        "url": "https://patches.dpdk.org/api/people/1204/?format=api",
        "name": "Leyi Rong",
        "email": "leyi.rong@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/20210126153819.63625-1-leyi.rong@intel.com/mbox/",
    "series": [
        {
            "id": 14958,
            "url": "https://patches.dpdk.org/api/series/14958/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14958",
            "date": "2021-01-26T15:38:19",
            "name": "net/i40e: fix mingw build error",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/14958/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/87349/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/87349/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 43CFCA052A;\n\tTue, 26 Jan 2021 16:59:56 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 227F3140DAF;\n\tTue, 26 Jan 2021 16:59:56 +0100 (CET)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by mails.dpdk.org (Postfix) with ESMTP id 2F00F140D5B\n for <dev@dpdk.org>; Tue, 26 Jan 2021 16:59:54 +0100 (CET)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 26 Jan 2021 07:59:47 -0800",
            "from dpdk-lrong-srv-04.sh.intel.com ([10.67.119.221])\n by fmsmga008.fm.intel.com with ESMTP; 26 Jan 2021 07:59:45 -0800"
        ],
        "IronPort-SDR": [
            "\n iVa4vtfUP8ajjNR0yQ1QKf9dcmsnEWqCcQ7DkAySauhCk+XGMqhSV2SYiqSgQa6Ay8CKOWapyv\n QUttRsr0BKHw==",
            "\n ClwSTPK2RvO2djJanHgmgQpuLNgYtSOs/WHxH7mT3ITi0X8MqYIXlShBQBI46V80V8VOh4VzNQ\n zzHeEkcGDZEQ=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9876\"; a=\"264745047\"",
            "E=Sophos;i=\"5.79,375,1602572400\"; d=\"scan'208\";a=\"264745047\"",
            "E=Sophos;i=\"5.79,375,1602572400\"; d=\"scan'208\";a=\"362030340\""
        ],
        "X-ExtLoop1": "1",
        "From": "Leyi Rong <leyi.rong@intel.com>",
        "To": "qi.z.zhang@intel.com, pallavi.kadam@intel.com, ferruh.yigit@intel.com,\n ranjit.menon@intel.com, beilei.xing@intel.com",
        "Cc": "dev@dpdk.org,\n\tLeyi Rong <leyi.rong@intel.com>",
        "Date": "Tue, 26 Jan 2021 23:38:19 +0800",
        "Message-Id": "<20210126153819.63625-1-leyi.rong@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "Subject": "[dpdk-dev] [PATCH] net/i40e: fix mingw build error",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Disable i40e avx512 code path for windows build to\navoid the mingw build error.\n\nFixes: e6a6a138919f (\"net/i40e: add AVX512 vector path\")\n\nSigned-off-by: Leyi Rong <leyi.rong@intel.com>\n---\n config/x86/cross-mingw       | 3 +++\n drivers/net/i40e/meson.build | 2 +-\n 2 files changed, 4 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/config/x86/cross-mingw b/config/x86/cross-mingw\nindex 4c15a7fa2e..48a82b457e 100644\n--- a/config/x86/cross-mingw\n+++ b/config/x86/cross-mingw\n@@ -11,3 +11,6 @@ system = 'windows'\n cpu_family = 'x86_64'\n cpu = 'native'\n endian = 'little'\n+\n+[properties]\n+c_args = '-mno-avx512f'\ndiff --git a/drivers/net/i40e/meson.build b/drivers/net/i40e/meson.build\nindex c0acdf4fd4..c9a1a50407 100644\n--- a/drivers/net/i40e/meson.build\n+++ b/drivers/net/i40e/meson.build\n@@ -54,7 +54,7 @@ if arch_subdir == 'x86'\n \t\tcc.has_argument('-mavx512f') and\n \t\tcc.has_argument('-mavx512bw'))\n \n-\tif i40e_avx512_cpu_support == true or i40e_avx512_cc_support == true\n+\tif not is_windows and (i40e_avx512_cpu_support == true or i40e_avx512_cc_support == true)\n \t\tcflags += ['-DCC_AVX512_SUPPORT']\n \t\tavx512_args = [cflags, '-mavx512f', '-mavx512bw']\n \t\tif cc.has_argument('-march=skylake-avx512')\n",
    "prefixes": []
}