get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 53315,
    "url": "http://patches.dpdk.org/api/patches/53315/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/dec422f0804032c9ae227f81bf6d292d4dab8ef7.1557303531.git.dekelp@mellanox.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": "<dec422f0804032c9ae227f81bf6d292d4dab8ef7.1557303531.git.dekelp@mellanox.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/dec422f0804032c9ae227f81bf6d292d4dab8ef7.1557303531.git.dekelp@mellanox.com",
    "date": "2019-05-08T08:29:40",
    "name": "[v4,3/4] net/mlx5: fix description of function return value",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "134dcbda0e11e61ddc8bc3707965faafbabf89b8",
    "submitter": {
        "id": 1082,
        "url": "http://patches.dpdk.org/api/people/1082/?format=api",
        "name": "Dekel Peled",
        "email": "dekelp@mellanox.com"
    },
    "delegate": {
        "id": 6624,
        "url": "http://patches.dpdk.org/api/users/6624/?format=api",
        "username": "shahafs",
        "first_name": "Shahaf",
        "last_name": "Shuler",
        "email": "shahafs@mellanox.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/dec422f0804032c9ae227f81bf6d292d4dab8ef7.1557303531.git.dekelp@mellanox.com/mbox/",
    "series": [
        {
            "id": 4593,
            "url": "http://patches.dpdk.org/api/series/4593/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4593",
            "date": "2019-05-08T08:29:37",
            "name": "net/mlx5: code cleanup in rx and tx files",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/4593/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/53315/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/53315/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id A2FCD4D3A;\n\tWed,  8 May 2019 10:36:59 +0200 (CEST)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n\tby dpdk.org (Postfix) with ESMTP id A8DA44CA0\n\tfor <dev@dpdk.org>; Wed,  8 May 2019 10:36:56 +0200 (CEST)",
            "from Internal Mail-Server by MTLPINE2 (envelope-from\n\tdekelp@mellanox.com)\n\twith ESMTPS (AES256-SHA encrypted); 8 May 2019 11:32:56 +0300",
            "from mtl-vdi-280.wap.labs.mlnx. (mtl-vdi-280.wap.labs.mlnx\n\t[10.128.130.87])\n\tby labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x488WZC9008121;\n\tWed, 8 May 2019 11:32:56 +0300"
        ],
        "From": "Dekel Peled <dekelp@mellanox.com>",
        "To": "yskoh@mellanox.com, shahafs@mellanox.com",
        "Cc": "dev@dpdk.org, stable@dpdk.org",
        "Date": "Wed,  8 May 2019 11:29:40 +0300",
        "Message-Id": "<dec422f0804032c9ae227f81bf6d292d4dab8ef7.1557303531.git.dekelp@mellanox.com>",
        "X-Mailer": "git-send-email 1.7.1",
        "In-Reply-To": "<cover.1557303531.git.dekelp@mellanox.com>",
        "References": "<cover.1557061532.git.dekelp@mellanox.com>\n\t<cover.1557303531.git.dekelp@mellanox.com>",
        "Subject": "[dpdk-dev] [PATCH v4 3/4] net/mlx5: fix description of function\n\treturn value",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Return value of function mlx5_rxq_releasable() was not described\ncorrectly in function description.\n\nThis patch updates the description to correctly describe the optional\nreturn values.\n\nFixes: a6d83b6a9209 (\"net/mlx5: standardize on negative errno values\")\ncc: stable@dpdk.org\n\nSigned-off-by: Dekel Peled <dekelp@mellanox.com>\nAcked-by: Shahaf Shuler <shahafs@mellanox.com>\nAcked-by: Yongseok Koh <yskoh@mellanox.com>\n---\n drivers/net/mlx5/mlx5_rxq.c | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/mlx5/mlx5_rxq.c b/drivers/net/mlx5/mlx5_rxq.c\nindex f595e7a..f10e896 100644\n--- a/drivers/net/mlx5/mlx5_rxq.c\n+++ b/drivers/net/mlx5/mlx5_rxq.c\n@@ -1527,8 +1527,9 @@ struct mlx5_rxq_ctrl *\n  *   RX queue index.\n  *\n  * @return\n- *   1 if the queue can be released, negative errno otherwise and rte_errno is\n- *   set.\n+ *   1 if the queue can be released\n+ *   0 if the queue can not be released, there are references to it.\n+ *   Negative errno and rte_errno is set if queue doesn't exist.\n  */\n int\n mlx5_rxq_releasable(struct rte_eth_dev *dev, uint16_t idx)\n",
    "prefixes": [
        "v4",
        "3/4"
    ]
}