get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 102590,
    "url": "http://patches.dpdk.org/api/patches/102590/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20211021125938.52401-3-fengchengwen@huawei.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": "<20211021125938.52401-3-fengchengwen@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20211021125938.52401-3-fengchengwen@huawei.com",
    "date": "2021-10-21T12:59:38",
    "name": "[v2,3/3] dmadev: fix compile error in debug mode",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "82e54d5a98bd029fdac0eb209e5e152b0e002d05",
    "submitter": {
        "id": 2146,
        "url": "http://patches.dpdk.org/api/people/2146/?format=api",
        "name": "fengchengwen",
        "email": "fengchengwen@huawei.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/20211021125938.52401-3-fengchengwen@huawei.com/mbox/",
    "series": [
        {
            "id": 19818,
            "url": "http://patches.dpdk.org/api/series/19818/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=19818",
            "date": "2021-10-20T06:59:43",
            "name": "[1/2] dmadev: hide devices array",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/19818/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/102590/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/102590/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 893D0A0C4E;\n\tThu, 21 Oct 2021 15:04:16 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 47F81411FE;\n\tThu, 21 Oct 2021 15:04:16 +0200 (CEST)",
            "from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189])\n by mails.dpdk.org (Postfix) with ESMTP id 96CD0411FB\n for <dev@dpdk.org>; Thu, 21 Oct 2021 15:04:14 +0200 (CEST)",
            "from dggemv704-chm.china.huawei.com (unknown [172.30.72.55])\n by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4HZnhb4L7cz8tkW;\n Thu, 21 Oct 2021 21:02:55 +0800 (CST)",
            "from dggpeml500024.china.huawei.com (7.185.36.10) by\n dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id\n 15.1.2308.15; Thu, 21 Oct 2021 21:04:11 +0800",
            "from localhost.localdomain (10.67.165.24) by\n dggpeml500024.china.huawei.com (7.185.36.10) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id\n 15.1.2308.15; Thu, 21 Oct 2021 21:04:10 +0800"
        ],
        "From": "Chengwen Feng <fengchengwen@huawei.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<david.marchand@redhat.com>, <mdr@ashroe.eu>, <conor.walsh@intel.com>,\n <kevin.laatz@intel.com>, <bruce.richardson@intel.com>",
        "Date": "Thu, 21 Oct 2021 20:59:38 +0800",
        "Message-ID": "<20211021125938.52401-3-fengchengwen@huawei.com>",
        "X-Mailer": "git-send-email 2.33.0",
        "In-Reply-To": "<20211021125938.52401-1-fengchengwen@huawei.com>",
        "References": "<20211020065944.19617-1-david.marchand@redhat.com>\n <20211021125938.52401-1-fengchengwen@huawei.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[10.67.165.24]",
        "X-ClientProxiedBy": "dggems702-chm.china.huawei.com (10.3.19.179) To\n dggpeml500024.china.huawei.com (7.185.36.10)",
        "X-CFilter-Loop": "Reflected",
        "Subject": "[dpdk-dev] [PATCH v2 3/3] dmadev: fix compile error in debug mode",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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": "This patch fix compile error when enable RTE_DMADEV_DEBUG.\n\nFixes: ea8cf0f8536d (\"dmadev: add burst capacity API\")\n\nSigned-off-by: Chengwen Feng <fengchengwen@huawei.com>\n---\n lib/dmadev/rte_dmadev.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/dmadev/rte_dmadev.h b/lib/dmadev/rte_dmadev.h\nindex f5d23017b1..9942c6ec21 100644\n--- a/lib/dmadev/rte_dmadev.h\n+++ b/lib/dmadev/rte_dmadev.h\n@@ -1126,7 +1126,7 @@ rte_dma_burst_capacity(int16_t dev_id, uint16_t vchan)\n #ifdef RTE_DMADEV_DEBUG\n \tif (!rte_dma_is_valid(dev_id))\n \t\treturn 0;\n-\tRTE_FUNC_PTR_OR_ERR_RET(*obbj->burst_capacity, 0);\n+\tRTE_FUNC_PTR_OR_ERR_RET(*obj->burst_capacity, 0);\n #endif\n \treturn (*obj->burst_capacity)(obj->dev_private, vchan);\n }\n",
    "prefixes": [
        "v2",
        "3/3"
    ]
}