get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 40739,
    "url": "http://patchwork.dpdk.org/api/patches/40739/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20180607094322.14312-26-mk@semihalf.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20180607094322.14312-26-mk@semihalf.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180607094322.14312-26-mk@semihalf.com",
    "date": "2018-06-07T09:43:21",
    "name": "[dpdk-dev,v3,26/27] net/ena: store handle after memory allocation",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "7bb875a8ec06cf6471f8a09318b4145eb2c86b9b",
    "submitter": {
        "id": 786,
        "url": "http://patchwork.dpdk.org/api/people/786/?format=api",
        "name": "Michal Krawczyk",
        "email": "mk@semihalf.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patchwork.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20180607094322.14312-26-mk@semihalf.com/mbox/",
    "series": [
        {
            "id": 26,
            "url": "http://patchwork.dpdk.org/api/series/26/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=26",
            "date": "2018-06-07T09:43:00",
            "name": "net/ena: new features and fixes",
            "version": 3,
            "mbox": "http://patchwork.dpdk.org/series/26/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/40739/comments/",
    "check": "fail",
    "checks": "http://patchwork.dpdk.org/api/patches/40739/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 0078E1B422;\n\tThu,  7 Jun 2018 11:44:29 +0200 (CEST)",
            "from mail-lf0-f66.google.com (mail-lf0-f66.google.com\n\t[209.85.215.66]) by dpdk.org (Postfix) with ESMTP id 12EDD1B1F9\n\tfor <dev@dpdk.org>; Thu,  7 Jun 2018 11:44:27 +0200 (CEST)",
            "by mail-lf0-f66.google.com with SMTP id o9-v6so13665830lfk.1\n\tfor <dev@dpdk.org>; Thu, 07 Jun 2018 02:44:27 -0700 (PDT)",
            "from mkPC.semihalf.local (31-172-191-173.noc.fibertech.net.pl.\n\t[31.172.191.173]) by smtp.gmail.com with ESMTPSA id\n\tp28-v6sm3612368lfh.24.2018.06.07.02.44.24\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 07 Jun 2018 02:44:24 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=semihalf-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=+AjmDI6aZ+QubT5ck1FpgVnjT3GHwZVKE5nMgqdKLD8=;\n\tb=ej3LFw1qaZ1RNHpoamJBn5BuKchgXtME0+J4HW47PDt/0XbE9S3I4hJvkDcC4yunNe\n\tTAkjJHhEdOCBdyIWEMYc7NDuxx+mZBTPK3mR2FbZVha8mczb+C3W5MJU8oR2fhAEurEY\n\tv8zXeKJCDdyuAeJZB//t2snv2kp6vedZ3daDtKQ7xNjxOAoSqUVUXVShTjzwUEsbtAex\n\tjvpKcG5GoD577uCfXG9g7TSuYBiL/CwhXyXsu80S+lG2bhAIXP+JTvCUEkHSMAEzq7q3\n\tpMG3LQjbHiuRktfN9yFEvImncVRo1EoxcTtIswoyvwgVq1nQDiynsCzqh5Xe4yw15SmV\n\tq8oQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=+AjmDI6aZ+QubT5ck1FpgVnjT3GHwZVKE5nMgqdKLD8=;\n\tb=JcvDZ5Zw6FASN+vit6pn6hOwYcblBLdaiN7LdzA1DghFJS6JV791zWk66ahVaUTnQu\n\txDP7YNCBqpse0evFphTCbx1vd7MHJQcgEEkeOoZjmu5eJiv6b0Vvnc1PpdK14ufh3K/f\n\tHfIngZ7TIiBRm95Mc5X6hAB0ZzQNxpZEeLGkYTT4w9SUPYqxACKIW16OcPmFvS8pZepR\n\tQBIUoOr+0Fxfnm/qicKG+isG1x8EDSLmwx9jemQ8Ryi4r+dztPNg581gg1S8Gl6lzBW8\n\taeKmSJOaWEf226K9Ud0p7Io/wFtUHmUahihnv76L5jVIL6536YwGcthBXsPyOvPwQmI4\n\tWaGA==",
        "X-Gm-Message-State": "APt69E2WbBaY4myQ2zIwfiPys1QDcJk6nzuDHCOSoDmS++XTGarPhP/T\n\tYaaXgwx+bdgDG02B5VvKHIIZfw==",
        "X-Google-Smtp-Source": "ADUXVKL9ce+wsaWHxlCkd0Na4113kt4u5bt9H60qGmyyyz+lj1odHSKEDrQEZLt9EYcmCrNJ1fAttQ==",
        "X-Received": "by 2002:a19:9dca:: with SMTP id\n\tg193-v6mr865415lfe.65.1528364666738; \n\tThu, 07 Jun 2018 02:44:26 -0700 (PDT)",
        "From": "Michal Krawczyk <mk@semihalf.com>",
        "To": "Marcin Wojtas <mw@semihalf.com>, Michal Krawczyk <mk@semihalf.com>,\n\tGuy Tzalik <gtzalik@amazon.com>, Evgeny Schemeilin <evgenys@amazon.com>",
        "Cc": "dev@dpdk.org,\n\tmatua@amazon.com",
        "Date": "Thu,  7 Jun 2018 11:43:21 +0200",
        "Message-Id": "<20180607094322.14312-26-mk@semihalf.com>",
        "X-Mailer": "git-send-email 2.14.1",
        "In-Reply-To": "<20180607094322.14312-1-mk@semihalf.com>",
        "References": "<20180607094322.14312-1-mk@semihalf.com>",
        "Subject": "[dpdk-dev] [PATCH v3 26/27] net/ena: store handle after memory\n\tallocation",
        "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://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "The pointer received from rte_memzone_reserve from macro\nENA_MEM_ALLOC_COHERENT_NODE was not stored anywhere, and as a result\nmemory allocated by this macro could not been released.\n\nSigned-off-by: Michal Krawczyk <mk@semihalf.com>\n---\n drivers/net/ena/base/ena_plat_dpdk.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ena/base/ena_plat_dpdk.h b/drivers/net/ena/base/ena_plat_dpdk.h\nindex 8a04e84b9..900ba1a6b 100644\n--- a/drivers/net/ena/base/ena_plat_dpdk.h\n+++ b/drivers/net/ena/base/ena_plat_dpdk.h\n@@ -237,6 +237,7 @@ extern uint32_t ena_alloc_cnt;\n \t\t\t\t\"ena_alloc_%d\", ena_alloc_cnt++);\t\\\n \t\tmz = rte_memzone_reserve(z_name, size, node,\t\t\\\n \t\t\t\tRTE_MEMZONE_IOVA_CONTIG);\t\t\\\n+\t\tmem_handle = mz;\t\t\t\t\t\\\n \t\tif (mz == NULL) {\t\t\t\t\t\\\n \t\t\tvirt = NULL;\t\t\t\t\t\\\n \t\t\tphys = 0;\t\t\t\t\t\\\n@@ -245,7 +246,6 @@ extern uint32_t ena_alloc_cnt;\n \t\t\tvirt = mz->addr;\t\t\t\t\\\n \t\t\tphys = mz->iova;\t\t\t\t\\\n \t\t}\t\t\t\t\t\t\t\\\n-\t\t(void)mem_handle;\t\t\t\t\t\\\n \t} while (0)\n \n #define ENA_MEM_ALLOC_NODE(dmadev, size, virt, node, dev_node) \\\n",
    "prefixes": [
        "dpdk-dev",
        "v3",
        "26/27"
    ]
}