get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 106913,
    "url": "http://patches.dpdk.org/api/patches/106913/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/tencent_83F1209F3E471CE9207D9B8D3C88FCC44C0A@qq.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": "<tencent_83F1209F3E471CE9207D9B8D3C88FCC44C0A@qq.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/tencent_83F1209F3E471CE9207D9B8D3C88FCC44C0A@qq.com",
    "date": "2022-02-06T03:58:42",
    "name": "[12/16] acl: add define guards to avoid multi-inclusion",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "e11688de24f3a8cab710b50b3037bea114599e49",
    "submitter": {
        "id": 2458,
        "url": "http://patches.dpdk.org/api/people/2458/?format=api",
        "name": "Weiguo Li",
        "email": "liwg06@foxmail.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/tencent_83F1209F3E471CE9207D9B8D3C88FCC44C0A@qq.com/mbox/",
    "series": [
        {
            "id": 21476,
            "url": "http://patches.dpdk.org/api/series/21476/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=21476",
            "date": "2022-02-06T03:58:31",
            "name": "[01/16] bus/dpaa: add define guards to avoid multiple inclusion",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/21476/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/106913/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/106913/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 D7CEEA034E;\n\tSun,  6 Feb 2022 04:59:49 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 1099B4117E;\n\tSun,  6 Feb 2022 04:59:11 +0100 (CET)",
            "from out162-62-57-49.mail.qq.com (out162-62-57-49.mail.qq.com\n [162.62.57.49]) by mails.dpdk.org (Postfix) with ESMTP id C32064114F\n for <dev@dpdk.org>; Sun,  6 Feb 2022 04:59:05 +0100 (CET)",
            "from liwg-ubuntu.lan ([111.193.130.237])\n by newxmesmtplogicsvrszc10.qq.com (NewEsmtp) with SMTP\n id EAE16474; Sun, 06 Feb 2022 11:58:46 +0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com;\n s=s201512; t=1644119944;\n bh=nT/rHmPyoeOpqLNky5wXg+qreQaADUC/O/7c93r3Kkk=;\n h=From:To:Subject:Date:In-Reply-To:References;\n b=nX4cz3qXR2glNYV8COTDY0r6ZlFOMjnAo/2CFjC7BsuRv/Dz58yeXSLD7Ph9q/2fV\n 0F88/AY8IiHWJSRoxwBfEhRPN9Fupz3JBNlQlIofSQ6rZPK/82w/VCMl28Is35OMom\n XmE7hV1agFj8NyRioY+z2KPfr4NtvbxnG96nPnPY=",
        "X-QQ-mid": "xmsmtpt1644119943t9n2zr9ud",
        "Message-ID": "<tencent_83F1209F3E471CE9207D9B8D3C88FCC44C0A@qq.com>",
        "X-QQ-XMAILINFO": "OZ7HbAk7YCRi34tNTEdTEfGL3FBTsTdfIDDxWiFEi7TH9eXqjT3pBRwz9Nl7yo\n w3fDuAjSsnAnvfcBN2uCWL1a8MLMyYcBZZiLnvuiXCshTHNr6Og+LMv0a0TnpW1GgfzuFAO9aP0Q\n 48me+rVJAELW8GEP5uL9Bb4bKlvm//bbXUz+gqYSQ8BHBohNaUuTNOLFbtnzzcKxq8sq35P3q6zU\n A9PwuDdDhfi/3AxX/frfuf8L+tWyDedpE83BoZB+CBNFNq49jtPfn6oJxOlX6KENBP8Rxnn2y6bJ\n pZRn3jUBQGnwQJFwuZHyChTWOZz85gBl0suAc5K6T5CzHoSo4QOZPRiyrSvAup8xiyRx3F+SQfri\n 5qGckjFWkAapCGq5f53ockOTie65imR19S4YaNNjdVe9p1w3X6iLOCqjmTiqqHhXkK5rvzI8I2jY\n uRroX1CIK3fwwmkyUBKPVsTbHNVYjD0h/0xpN74MsWNMhec1tMPbktu39NuGR3jyo6IuR2p9P9vJ\n ZgSDmwQLbxj5o+1VbeM+Lp209AzVz0fymy4QPl8Ea+f9Z4BwfmjTGsphNQ6dvvKWzPaagbVTBUMm\n UD1DMLtkaYpkA1j62JI+t5xLP0pV0JUQI1b49K/wAsy/xXd/WV+hMfzTfKB7WCB+gmn5pynH4jHX\n iRyiTvUAp1yuMtka9n/4pNACeJKK3DxFHsA+hssaavgh8XAn6KwuNxJyhaQ7Sfn8rUQ07B/URyzl\n yfnMOdbOLEMW/KUy2BahX789IpP57QdkP+q/++cfB+Ef0W8XYEUYU63VLENJ+BAMLImQ9ihb6PkY\n giTx8Al4b9lhLOtvAubxGUitwjpel3X26m/eey3OqL67df3TFGW+hIoS5VDpRLN3iycqCBKQHORQ\n ==",
        "From": "Weiguo Li <liwg06@foxmail.com>",
        "To": "dev@dpdk.org",
        "Subject": "[PATCH 12/16] acl: add define guards to avoid multi-inclusion",
        "Date": "Sun,  6 Feb 2022 11:58:42 +0800",
        "X-OQ-MSGID": "<20220206035846.2840462-12-liwg06@foxmail.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220206035846.2840462-1-liwg06@foxmail.com>",
        "References": "<20220206035846.2840462-1-liwg06@foxmail.com>",
        "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": "Supplement define guards to prevent multiple inclusion.\nIt should noted that there is an exceptional case:\nlib/acl/acl_run_avx512_common.h is designed to be included\nseveral times.\n\nSigned-off-by: Weiguo Li <liwg06@foxmail.com>\n---\n lib/acl/acl_run_altivec.h   | 5 +++++\n lib/acl/acl_run_avx2.h      | 5 +++++\n lib/acl/acl_run_avx512x16.h | 5 +++++\n lib/acl/acl_run_avx512x8.h  | 5 +++++\n lib/acl/acl_run_neon.h      | 5 +++++\n lib/acl/acl_run_sse.h       | 5 +++++\n 6 files changed, 30 insertions(+)",
    "diff": "diff --git a/lib/acl/acl_run_altivec.h b/lib/acl/acl_run_altivec.h\nindex 24a41eec17..0c4388c14e 100644\n--- a/lib/acl/acl_run_altivec.h\n+++ b/lib/acl/acl_run_altivec.h\n@@ -3,6 +3,9 @@\n  * Copyright (C) IBM Corporation 2016.\n  */\n \n+#ifndef _ACL_RUN_ALTIVEC_H_\n+#define _ACL_RUN_ALTIVEC_H_\n+\n #include \"acl_run.h\"\n #include \"acl_vect.h\"\n \n@@ -300,3 +303,5 @@ search_altivec_4(const struct rte_acl_ctx *ctx, const uint8_t **data,\n \n \treturn 0;\n }\n+\n+#endif /* _ACL_RUN_ALTIVEC_H_ */\ndiff --git a/lib/acl/acl_run_avx2.h b/lib/acl/acl_run_avx2.h\nindex 0b8967f22e..15c8ac2dfb 100644\n--- a/lib/acl/acl_run_avx2.h\n+++ b/lib/acl/acl_run_avx2.h\n@@ -2,6 +2,9 @@\n  * Copyright(c) 2010-2014 Intel Corporation\n  */\n \n+#ifndef _ACL_RUN_AVX2_H_\n+#define _ACL_RUN_AVX2_H_\n+\n #include \"acl_run_sse.h\"\n \n static const rte_ymm_t ymm_match_mask = {\n@@ -253,3 +256,5 @@ search_avx2x16(const struct rte_acl_ctx *ctx, const uint8_t **data,\n \n \treturn 0;\n }\n+\n+#endif /* _ACL_RUN_AVX2_H_ */\ndiff --git a/lib/acl/acl_run_avx512x16.h b/lib/acl/acl_run_avx512x16.h\nindex f87293eeb7..3a6f4900af 100644\n--- a/lib/acl/acl_run_avx512x16.h\n+++ b/lib/acl/acl_run_avx512x16.h\n@@ -2,6 +2,9 @@\n  * Copyright(c) 2020 Intel Corporation\n  */\n \n+#ifndef _ACL_RUN_AVX512X16_H_\n+#define _ACL_RUN_AVX512X16_H_\n+\n /*\n  * Defines required by \"acl_run_avx512_common.h\".\n  * Note that all of them has to be undefined by the end\n@@ -337,3 +340,5 @@ search_avx512x16x2(const struct rte_acl_ctx *ctx, const uint8_t **data,\n #undef _SC_\n #undef _T_mask\n #undef _T_simd\n+\n+#endif /* _ACL_RUN_AVX512X16_H_ */\ndiff --git a/lib/acl/acl_run_avx512x8.h b/lib/acl/acl_run_avx512x8.h\nindex 5da2bbfdeb..9033e4b324 100644\n--- a/lib/acl/acl_run_avx512x8.h\n+++ b/lib/acl/acl_run_avx512x8.h\n@@ -2,6 +2,9 @@\n  * Copyright(c) 2020 Intel Corporation\n  */\n \n+#ifndef _ACL_RUN_AVX512X8_H_\n+#define _ACL_RUN_AVX512X8_H_\n+\n /*\n  * Defines required by \"acl_run_avx512_common.h\".\n  * Note that all of them has to be undefined by the end\n@@ -251,3 +254,5 @@ search_avx512x8x2(const struct rte_acl_ctx *ctx, const uint8_t **data,\n #undef _SC_\n #undef _T_mask\n #undef _T_simd\n+\n+#endif /* _ACL_RUN_AVX512X8_H_ */\ndiff --git a/lib/acl/acl_run_neon.h b/lib/acl/acl_run_neon.h\nindex 69d1b6d9e1..cf721e4c3c 100644\n--- a/lib/acl/acl_run_neon.h\n+++ b/lib/acl/acl_run_neon.h\n@@ -2,6 +2,9 @@\n  * Copyright(c) 2015 Cavium, Inc\n  */\n \n+#ifndef _ACL_RUN_NEON_H_\n+#define _ACL_RUN_NEON_H_\n+\n #include \"acl_run.h\"\n #include \"acl_vect.h\"\n \n@@ -259,3 +262,5 @@ search_neon_4(const struct rte_acl_ctx *ctx, const uint8_t **data,\n \n \treturn 0;\n }\n+\n+#endif /* _ACL_RUN_NEON_H_ */\ndiff --git a/lib/acl/acl_run_sse.h b/lib/acl/acl_run_sse.h\nindex 93286a2c38..6d733f6046 100644\n--- a/lib/acl/acl_run_sse.h\n+++ b/lib/acl/acl_run_sse.h\n@@ -2,6 +2,9 @@\n  * Copyright(c) 2010-2014 Intel Corporation\n  */\n \n+#ifndef _ACL_RUN_SSE_H_\n+#define _ACL_RUN_SSE_H_\n+\n #include \"acl_run.h\"\n #include \"acl_vect.h\"\n \n@@ -326,3 +329,5 @@ search_sse_4(const struct rte_acl_ctx *ctx, const uint8_t **data,\n \n \treturn 0;\n }\n+\n+#endif /* _ACL_RUN_SSE_H_ */\n",
    "prefixes": [
        "12/16"
    ]
}