get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 43578,
    "url": "http://patchwork.dpdk.org/api/patches/43578/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20180803140605.43072-9-keith.wiles@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20180803140605.43072-9-keith.wiles@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180803140605.43072-9-keith.wiles@intel.com",
    "date": "2018-08-03T14:06:04",
    "name": "[09/10] acl: update code to use __rte_weak macro",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "68498b9f0162ac7f5b3908419d474fe0738f1713",
    "submitter": {
        "id": 166,
        "url": "http://patchwork.dpdk.org/api/people/166/?format=api",
        "name": "Wiles, Keith",
        "email": "keith.wiles@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20180803140605.43072-9-keith.wiles@intel.com/mbox/",
    "series": [
        {
            "id": 898,
            "url": "http://patchwork.dpdk.org/api/series/898/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=898",
            "date": "2018-08-03T14:05:56",
            "name": "[01/10] eal: add shorthand __rte_weak macro",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/898/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/43578/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/43578/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 23C261B5C6;\n\tFri,  3 Aug 2018 16:06:33 +0200 (CEST)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n\tby dpdk.org (Postfix) with ESMTP id 5B0D41B583\n\tfor <dev@dpdk.org>; Fri,  3 Aug 2018 16:06:20 +0200 (CEST)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n\tby orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t03 Aug 2018 07:06:19 -0700",
            "from gjthurma-mobl1.amr.corp.intel.com ([10.254.182.209])\n\tby orsmga005.jf.intel.com with ESMTP; 03 Aug 2018 07:06:19 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.51,438,1526367600\"; d=\"scan'208\";a=\"245747616\"",
        "From": "Keith Wiles <keith.wiles@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Fri,  3 Aug 2018 09:06:04 -0500",
        "Message-Id": "<20180803140605.43072-9-keith.wiles@intel.com>",
        "X-Mailer": "git-send-email 2.10.1",
        "In-Reply-To": "<20180803140605.43072-1-keith.wiles@intel.com>",
        "References": "<20180803140605.43072-1-keith.wiles@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 09/10] acl: update code to use __rte_weak macro",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Signed-off-by: Keith Wiles <keith.wiles@intel.com>\n---\n lib/librte_acl/rte_acl.c | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/lib/librte_acl/rte_acl.c b/lib/librte_acl/rte_acl.c\nindex 2f1243cde..db7d3221e 100644\n--- a/lib/librte_acl/rte_acl.c\n+++ b/lib/librte_acl/rte_acl.c\n@@ -16,7 +16,7 @@ EAL_REGISTER_TAILQ(rte_acl_tailq)\n  * If the compiler doesn't support AVX2 instructions,\n  * then the dummy one would be used instead for AVX2 classify method.\n  */\n-int __attribute__ ((weak))\n+__rte_weak int\n rte_acl_classify_avx2(__rte_unused const struct rte_acl_ctx *ctx,\n \t__rte_unused const uint8_t **data,\n \t__rte_unused uint32_t *results,\n@@ -26,7 +26,7 @@ rte_acl_classify_avx2(__rte_unused const struct rte_acl_ctx *ctx,\n \treturn -ENOTSUP;\n }\n \n-int __attribute__ ((weak))\n+__rte_weak int\n rte_acl_classify_sse(__rte_unused const struct rte_acl_ctx *ctx,\n \t__rte_unused const uint8_t **data,\n \t__rte_unused uint32_t *results,\n@@ -36,7 +36,7 @@ rte_acl_classify_sse(__rte_unused const struct rte_acl_ctx *ctx,\n \treturn -ENOTSUP;\n }\n \n-int __attribute__ ((weak))\n+__rte_weak int\n rte_acl_classify_neon(__rte_unused const struct rte_acl_ctx *ctx,\n \t__rte_unused const uint8_t **data,\n \t__rte_unused uint32_t *results,\n@@ -46,7 +46,7 @@ rte_acl_classify_neon(__rte_unused const struct rte_acl_ctx *ctx,\n \treturn -ENOTSUP;\n }\n \n-int __attribute__ ((weak))\n+__rte_weak int\n rte_acl_classify_altivec(__rte_unused const struct rte_acl_ctx *ctx,\n \t__rte_unused const uint8_t **data,\n \t__rte_unused uint32_t *results,\n",
    "prefixes": [
        "09/10"
    ]
}