get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 57521,
    "url": "https://patches.dpdk.org/api/patches/57521/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1565183529-641-1-git-send-email-agupta3@marvell.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": "<1565183529-641-1-git-send-email-agupta3@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1565183529-641-1-git-send-email-agupta3@marvell.com",
    "date": "2019-08-07T13:12:09",
    "name": "app/testpmd: fix latencystats deinit on signal",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "d8a9c0dc5faa27df80c8cbb161b3e193891a4f75",
    "submitter": {
        "id": 1381,
        "url": "https://patches.dpdk.org/api/people/1381/?format=api",
        "name": "Amit Gupta",
        "email": "agupta3@marvell.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1565183529-641-1-git-send-email-agupta3@marvell.com/mbox/",
    "series": [
        {
            "id": 5971,
            "url": "https://patches.dpdk.org/api/series/5971/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=5971",
            "date": "2019-08-07T13:12:09",
            "name": "app/testpmd: fix latencystats deinit on signal",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/5971/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/57521/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/57521/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 EB33D2BD8;\n\tWed,  7 Aug 2019 15:12:18 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n\t[67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 9E0B02BD3;\n\tWed,  7 Aug 2019 15:12:17 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n\tby mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id\n\tx77DBMCd018093; Wed, 7 Aug 2019 06:12:16 -0700",
            "from sc-exch04.marvell.com ([199.233.58.184])\n\tby mx0a-0016f401.pphosted.com with ESMTP id 2u57mr84rs-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); \n\tWed, 07 Aug 2019 06:12:16 -0700",
            "from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH04.marvell.com\n\t(10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3;\n\tWed, 7 Aug 2019 06:12:15 -0700",
            "from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com\n\t(10.93.176.83) with Microsoft SMTP Server id 15.0.1367.3 via Frontend\n\tTransport; Wed, 7 Aug 2019 06:12:15 -0700",
            "from dc7-eodlnx01.marvell.com (dc7-eodlnx01.marvell.com\n\t[10.28.113.51])\n\tby maili.marvell.com (Postfix) with ESMTP id 906D93F7040;\n\tWed,  7 Aug 2019 06:12:13 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n\th=from : to : cc :\n\tsubject : date : message-id : mime-version : content-type; s=pfpt0818;\n\tbh=H4ZXD2WAsD3UKNBkGsDio+WXNTdsJGYJEDaabBjwh3Y=;\n\tb=GUpIxgKq4fgW0bletkTHzX631RoumDx80IdpxLUQ4SvPKFt9F13V2IcHvGzxQsQJnVB7\n\tjExoHrvhmgP4Wyn3X0KZjI5L+Rx3idgGGgZsB5Wq6aYBazKKLSHpIxWmVJeRKqccwjaO\n\ttXB1WBZgjpsmSBO1LqQQgHmIQqBh+4mvRN6zk7OBfM5xRGXepVKMwZnNJAST3wwHGtCW\n\tvgWqkOMT9HCP1zVOpI0mqu1nBpsaN0S/DBMSepW1r0UTKjIjwV08GLuz/7QA9ompmFna\n\t6vaMBLo7I53WGfu/TuT7X/nxsXLyuCLh72CYOQ4yTrmEMfG19wflvdQ8NBNbS6UJxip0\n\t/A== ",
        "From": "<agupta3@marvell.com>",
        "To": "Wenzhuo Lu <wenzhuo.lu@intel.com>, Jingjing Wu <jingjing.wu@intel.com>, \n\tBernard Iremonger <bernard.iremonger@intel.com>",
        "CC": "<dev@dpdk.org>, <stable@dpdk.org>, Amit Gupta <agupta3@marvell.com>",
        "Date": "Wed, 7 Aug 2019 18:42:09 +0530",
        "Message-ID": "<1565183529-641-1-git-send-email-agupta3@marvell.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:5.22.84,1.0.8\n\tdefinitions=2019-08-07_03:2019-08-07,2019-08-07 signatures=0",
        "Subject": "[dpdk-dev] [PATCH] app/testpmd: fix latencystats deinit on signal",
        "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": "From: Amit Gupta <agupta3@marvell.com>\n\nOn receiving signal, testpmd showing warning as\n\"LATENCY_STATS: failed to remove Rx/Tx callback\"\nbecause rte_latencystats_uninit is called without\nchecking if latencystats is enabled or not.\n\nAfter this fix, rte_latencystats_uninit will be\ncalled onlyif latencystats is enabled.\n\nFixes: 62d3216d6194 (\"app/testpmd: add latency statistics calculation\")\nCc: stable@dpdk.org\n\nSigned-off-by: Amit Gupta <agupta3@marvell.com>\n---\n app/test-pmd/testpmd.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c\nindex a461cef..e8e2a39 100644\n--- a/app/test-pmd/testpmd.c\n+++ b/app/test-pmd/testpmd.c\n@@ -3212,7 +3212,8 @@ uint8_t port_is_bonding_slave(portid_t slave_pid)\n \t\trte_pdump_uninit();\n #endif\n #ifdef RTE_LIBRTE_LATENCY_STATS\n-\t\trte_latencystats_uninit();\n+\t\tif (latencystats_enabled != 0)\n+\t\t\trte_latencystats_uninit();\n #endif\n \t\tforce_quit();\n \t\t/* Set flag to indicate the force termination. */\n",
    "prefixes": []
}