get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 83588,
    "url": "https://patches.dpdk.org/api/patches/83588/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20201103125629.56030-3-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": "<20201103125629.56030-3-leyi.rong@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201103125629.56030-3-leyi.rong@intel.com",
    "date": "2020-11-03T12:56:29",
    "name": "[2/2] net/iavf: fix build error on lower version GCC",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "260adfe68913214dd841930638a3bebbb3f8a680",
    "submitter": {
        "id": 1204,
        "url": "https://patches.dpdk.org/api/people/1204/?format=api",
        "name": "Leyi Rong",
        "email": "leyi.rong@intel.com"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20201103125629.56030-3-leyi.rong@intel.com/mbox/",
    "series": [
        {
            "id": 13618,
            "url": "https://patches.dpdk.org/api/series/13618/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=13618",
            "date": "2020-11-03T12:56:27",
            "name": "fix build error on lower version GCC",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/13618/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/83588/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/83588/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 64444A0521;\n\tTue,  3 Nov 2020 14:21:10 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 64716CA89;\n\tTue,  3 Nov 2020 14:20:31 +0100 (CET)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by dpdk.org (Postfix) with ESMTP id 593AECA36\n for <dev@dpdk.org>; Tue,  3 Nov 2020 14:20:27 +0100 (CET)",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 03 Nov 2020 05:20:26 -0800",
            "from dpdk-lrong-srv-04.sh.intel.com ([10.67.119.221])\n by fmsmga004.fm.intel.com with ESMTP; 03 Nov 2020 05:20:25 -0800"
        ],
        "IronPort-SDR": [
            "\n kfUIhD5EPTwiSRtv0110nvM3VbX49/y85/i/iFIFcDkRmtTWmbMvpShSPTZ2aCzgQJz2CwOvQQ\n Zg+XXZZ2iJ/Q==",
            "\n qCyf6/z7sXT+GICWG/LT0sgezMXhJkuKbb52z+3ffznyz9s9vxste/ng1LPgjy22boYjpX6HKl\n y7HrVzfd0fTQ=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9793\"; a=\"166457731\"",
            "E=Sophos;i=\"5.77,448,1596524400\"; d=\"scan'208\";a=\"166457731\"",
            "E=Sophos;i=\"5.77,448,1596524400\"; d=\"scan'208\";a=\"353270278\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Leyi Rong <leyi.rong@intel.com>",
        "To": "qi.z.zhang@intel.com,\n\tferruh.yigit@intel.com",
        "Cc": "dev@dpdk.org,\n\tLeyi Rong <leyi.rong@intel.com>",
        "Date": "Tue,  3 Nov 2020 20:56:29 +0800",
        "Message-Id": "<20201103125629.56030-3-leyi.rong@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20201103125629.56030-1-leyi.rong@intel.com>",
        "References": "<20201103125629.56030-1-leyi.rong@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 2/2] net/iavf: fix build error on lower version\n\tGCC",
        "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": "Fix the build error when -march=skylake-avx512 is not supported on\nlower version GCC.\n\nFixes: e0dcec9074c3 (\"net/iavf: enable AVX512 for legacy Rx\")\n\nSigned-off-by: Leyi Rong <leyi.rong@intel.com>\n---\n drivers/net/iavf/meson.build | 21 +++++++++++++++------\n 1 file changed, 15 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/drivers/net/iavf/meson.build b/drivers/net/iavf/meson.build\nindex e257f5a6e1..ee0a882126 100644\n--- a/drivers/net/iavf/meson.build\n+++ b/drivers/net/iavf/meson.build\n@@ -46,12 +46,21 @@ if arch_subdir == 'x86'\n \n \tif iavf_avx512_cpu_support == true or iavf_avx512_cc_support == true\n \t\tcflags += ['-DCC_AVX512_SUPPORT']\n-\t\tiavf_avx512_lib = static_library('iavf_avx512_lib',\n-\t\t\t\t'iavf_rxtx_vec_avx512.c',\n-\t\t\t\tdependencies: [static_rte_ethdev,\n-\t\t\t\t\tstatic_rte_kvargs, static_rte_hash],\n-\t\t\t\tinclude_directories: includes,\n-\t\t\t\tc_args: [cflags, '-mavx512f', '-mavx512bw', '-march=skylake-avx512'])\n+\t\tif cc.has_argument('-march=skylake-avx512')\n+\t\t\tiavf_avx512_lib = static_library('iavf_avx512_lib',\n+\t\t\t\t\t'iavf_rxtx_vec_avx512.c',\n+\t\t\t\t\tdependencies: [static_rte_ethdev,\n+\t\t\t\t\t\tstatic_rte_kvargs, static_rte_hash],\n+\t\t\t\t\tinclude_directories: includes,\n+\t\t\t\t\tc_args: [cflags, '-mavx512f', '-mavx512bw', '-march=skylake-avx512'])\n+\t\telse\n+\t\t\tiavf_avx512_lib = static_library('iavf_avx512_lib',\n+\t\t\t\t\t'iavf_rxtx_vec_avx512.c',\n+\t\t\t\t\tdependencies: [static_rte_ethdev,\n+\t\t\t\t\t\tstatic_rte_kvargs, static_rte_hash],\n+\t\t\t\t\tinclude_directories: includes,\n+\t\t\t\t\tc_args: [cflags, '-mavx512f', '-mavx512bw'])\n+\t\tendif\n \t\tobjs += iavf_avx512_lib.extract_objects('iavf_rxtx_vec_avx512.c')\n \tendif\n endif\n",
    "prefixes": [
        "2/2"
    ]
}