get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 66636,
    "url": "http://patches.dpdk.org/api/patches/66636/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200313091835.58039-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": "<20200313091835.58039-4-gavin.hu@arm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200313091835.58039-4-gavin.hu@arm.com",
    "date": "2020-03-13T09:18:31",
    "name": "[RFC,v1,3/7] net/ena: relax the rmb for DMA",
    "commit_ref": null,
    "pull_url": null,
    "state": "rfc",
    "archived": true,
    "hash": "6d8ba96e61395fdc7c97f1719b6c6922e9b1bef9",
    "submitter": {
        "id": 1018,
        "url": "http://patches.dpdk.org/api/people/1018/?format=api",
        "name": "Gavin Hu",
        "email": "gavin.hu@arm.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200313091835.58039-4-gavin.hu@arm.com/mbox/",
    "series": [
        {
            "id": 8902,
            "url": "http://patches.dpdk.org/api/series/8902/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8902",
            "date": "2020-03-13T09:18:28",
            "name": "relax barriers for ENA PMD and small fixes",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/8902/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/66636/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/66636/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 7F0D7A0567;\n\tFri, 13 Mar 2020 10:20:14 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 924AE1C065;\n\tFri, 13 Mar 2020 10:20:00 +0100 (CET)",
            "from foss.arm.com (foss.arm.com [217.140.110.172])\n by dpdk.org (Postfix) with ESMTP id AD1C91BFBF;\n Fri, 13 Mar 2020 10:19:59 +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 3055331B;\n Fri, 13 Mar 2020 02:19:59 -0700 (PDT)",
            "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 710133F67D;\n Fri, 13 Mar 2020 02:19:54 -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 mk@semihalf.com, gtzalik@amazon.com, evgenys@amazon.com, igorch@amazon.com,\n mw@semihalf.com, Honnappa.Nagarahalli@arm.com, ruifeng.wang@arm.com,\n phil.yang@arm.com, joyce.kong@arm.com, stable@dpdk.org",
        "Date": "Fri, 13 Mar 2020 17:18:31 +0800",
        "Message-Id": "<20200313091835.58039-4-gavin.hu@arm.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200313091835.58039-1-gavin.hu@arm.com>",
        "References": "<20200313091835.58039-1-gavin.hu@arm.com>",
        "Subject": "[dpdk-dev] [PATCH RFC v1 3/7] net/ena: relax the rmb for DMA",
        "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": "The user space DPDK rte_cio_rmb barrier in definition corresponds to the\nkernel dma_rmb barrier on all supported architectures[1][2][3].\n\nAs it is called in the data path[4], redefine it to relax the barrier and\nuplift the performance.\n\n[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/\nlinux.git/tree/arch/x86/include/asm/barrier.h?h=v5.5#n54\n[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/\nlinux.git/tree/arch/powerpc/include/asm/barrier.h?h=v5.5#n46\n[3] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/\nlinux.git/tree/arch/arm64/include/asm/barrier.h?h=v5.5#n48\n[4] http://code.dpdk.org/dpdk/v20.02/source/drivers/net/ena/\nena_ethdev.c#L2021\n\nFixes: b68309be44c0 (\"net/ena/base: update communication layer for the ENAv2\")\nCc: stable@dpdk.org\n\nSigned-off-by: Gavin Hu <gavin.hu@arm.com>\nReviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>\n---\n drivers/net/ena/base/ena_plat_dpdk.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ena/base/ena_plat_dpdk.h b/drivers/net/ena/base/ena_plat_dpdk.h\nindex b611fb204..60327a726 100644\n--- a/drivers/net/ena/base/ena_plat_dpdk.h\n+++ b/drivers/net/ena/base/ena_plat_dpdk.h\n@@ -254,7 +254,7 @@ extern uint32_t ena_alloc_cnt;\n #define msleep(x) rte_delay_us(x * 1000)\n #define udelay(x) rte_delay_us(x)\n \n-#define dma_rmb() rmb()\n+#define dma_rmb() rte_cio_rmb()\n \n #define MAX_ERRNO       4095\n #define IS_ERR(x) (((unsigned long)x) >= (unsigned long)-MAX_ERRNO)\n",
    "prefixes": [
        "RFC",
        "v1",
        "3/7"
    ]
}