get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 66315,
    "url": "http://patches.dpdk.org/api/patches/66315/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200306050427.66114-4-gavin.hu@arm.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": "<20200306050427.66114-4-gavin.hu@arm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200306050427.66114-4-gavin.hu@arm.com",
    "date": "2020-03-06T05:04:27",
    "name": "[v1,3/3] net/i40e: auto-vectorization to speed up Tx free",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "8753b0cc297027d922aa29781b6aa220fd15c41c",
    "submitter": {
        "id": 1018,
        "url": "http://patches.dpdk.org/api/people/1018/?format=api",
        "name": "Gavin Hu",
        "email": "gavin.hu@arm.com"
    },
    "delegate": {
        "id": 31221,
        "url": "http://patches.dpdk.org/api/users/31221/?format=api",
        "username": "yexl",
        "first_name": "xiaolong",
        "last_name": "ye",
        "email": "xiaolong.ye@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200306050427.66114-4-gavin.hu@arm.com/mbox/",
    "series": [
        {
            "id": 8806,
            "url": "http://patches.dpdk.org/api/series/8806/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8806",
            "date": "2020-03-06T05:04:24",
            "name": "i40e vPMD optimization on aarch64",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/8806/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/66315/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/66315/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 5138BA056A;\n\tFri,  6 Mar 2020 06:05:33 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 800421BFDA;\n\tFri,  6 Mar 2020 06:05:17 +0100 (CET)",
            "from foss.arm.com (foss.arm.com [217.140.110.172])\n by dpdk.org (Postfix) with ESMTP id 79EB41BFE8\n for <dev@dpdk.org>; Fri,  6 Mar 2020 06:05:15 +0100 (CET)",
            "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])\n by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0557130E;\n Thu,  5 Mar 2020 21:05:15 -0800 (PST)",
            "from net-arm-thunderx2-04.shanghai.arm.com\n (net-arm-thunderx2-04.shanghai.arm.com [10.169.40.184])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id E88723F6CF;\n Thu,  5 Mar 2020 21:05:11 -0800 (PST)"
        ],
        "From": "Gavin Hu <gavin.hu@arm.com>",
        "To": "dev@dpdk.org",
        "Cc": "nd@arm.com, david.marchand@redhat.com, thomas@monjalon.net,\n jerinj@marvell.com, xiaolong.ye@intel.com, Honnappa.Nagarahalli@arm.com,\n ruifeng.wang@arm.com, phil.yang@arm.com, joyce.kong@arm.com,\n steve.capper@arm.com",
        "Date": "Fri,  6 Mar 2020 13:04:27 +0800",
        "Message-Id": "<20200306050427.66114-4-gavin.hu@arm.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200306050427.66114-1-gavin.hu@arm.com>",
        "References": "<20200306050427.66114-1-gavin.hu@arm.com>",
        "Subject": "[dpdk-dev] [PATCH v1 3/3] net/i40e: auto-vectorization to speed up\n\tTx free",
        "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": "Tx mbuf free is a hotspot for i40e on aarch64, as there are no\ninter-loop dependencies, it is safe to enable auto-vectorization\nto speed up.\n\nThis patch showed 2~3% performance lift on ThunderX2 and no degradation\non Arm N1SDP. The test case is single core RFC2544 zero-loss test.\n\nSigned-off-by: Gavin Hu <gavin.hu@arm.com>\nReviewed-by: Steve Capper <steve.capper@arm.com>\n---\n drivers/net/i40e/i40e_rxtx_vec_common.h | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/drivers/net/i40e/i40e_rxtx_vec_common.h b/drivers/net/i40e/i40e_rxtx_vec_common.h\nindex 0e6ffa007..fc0fa45d4 100644\n--- a/drivers/net/i40e/i40e_rxtx_vec_common.h\n+++ b/drivers/net/i40e/i40e_rxtx_vec_common.h\n@@ -98,6 +98,11 @@ i40e_tx_free_bufs(struct i40e_tx_queue *txq)\n \tif (likely(m != NULL)) {\n \t\tfree[0] = m;\n \t\tnb_free = 1;\n+#if defined(__clang__)\n+#pragma clang loop vectorize(assume_safety)\n+#elif defined(__GNUC__)\n+#pragma GCC ivdep\n+#endif\n \t\tfor (i = 1; i < n; i++) {\n \t\t\tm = rte_pktmbuf_prefree_seg(txep[i].mbuf);\n \t\t\tif (likely(m != NULL)) {\n",
    "prefixes": [
        "v1",
        "3/3"
    ]
}