get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 86027,
    "url": "http://patches.dpdk.org/api/patches/86027/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1609921181-5019-4-git-send-email-michaelba@nvidia.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": "<1609921181-5019-4-git-send-email-michaelba@nvidia.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1609921181-5019-4-git-send-email-michaelba@nvidia.com",
    "date": "2021-01-06T08:19:25",
    "name": "[v3,03/19] net/mlx5: fix ASO SQ creation error flow",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "d03d8e6009e0033d37aba5caa15e6a69c9a1c4ab",
    "submitter": {
        "id": 1949,
        "url": "http://patches.dpdk.org/api/people/1949/?format=api",
        "name": "Michael Baum",
        "email": "michaelba@nvidia.com"
    },
    "delegate": {
        "id": 3268,
        "url": "http://patches.dpdk.org/api/users/3268/?format=api",
        "username": "rasland",
        "first_name": "Raslan",
        "last_name": "Darawsheh",
        "email": "rasland@nvidia.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1609921181-5019-4-git-send-email-michaelba@nvidia.com/mbox/",
    "series": [
        {
            "id": 14550,
            "url": "http://patches.dpdk.org/api/series/14550/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=14550",
            "date": "2021-01-06T08:19:22",
            "name": "common/mlx5: share DevX resources creations",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/14550/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/86027/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/86027/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 (xvm-189-124.dc0.ghst.net [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 64EE4A09FF;\n\tWed,  6 Jan 2021 09:20:44 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D75D71606D8;\n\tWed,  6 Jan 2021 09:20:42 +0100 (CET)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by mails.dpdk.org (Postfix) with ESMTP id 7320A1606D8\n for <dev@dpdk.org>; Wed,  6 Jan 2021 09:20:41 +0100 (CET)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n michaelba@nvidia.com) with SMTP; 6 Jan 2021 10:20:37 +0200",
            "from nvidia.com (pegasus07.mtr.labs.mlnx [10.210.16.112])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 1068KAgW009291;\n Wed, 6 Jan 2021 10:20:37 +0200"
        ],
        "From": "Michael Baum <michaelba@nvidia.com>",
        "To": "dev@dpdk.org",
        "Cc": "Matan Azrad <matan@nvidia.com>, Raslan Darawsheh <rasland@nvidia.com>,\n Viacheslav Ovsiienko <viacheslavo@nvidia.com>, stable@dpdk.org",
        "Date": "Wed,  6 Jan 2021 08:19:25 +0000",
        "Message-Id": "<1609921181-5019-4-git-send-email-michaelba@nvidia.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1609921181-5019-1-git-send-email-michaelba@nvidia.com>",
        "References": "<1609231944-29274-2-git-send-email-michaelba@nvidia.com>\n <1609921181-5019-1-git-send-email-michaelba@nvidia.com>",
        "Subject": "[dpdk-dev] [PATCH v3 03/19] net/mlx5: fix ASO SQ creation error flow",
        "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": "In ASO SQ creation, the PMD allocates umem buffer for SQ.\n\nWhen umem buffer allocation is fails, the MR and CQ memory are not freed\nwhat caused a memory leak.\n\nFree it.\n\nFixes: f935ed4b645a (\"net/mlx5: support flow hit action for aging\")\nCc: stable@dpdk.org\n\nSigned-off-by: Michael Baum <michaelba@nvidia.com>\nAcked-by: Matan Azrad <matan@nvidia.com>\n---\n drivers/net/mlx5/mlx5_flow_age.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/mlx5/mlx5_flow_age.c b/drivers/net/mlx5/mlx5_flow_age.c\nindex 1f15f19..e867607 100644\n--- a/drivers/net/mlx5/mlx5_flow_age.c\n+++ b/drivers/net/mlx5/mlx5_flow_age.c\n@@ -279,7 +279,8 @@\n \t\t\t\t   sizeof(*sq->db_rec) * 2, 4096, socket);\n \tif (!sq->umem_buf) {\n \t\tDRV_LOG(ERR, \"Can't allocate wqe buffer.\");\n-\t\treturn -ENOMEM;\n+\t\trte_errno = ENOMEM;\n+\t\tgoto error;\n \t}\n \tsq->wqe_umem = mlx5_os_umem_reg(ctx,\n \t\t\t\t\t\t(void *)(uintptr_t)sq->umem_buf,\n",
    "prefixes": [
        "v3",
        "03/19"
    ]
}