get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 55740,
    "url": "http://patches.dpdk.org/api/patches/55740/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1561968024-16133-3-git-send-email-lironh@marvell.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": "<1561968024-16133-3-git-send-email-lironh@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1561968024-16133-3-git-send-email-lironh@marvell.com",
    "date": "2019-07-01T08:00:23",
    "name": "[v3,2/3] net/mvneta: reset stats during device initialization",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "ab5188da556a2f74b9539a8be74b2eb80ace8eee",
    "submitter": {
        "id": 996,
        "url": "http://patches.dpdk.org/api/people/996/?format=api",
        "name": "Liron Himi",
        "email": "lironh@marvell.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1561968024-16133-3-git-send-email-lironh@marvell.com/mbox/",
    "series": [
        {
            "id": 5238,
            "url": "http://patches.dpdk.org/api/series/5238/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5238",
            "date": "2019-07-01T08:00:21",
            "name": "net/mvneta: minor updates",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/5238/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/55740/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/55740/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 EA01A1B952;\n\tMon,  1 Jul 2019 07:47:08 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n\t[67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 49C275680\n\tfor <dev@dpdk.org>; Mon,  1 Jul 2019 07:47:05 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n\tby mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id\n\tx615jY08026572 for <dev@dpdk.org>; Sun, 30 Jun 2019 22:47:04 -0700",
            "from sc-exch01.marvell.com ([199.233.58.181])\n\tby mx0a-0016f401.pphosted.com with ESMTP id 2te5bn656s-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n\tfor <dev@dpdk.org>; Sun, 30 Jun 2019 22:47:04 -0700",
            "from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH01.marvell.com\n\t(10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3;\n\tSun, 30 Jun 2019 22:47:03 -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; Sun, 30 Jun 2019 22:47:03 -0700",
            "from pt-lxl0023.marvell.com (pt-lxl0023.marvell.com [10.5.213.12])\n\tby maili.marvell.com (Postfix) with ESMTP id 78A1D3F704A;\n\tSun, 30 Jun 2019 22:47:02 -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 : in-reply-to : references : mime-version\n\t: content-type; s=pfpt0818;\n\tbh=W/shgTZ2X9HnsPVp6w3dv0SjAFcogOmiYEGYDvevY9o=; \n\tb=qqhTdLfI+UoZ1vdUFx3T7o2NRTQONDewXA+4dPCpRLLgjYHl07EhuC52g+uMLa/1fmXK\n\tCFJl12+Df5uFFzcNgJ7am6sz1dCaUQph77BRlXY/wBqprf01eefdIxyTjXFvFTmVVYHy\n\t/OurMq4yjgJ/iLTv/9DxRTMJqLjmGBKU+0qWoIDS4FULTCziRB/hFBAjI0A6t4NpCN39\n\thR3jdoD+99ePd8zbZp2nwoXVOGpHJdZYNB+wHB8g0A5m8Empvazg9wHri5p0gNmtlPzq\n\tfY5zk51NPWv5z1zq5xhRqvFm2dat1rBOLVMtKVuhBRubPC/cFGFG/hJViIrBFWeVTC3r\n\tyA== ",
        "From": "<lironh@marvell.com>",
        "To": "<jerinj@marvell.com>",
        "CC": "<dev@dpdk.org>, Yuri Chipchev <yuric@marvell.com>",
        "Date": "Mon, 1 Jul 2019 11:00:23 +0300",
        "Message-ID": "<1561968024-16133-3-git-send-email-lironh@marvell.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1561968024-16133-1-git-send-email-lironh@marvell.com>",
        "References": "<1560434305-9359-1-git-send-email-lironh@marvell.com>\n\t<1561968024-16133-1-git-send-email-lironh@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:, ,\n\tdefinitions=2019-07-01_04:, , signatures=0",
        "Subject": "[dpdk-dev] [PATCH v3 2/3] net/mvneta: reset stats during device\n\tinitialization",
        "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: Yuri Chipchev <yuric@marvell.com>\n\nreset device statistics on device initialization\n\nSigned-off-by: Yuri Chipchev <yuric@marvell.com>\nReviewed-by: Liron Himi <lironh@marvell.com>\nTested-by: Yuri Chipchev <yuric@marvell.com>\n---\n drivers/net/mvneta/mvneta_ethdev.c | 4 ++++\n 1 file changed, 4 insertions(+)",
    "diff": "diff --git a/drivers/net/mvneta/mvneta_ethdev.c b/drivers/net/mvneta/mvneta_ethdev.c\nindex d6e64a8..f324d93 100644\n--- a/drivers/net/mvneta/mvneta_ethdev.c\n+++ b/drivers/net/mvneta/mvneta_ethdev.c\n@@ -57,6 +57,8 @@ struct mvneta_ifnames {\n \n static int mvneta_dev_num;\n \n+static void mvneta_stats_reset(struct rte_eth_dev *dev);\n+\n /**\n  * Deinitialize packet processor.\n  */\n@@ -359,6 +361,8 @@ mvneta_dev_start(struct rte_eth_dev *dev)\n \t}\n \tpriv->ppio_id = priv->ppio->port_id;\n \n+\tmvneta_stats_reset(dev);\n+\n \t/*\n \t * In case there are some some stale uc/mc mac addresses flush them\n \t * here. It cannot be done during mvneta_dev_close() as port information\n",
    "prefixes": [
        "v3",
        "2/3"
    ]
}