get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 57006,
    "url": "https://patches.dpdk.org/api/patches/57006/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/bae967a6f3c07e5a417226a9d4fb2781b4a42235.1563958922.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": "<bae967a6f3c07e5a417226a9d4fb2781b4a42235.1563958922.git.dekelp@mellanox.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/bae967a6f3c07e5a417226a9d4fb2781b4a42235.1563958922.git.dekelp@mellanox.com",
    "date": "2019-07-24T09:05:11",
    "name": "[v3] net/mlx5: fix Rx queue release of resources",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "4af22222cb1eb5daec1be37dbabf483591c94a7d",
    "submitter": {
        "id": 1082,
        "url": "https://patches.dpdk.org/api/people/1082/?format=api",
        "name": "Dekel Peled",
        "email": "dekelp@mellanox.com"
    },
    "delegate": {
        "id": 3268,
        "url": "https://patches.dpdk.org/api/users/3268/?format=api",
        "username": "rasland",
        "first_name": "Raslan",
        "last_name": "Darawsheh",
        "email": "rasland@nvidia.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/bae967a6f3c07e5a417226a9d4fb2781b4a42235.1563958922.git.dekelp@mellanox.com/mbox/",
    "series": [
        {
            "id": 5695,
            "url": "https://patches.dpdk.org/api/series/5695/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=5695",
            "date": "2019-07-24T09:05:11",
            "name": "[v3] net/mlx5: fix Rx queue release of resources",
            "version": 3,
            "mbox": "https://patches.dpdk.org/series/5695/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/57006/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/57006/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 091431C1AF;\n\tWed, 24 Jul 2019 11:05:41 +0200 (CEST)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n\tby dpdk.org (Postfix) with ESMTP id 043BF1C1AD\n\tfor <dev@dpdk.org>; Wed, 24 Jul 2019 11:05:39 +0200 (CEST)",
            "from Internal Mail-Server by MTLPINE2 (envelope-from\n\tdekelp@mellanox.com)\n\twith ESMTPS (AES256-SHA encrypted); 24 Jul 2019 12:05:35 +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 x6O95VAI018352;\n\tWed, 24 Jul 2019 12:05:35 +0300"
        ],
        "From": "Dekel Peled <dekelp@mellanox.com>",
        "To": "yskoh@mellanox.com, viacheslavo@mellanox.com, shahafs@mellanox.com",
        "Cc": "orika@mellanox.com, dev@dpdk.org",
        "Date": "Wed, 24 Jul 2019 12:05:11 +0300",
        "Message-Id": "<bae967a6f3c07e5a417226a9d4fb2781b4a42235.1563958922.git.dekelp@mellanox.com>",
        "X-Mailer": "git-send-email 1.7.1",
        "In-Reply-To": "<657215c5e0635b452d5245cd0bfbdcf8315baf6a.1563958238.git.dekelp@mellanox.com>",
        "References": "<657215c5e0635b452d5245cd0bfbdcf8315baf6a.1563958238.git.dekelp@mellanox.com>",
        "Subject": "[dpdk-dev] [PATCH v3] net/mlx5: fix Rx queue release of resources",
        "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": "Function rxq_release_rq_resources() releases resources of RQ object\ncreated by DevX API.\n\nThis patch updates this function to properly clear the released\nresources, to avoid repeated release of the same resource.\n\nFixes: 13f4e1b32137 (\"net/mlx5: create advanced RxQ using new API\")\n\n---\nv3: Use adequate 'Fixes' reference.\n---\n\nSigned-off-by: Dekel Peled <dekelp@mellanox.com>\nAcked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>\n---\n drivers/net/mlx5/mlx5_rxq.c | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/mlx5/mlx5_rxq.c b/drivers/net/mlx5/mlx5_rxq.c\nindex c9df8b0..441f158 100644\n--- a/drivers/net/mlx5/mlx5_rxq.c\n+++ b/drivers/net/mlx5/mlx5_rxq.c\n@@ -573,8 +573,10 @@\n \t\trte_free((void *)(uintptr_t)rxq_ctrl->rxq.wqes);\n \t\trxq_ctrl->rxq.wqes = NULL;\n \t}\n-\tif (rxq_ctrl->wq_umem)\n+\tif (rxq_ctrl->wq_umem) {\n \t\tmlx5_glue->devx_umem_dereg(rxq_ctrl->wq_umem);\n+\t\trxq_ctrl->wq_umem = NULL;\n+\t}\n }\n \n /**\n",
    "prefixes": [
        "v3"
    ]
}