get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 81376,
    "url": "http://patches.dpdk.org/api/patches/81376/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201019134858.32507-14-david.marchand@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": "<20201019134858.32507-14-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201019134858.32507-14-david.marchand@redhat.com",
    "date": "2020-10-19T13:48:53",
    "name": "[v10,13/18] distributor: check max SIMD bitwidth",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "c27b059274c992b4a77eebd2b7d54bd89e9371a3",
    "submitter": {
        "id": 1173,
        "url": "http://patches.dpdk.org/api/people/1173/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@redhat.com"
    },
    "delegate": {
        "id": 24651,
        "url": "http://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20201019134858.32507-14-david.marchand@redhat.com/mbox/",
    "series": [
        {
            "id": 13104,
            "url": "http://patches.dpdk.org/api/series/13104/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13104",
            "date": "2020-10-19T13:48:40",
            "name": "add max SIMD bitwidth to EAL",
            "version": 10,
            "mbox": "http://patches.dpdk.org/series/13104/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/81376/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/81376/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 EE5D3A04DC;\n\tMon, 19 Oct 2020 15:54:50 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C2955E2AD;\n\tMon, 19 Oct 2020 15:50:45 +0200 (CEST)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [216.205.24.124])\n by dpdk.org (Postfix) with ESMTP id C0B54C9D2\n for <dev@dpdk.org>; Mon, 19 Oct 2020 15:50:41 +0200 (CEST)",
            "from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com\n [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id\n us-mta-313-28cg5I7cOiugKweRZ835iw-1; Mon, 19 Oct 2020 09:50:35 -0400",
            "from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com\n [10.5.11.15])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 003C289BBBF;\n Mon, 19 Oct 2020 13:49:51 +0000 (UTC)",
            "from dmarchan.remote.csb (unknown [10.40.195.116])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 40FA67D4FA;\n Mon, 19 Oct 2020 13:49:48 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1603115440;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=RYi1EFBX3tp4XAXCdnZ+HrQoZnxUONb0VH88O3T08AU=;\n b=D3ImLZWG6AHHYJ+Bx5CwEveNjizPMjAom/L6My0Pzn6XO/ZHPVRYImCxHj6NM/KfBRKszx\n sVESkuNPHrM7RVq9sBFV9M0fgXOJysEkhR8Bp41DeICRbKanlzDZXs9MxD5uKTRWkSquh8\n OEVB9b3csvXMszg8sU2ab0g26idr9G4=",
        "X-MC-Unique": "28cg5I7cOiugKweRZ835iw-1",
        "From": "David Marchand <david.marchand@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "viktorin@rehivetech.com, ruifeng.wang@arm.com, jerinj@marvell.com,\n drc@linux.vnet.ibm.com, bruce.richardson@intel.com,\n konstantin.ananyev@intel.com, ciara.power@intel.com,\n David Hunt <david.hunt@intel.com>",
        "Date": "Mon, 19 Oct 2020 15:48:53 +0200",
        "Message-Id": "<20201019134858.32507-14-david.marchand@redhat.com>",
        "In-Reply-To": "<20201019134858.32507-1-david.marchand@redhat.com>",
        "References": "<20201019134858.32507-1-david.marchand@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.15",
        "Authentication-Results": "relay.mimecast.com;\n auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain; charset=\"US-ASCII\"",
        "Subject": "[dpdk-dev] [PATCH v10 13/18] distributor: check max SIMD bitwidth",
        "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": "From: Ciara Power <ciara.power@intel.com>\n\nWhen choosing a vector path to take, an extra condition must be\nsatisfied to ensure the max SIMD bitwidth allows for the CPU enabled\npath.\n\nSigned-off-by: Ciara Power <ciara.power@intel.com>\nAcked-by: David Hunt <david.hunt@intel.com>\n---\nv4: Updated enum name.\nv3: Moved max SIMD bitwidth check to configure function with other vec\n    support checks.\n---\n lib/librte_distributor/rte_distributor.c | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_distributor/rte_distributor.c b/lib/librte_distributor/rte_distributor.c\nindex ef34facba6..07e385a259 100644\n--- a/lib/librte_distributor/rte_distributor.c\n+++ b/lib/librte_distributor/rte_distributor.c\n@@ -14,6 +14,7 @@\n #include <rte_eal_memconfig.h>\n #include <rte_pause.h>\n #include <rte_tailq.h>\n+#include <rte_vect.h>\n \n #include \"rte_distributor.h\"\n #include \"rte_distributor_single.h\"\n@@ -762,7 +763,8 @@ rte_distributor_create(const char *name,\n \n \td->dist_match_fn = RTE_DIST_MATCH_SCALAR;\n #if defined(RTE_ARCH_X86)\n-\td->dist_match_fn = RTE_DIST_MATCH_VECTOR;\n+\tif (rte_vect_get_max_simd_bitwidth() >= RTE_VECT_SIMD_128)\n+\t\td->dist_match_fn = RTE_DIST_MATCH_VECTOR;\n #endif\n \n \t/*\n",
    "prefixes": [
        "v10",
        "13/18"
    ]
}