get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 57082,
    "url": "http://patches.dpdk.org/api/patches/57082/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1564046068-21905-5-git-send-email-david.marchand@redhat.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": "<1564046068-21905-5-git-send-email-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1564046068-21905-5-git-send-email-david.marchand@redhat.com",
    "date": "2019-07-25T09:14:24",
    "name": "[4/8] net/virtio: remove unused Tx error counter",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "f502b0169840ef237dc4a18e739531d67ad7d8c8",
    "submitter": {
        "id": 1173,
        "url": "http://patches.dpdk.org/api/people/1173/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@redhat.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/1564046068-21905-5-git-send-email-david.marchand@redhat.com/mbox/",
    "series": [
        {
            "id": 5740,
            "url": "http://patches.dpdk.org/api/series/5740/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5740",
            "date": "2019-07-25T09:14:20",
            "name": "oerrors stats fixes for virtual pmds",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/5740/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/57082/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/57082/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 4C56F1C2EE;\n\tThu, 25 Jul 2019 11:15:00 +0200 (CEST)",
            "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby dpdk.org (Postfix) with ESMTP id 958191C2D5;\n\tThu, 25 Jul 2019 11:14:55 +0200 (CEST)",
            "from smtp.corp.redhat.com\n\t(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id D77D7780D9;\n\tThu, 25 Jul 2019 09:14:54 +0000 (UTC)",
            "from dmarchan.remote.csb (ovpn-204-235.brq.redhat.com\n\t[10.40.204.235])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 3C99960C18;\n\tThu, 25 Jul 2019 09:14:49 +0000 (UTC)"
        ],
        "From": "David Marchand <david.marchand@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "ferruh.yigit@intel.com, stable@dpdk.org,\n\tMaxime Coquelin <maxime.coquelin@redhat.com>,\n\tTiwei Bie <tiwei.bie@intel.com>, Zhihong Wang <zhihong.wang@intel.com>",
        "Date": "Thu, 25 Jul 2019 11:14:24 +0200",
        "Message-Id": "<1564046068-21905-5-git-send-email-david.marchand@redhat.com>",
        "In-Reply-To": "<1564046068-21905-1-git-send-email-david.marchand@redhat.com>",
        "References": "<1564046068-21905-1-git-send-email-david.marchand@redhat.com>",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.12",
        "X-Greylist": "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.27]); Thu, 25 Jul 2019 09:14:54 +0000 (UTC)",
        "Subject": "[dpdk-dev] [PATCH 4/8] net/virtio: remove unused Tx error counter",
        "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": "This Tx counter has never been used.\n\nFixes: 9658d17da27b (\"virtio: maintain stats per queue\")\nCc: stable@dpdk.org\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n drivers/net/virtio/virtio_ethdev.c | 3 ---\n 1 file changed, 3 deletions(-)",
    "diff": "diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c\nindex 62c8274..20840bf 100644\n--- a/drivers/net/virtio/virtio_ethdev.c\n+++ b/drivers/net/virtio/virtio_ethdev.c\n@@ -121,7 +121,6 @@ static const struct rte_virtio_xstats_name_off rte_virtio_rxq_stat_strings[] = {\n static const struct rte_virtio_xstats_name_off rte_virtio_txq_stat_strings[] = {\n \t{\"good_packets\",           offsetof(struct virtnet_tx, stats.packets)},\n \t{\"good_bytes\",             offsetof(struct virtnet_tx, stats.bytes)},\n-\t{\"errors\",                 offsetof(struct virtnet_tx, stats.errors)},\n \t{\"multicast_packets\",      offsetof(struct virtnet_tx, stats.multicast)},\n \t{\"broadcast_packets\",      offsetof(struct virtnet_tx, stats.broadcast)},\n \t{\"undersize_packets\",      offsetof(struct virtnet_tx, stats.size_bins[0])},\n@@ -944,7 +943,6 @@ virtio_update_stats(struct rte_eth_dev *dev, struct rte_eth_stats *stats)\n \n \t\tstats->opackets += txvq->stats.packets;\n \t\tstats->obytes += txvq->stats.bytes;\n-\t\tstats->oerrors += txvq->stats.errors;\n \n \t\tif (i < RTE_ETHDEV_QUEUE_STAT_CNTRS) {\n \t\t\tstats->q_opackets[i] = txvq->stats.packets;\n@@ -1082,7 +1080,6 @@ virtio_dev_stats_reset(struct rte_eth_dev *dev)\n \n \t\ttxvq->stats.packets = 0;\n \t\ttxvq->stats.bytes = 0;\n-\t\ttxvq->stats.errors = 0;\n \t\ttxvq->stats.multicast = 0;\n \t\ttxvq->stats.broadcast = 0;\n \t\tmemset(txvq->stats.size_bins, 0,\n",
    "prefixes": [
        "4/8"
    ]
}