get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 28044,
    "url": "https://patches.dpdk.org/api/patches/28044/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20170829022657.67990-1-wei.zhao1@intel.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": "<20170829022657.67990-1-wei.zhao1@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20170829022657.67990-1-wei.zhao1@intel.com",
    "date": "2017-08-29T02:26:57",
    "name": "[dpdk-dev,v2,2/2] net/i40e: add support of reset stats in vf port",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "5648e6ff31a1c701487b7ea06904dd8f2fbb1552",
    "submitter": {
        "id": 495,
        "url": "https://patches.dpdk.org/api/people/495/?format=api",
        "name": "Zhao1, Wei",
        "email": "wei.zhao1@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20170829022657.67990-1-wei.zhao1@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/28044/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/28044/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 507032BAC;\n\tTue, 29 Aug 2017 04:32:57 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id D271C11F5\n\tfor <dev@dpdk.org>; Tue, 29 Aug 2017 04:32:55 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t28 Aug 2017 19:32:54 -0700",
            "from dpdk2.bj.intel.com ([172.16.182.198])\n\tby orsmga002.jf.intel.com with ESMTP; 28 Aug 2017 19:32:53 -0700"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.41,443,1498546800\"; d=\"scan'208\";a=\"129272378\"",
        "From": "Wei Zhao <wei.zhao1@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "root <root@dpdk2.bj.intel.com>,\n\tWei Zhao <wei.zhao1@intel.com>",
        "Date": "Tue, 29 Aug 2017 10:26:57 +0800",
        "Message-Id": "<20170829022657.67990-1-wei.zhao1@intel.com>",
        "X-Mailer": "git-send-email 2.9.3",
        "Subject": "[dpdk-dev] [PATCH v2 2/2] net/i40e: add support of reset stats in\n\tvf port",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<http://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": "<http://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": "From: root <root@dpdk2.bj.intel.com>\n\nAdd a new support of reset stats statics in vf port.\n\nSigned-off-by: Wei Zhao <wei.zhao1@intel.com>\n---\n drivers/net/i40e/i40e_ethdev_vf.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c\nindex d7a9c03..3944443 100644\n--- a/drivers/net/i40e/i40e_ethdev_vf.c\n+++ b/drivers/net/i40e/i40e_ethdev_vf.c\n@@ -199,6 +199,7 @@ static const struct eth_dev_ops i40evf_eth_dev_ops = {\n \t.allmulticast_disable = i40evf_dev_allmulticast_disable,\n \t.link_update          = i40evf_dev_link_update,\n \t.stats_get            = i40evf_dev_stats_get,\n+\t.stats_reset          = i40evf_dev_xstats_reset,\n \t.xstats_get           = i40evf_dev_xstats_get,\n \t.xstats_get_names     = i40evf_dev_xstats_get_names,\n \t.xstats_reset         = i40evf_dev_xstats_reset,\n",
    "prefixes": [
        "dpdk-dev",
        "v2",
        "2/2"
    ]
}