get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 68321,
    "url": "http://patches.dpdk.org/api/patches/68321/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200413164025.9751-2-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": "<20200413164025.9751-2-gavin.hu@arm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200413164025.9751-2-gavin.hu@arm.com",
    "date": "2020-04-13T16:40:24",
    "name": "[v3,1/2] net/i40e: relax barrier in Tx fastpath for NEON vPMD",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "e127b64b655daee77c4e1797adfd10f30ac73f24",
    "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/20200413164025.9751-2-gavin.hu@arm.com/mbox/",
    "series": [
        {
            "id": 9349,
            "url": "http://patches.dpdk.org/api/series/9349/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=9349",
            "date": "2020-04-13T16:40:23",
            "name": "i40e NEON vPMD optimization on aarch64",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/9349/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/68321/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/68321/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 A1809A0577;\n\tMon, 13 Apr 2020 18:41:11 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 5EB711C038;\n\tMon, 13 Apr 2020 18:41:07 +0200 (CEST)",
            "from foss.arm.com (foss.arm.com [217.140.110.172])\n by dpdk.org (Postfix) with ESMTP id 7D57C1C031;\n Mon, 13 Apr 2020 18:41:05 +0200 (CEST)",
            "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 0C91E31B;\n Mon, 13 Apr 2020 09:41:05 -0700 (PDT)",
            "from net-arm-thunderx2-01.shanghai.arm.com\n (net-arm-thunderx2-01.shanghai.arm.com [10.169.41.214])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id E95313F68F;\n Mon, 13 Apr 2020 09:41:01 -0700 (PDT)"
        ],
        "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, stable@dpdk.org",
        "Date": "Tue, 14 Apr 2020 00:40:24 +0800",
        "Message-Id": "<20200413164025.9751-2-gavin.hu@arm.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": [
            "<20200413164025.9751-1-gavin.hu@arm.com>",
            "<20200306050427.66114-1-gavin.hu@arm.com>"
        ],
        "References": [
            "<20200413164025.9751-1-gavin.hu@arm.com>",
            "<20200306050427.66114-1-gavin.hu@arm.com>"
        ],
        "Subject": "[dpdk-dev] [PATCH v3 1/2] net/i40e: relax barrier in Tx fastpath\n\tfor NEON vPMD",
        "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": "To keep ordering of mixed accesses, 'DMB OSH' is sufficient.\n'DSB' inside the I40E_PCI_REG_WRITE is overkill.[1]\n\nThis patch fixes by replacing with just sufficient barriers in the\nnormal PMD and vPMD.\n\nIt showed 7% performance uplift on ThunderX2 and 4% on Arm N1SDP.\nThe test case is the RFC2544 zero-loss test running testpmd.\n\n[1] http://inbox.dpdk.org/dev/CALBAE1M-ezVWCjqCZDBw+MMDEC4O9\nqf0Kpn89EMdGDajepKoZQ@mail.gmail.com\n\nFixes: ae0eb310f253 (\"net/i40e: implement vector PMD for ARM\")\nCc: stable@dpdk.org\n\nSigned-off-by: Gavin Hu <gavin.hu@arm.com>\nAcked-by: Jerin Jacob <jerinj@marvell.com>\n---\n drivers/net/i40e/i40e_rxtx_vec_neon.c | 6 ++++--\n 1 file changed, 4 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/i40e/i40e_rxtx_vec_neon.c b/drivers/net/i40e/i40e_rxtx_vec_neon.c\nindex deb185fe2..4376d8911 100644\n--- a/drivers/net/i40e/i40e_rxtx_vec_neon.c\n+++ b/drivers/net/i40e/i40e_rxtx_vec_neon.c\n@@ -72,8 +72,9 @@ i40e_rxq_rearm(struct i40e_rx_queue *rxq)\n \trx_id = (uint16_t)((rxq->rxrearm_start == 0) ?\n \t\t\t     (rxq->nb_rx_desc - 1) : (rxq->rxrearm_start - 1));\n \n+\trte_cio_wmb();\n \t/* Update the tail pointer on the NIC */\n-\tI40E_PCI_REG_WRITE(rxq->qrx_tail, rx_id);\n+\tI40E_PCI_REG_WRITE_RELAXED(rxq->qrx_tail, rx_id);\n }\n \n static inline void\n@@ -564,7 +565,8 @@ i40e_xmit_fixed_burst_vec(void *tx_queue, struct rte_mbuf **tx_pkts,\n \n \ttxq->tx_tail = tx_id;\n \n-\tI40E_PCI_REG_WRITE(txq->qtx_tail, txq->tx_tail);\n+\trte_cio_wmb();\n+\tI40E_PCI_REG_WRITE_RELAXED(txq->qtx_tail, tx_id);\n \n \treturn nb_pkts;\n }\n",
    "prefixes": [
        "v3",
        "1/2"
    ]
}