get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 52438,
    "url": "http://patches.dpdk.org/api/patches/52438/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190408182420.4398-3-aconole@redhat.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": "<20190408182420.4398-3-aconole@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190408182420.4398-3-aconole@redhat.com",
    "date": "2019-04-08T18:24:19",
    "name": "[2/3] acl: update the build for multi-arch",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "6f2550398d542b5580016e46818ce64db3cbe017",
    "submitter": {
        "id": 332,
        "url": "http://patches.dpdk.org/api/people/332/?format=api",
        "name": "Aaron Conole",
        "email": "aconole@redhat.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190408182420.4398-3-aconole@redhat.com/mbox/",
    "series": [
        {
            "id": 4189,
            "url": "http://patches.dpdk.org/api/series/4189/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4189",
            "date": "2019-04-08T18:24:17",
            "name": "librte_acl: fixes related to testing with the meson build",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/4189/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/52438/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/52438/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 C81254F91;\n\tMon,  8 Apr 2019 20:24:31 +0200 (CEST)",
            "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby dpdk.org (Postfix) with ESMTP id 6CD5F2BCE\n\tfor <dev@dpdk.org>; Mon,  8 Apr 2019 20:24:24 +0200 (CEST)",
            "from smtp.corp.redhat.com\n\t(int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id D0AA930917AB;\n\tMon,  8 Apr 2019 18:24:23 +0000 (UTC)",
            "from dhcp-25.97.bos.redhat.com (unknown [10.18.25.61])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 535E56092E;\n\tMon,  8 Apr 2019 18:24:23 +0000 (UTC)"
        ],
        "From": "Aaron Conole <aconole@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "Konstantin Ananyev <konstantin.ananyev@intel.com>,\n\tJerin Jacob <jerinj@marvell.com>, Gavin Hu <gavin.hu@arm.com>",
        "Date": "Mon,  8 Apr 2019 14:24:19 -0400",
        "Message-Id": "<20190408182420.4398-3-aconole@redhat.com>",
        "In-Reply-To": "<20190408182420.4398-1-aconole@redhat.com>",
        "References": "<20190408182420.4398-1-aconole@redhat.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.13",
        "X-Greylist": "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.41]); Mon, 08 Apr 2019 18:24:23 +0000 (UTC)",
        "Subject": "[dpdk-dev] [PATCH 2/3] acl: update the build for multi-arch",
        "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": "For the introduction of the meson build, the build file for the ACL library\narchitecture specific files was not ported.  This means the compiler didn't\nknow about the optimized versions when building the RTE_ACL library for\neach architecture.\n\nNow hook up the different architecures by checking the architecture build\nenvironment and including the right objects.\n\nWeak symbols aren't working with this commit but will get fixed to properly\nselect the right runtime version in a future commit.\n\nSigned-off-by: Aaron Conole <aconole@redhat.com>\n---\n lib/librte_acl/meson.build | 5 ++++-\n 1 file changed, 4 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_acl/meson.build b/lib/librte_acl/meson.build\nindex 2207dbafe..03c19e4e5 100644\n--- a/lib/librte_acl/meson.build\n+++ b/lib/librte_acl/meson.build\n@@ -27,5 +27,8 @@ if arch_subdir == 'x86'\n \t\tobjs += avx2_tmplib.extract_objects('acl_run_avx2.c')\n \t\tcflags += '-DCC_AVX2_SUPPORT'\n \tendif\n-\n+elif arch_subdir == 'arm' and host_machine.cpu_family().startswith('aarch64')\n+\tsources += files('acl_run_neon.c')\n+elif arch_subdir == 'ppc_64'\n+\tsources += files('acl_run_altivec.c')\n endif\n",
    "prefixes": [
        "2/3"
    ]
}