get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 53226,
    "url": "https://patches.dpdk.org/api/patches/53226/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/c49673972995d19ed36c6cdd8f44388b282fff68.1556809050.git.dekelp@mellanox.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<c49673972995d19ed36c6cdd8f44388b282fff68.1556809050.git.dekelp@mellanox.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/c49673972995d19ed36c6cdd8f44388b282fff68.1556809050.git.dekelp@mellanox.com",
    "date": "2019-05-02T15:01:56",
    "name": "[v2,3/4] net/mlx5: fix description of function return value",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "134dcbda0e11e61ddc8bc3707965faafbabf89b8",
    "submitter": {
        "id": 1082,
        "url": "https://patches.dpdk.org/api/people/1082/?format=api",
        "name": "Dekel Peled",
        "email": "dekelp@mellanox.com"
    },
    "delegate": {
        "id": 6624,
        "url": "https://patches.dpdk.org/api/users/6624/?format=api",
        "username": "shahafs",
        "first_name": "Shahaf",
        "last_name": "Shuler",
        "email": "shahafs@mellanox.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/c49673972995d19ed36c6cdd8f44388b282fff68.1556809050.git.dekelp@mellanox.com/mbox/",
    "series": [
        {
            "id": 4545,
            "url": "https://patches.dpdk.org/api/series/4545/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=4545",
            "date": "2019-05-02T15:01:53",
            "name": "net/mlx5: code cleanup in rx and tx files",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/4545/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/53226/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/53226/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Subject": "[dpdk-dev] [PATCH v2 3/4] net/mlx5: fix description of function\n\treturn value",
        "List-Post": "<mailto:dev@dpdk.org>",
        "X-Mailer": "git-send-email 1.7.1",
        "X-Original-To": "patchwork@dpdk.org",
        "Cc": "dev@dpdk.org, stable@dpdk.org",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "From": "Dekel Peled <dekelp@mellanox.com>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-BeenThere": "dev@dpdk.org",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "Date": "Thu,  2 May 2019 18:01:56 +0300",
        "Precedence": "list",
        "In-Reply-To": "<cover.1556809050.git.dekelp@mellanox.com>",
        "Message-Id": "<c49673972995d19ed36c6cdd8f44388b282fff68.1556809050.git.dekelp@mellanox.com>",
        "X-Mailman-Version": "2.1.15",
        "Errors-To": "dev-bounces@dpdk.org",
        "References": "<cover.1556534247.git.dekelp@mellanox.com>\n\t<cover.1556809050.git.dekelp@mellanox.com>",
        "Delivered-To": "patchwork@dpdk.org",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 24A2A1B13B;\n\tThu,  2 May 2019 17:04:57 +0200 (CEST)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n\tby dpdk.org (Postfix) with ESMTP id EA21D1B117\n\tfor <dev@dpdk.org>; Thu,  2 May 2019 17:04:50 +0200 (CEST)",
            "from Internal Mail-Server by MTLPINE2 (envelope-from\n\tdekelp@mellanox.com)\n\twith ESMTPS (AES256-SHA encrypted); 2 May 2019 18:04:49 +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 x42F4ilV009153;\n\tThu, 2 May 2019 18:04:48 +0300"
        ],
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "To": "yskoh@mellanox.com, shahafs@mellanox.com"
    },
    "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>\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 c9c2a14..a547f2a 100644\n--- a/drivers/net/mlx5/mlx5_rxq.c\n+++ b/drivers/net/mlx5/mlx5_rxq.c\n@@ -1546,8 +1546,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": [
        "v2",
        "3/4"
    ]
}