get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 17009,
    "url": "https://patches.dpdk.org/api/patches/17009/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1479104089-27862-2-git-send-email-remy.horton@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": "<1479104089-27862-2-git-send-email-remy.horton@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1479104089-27862-2-git-send-email-remy.horton@intel.com",
    "date": "2016-11-14T06:14:48",
    "name": "[dpdk-dev,v1,1/2] net/i40e: fix incorrect xstats value mapping",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "260abf07e9274b70f8b150c0cde3138a0e45ceb1",
    "submitter": {
        "id": 326,
        "url": "https://patches.dpdk.org/api/people/326/?format=api",
        "name": "Remy Horton",
        "email": "remy.horton@intel.com"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1479104089-27862-2-git-send-email-remy.horton@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/17009/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/17009/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 DAADD374D;\n\tMon, 14 Nov 2016 07:15:03 +0100 (CET)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id 74CFBF72\n\tfor <dev@dpdk.org>; Mon, 14 Nov 2016 07:14:53 +0100 (CET)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n\tby orsmga102.jf.intel.com with ESMTP; 13 Nov 2016 22:14:53 -0800",
            "from rhorton-mobl.ger.corp.intel.com (HELO VM.sh.intel.com)\n\t([10.239.204.180])\n\tby orsmga003.jf.intel.com with ESMTP; 13 Nov 2016 22:14:52 -0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.31,488,1473145200\"; d=\"scan'208\";a=\"901066259\"",
        "From": "Remy Horton <remy.horton@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Helin Zhang <helin.zhang@intel.com>, Jingjing Wu <jingjing.wu@intel.com>",
        "Date": "Mon, 14 Nov 2016 14:14:48 +0800",
        "Message-Id": "<1479104089-27862-2-git-send-email-remy.horton@intel.com>",
        "X-Mailer": "git-send-email 2.5.5",
        "In-Reply-To": "<1479104089-27862-1-git-send-email-remy.horton@intel.com>",
        "References": "<1479104089-27862-1-git-send-email-remy.horton@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v1 1/2] net/i40e: fix incorrect xstats value\n\tmapping",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <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": "The offsets used in rte_i40evf_stats_strings for transmission\nstatistics were wrong, returning the total byte count rather than\nthe respective (unicast, multicast, broadcast, drop, & error)\npacket counts.\n\nFixes: da61cd084976 (\"i40evf: add extended stats\")\n\nSigned-off-by: Remy Horton <remy.horton@intel.com>\n---\n drivers/net/i40e/i40e_ethdev_vf.c | 10 +++++-----\n 1 file changed, 5 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c\nindex aa306d6..afae2ec 100644\n--- a/drivers/net/i40e/i40e_ethdev_vf.c\n+++ b/drivers/net/i40e/i40e_ethdev_vf.c\n@@ -176,11 +176,11 @@ static const struct rte_i40evf_xstats_name_off rte_i40evf_stats_strings[] = {\n \t{\"rx_unknown_protocol_packets\", offsetof(struct i40e_eth_stats,\n \t\trx_unknown_protocol)},\n \t{\"tx_bytes\", offsetof(struct i40e_eth_stats, tx_bytes)},\n-\t{\"tx_unicast_packets\", offsetof(struct i40e_eth_stats, tx_bytes)},\n-\t{\"tx_multicast_packets\", offsetof(struct i40e_eth_stats, tx_bytes)},\n-\t{\"tx_broadcast_packets\", offsetof(struct i40e_eth_stats, tx_bytes)},\n-\t{\"tx_dropped_packets\", offsetof(struct i40e_eth_stats, tx_bytes)},\n-\t{\"tx_error_packets\", offsetof(struct i40e_eth_stats, tx_bytes)},\n+\t{\"tx_unicast_packets\", offsetof(struct i40e_eth_stats, tx_unicast)},\n+\t{\"tx_multicast_packets\", offsetof(struct i40e_eth_stats, tx_multicast)},\n+\t{\"tx_broadcast_packets\", offsetof(struct i40e_eth_stats, tx_broadcast)},\n+\t{\"tx_dropped_packets\", offsetof(struct i40e_eth_stats, tx_discards)},\n+\t{\"tx_error_packets\", offsetof(struct i40e_eth_stats, tx_errors)},\n };\n \n #define I40EVF_NB_XSTATS (sizeof(rte_i40evf_stats_strings) / \\\n",
    "prefixes": [
        "dpdk-dev",
        "v1",
        "1/2"
    ]
}