get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 21416,
    "url": "https://patches.dpdk.org/api/patches/21416/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1488715368-60884-1-git-send-email-shahafs@mellanox.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": "<1488715368-60884-1-git-send-email-shahafs@mellanox.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1488715368-60884-1-git-send-email-shahafs@mellanox.com",
    "date": "2017-03-05T12:02:48",
    "name": "[dpdk-dev] net/mlx5: fix extended statistics counters identification",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "ea8413c97f465e327b64410c5fac2e4026312245",
    "submitter": {
        "id": 634,
        "url": "https://patches.dpdk.org/api/people/634/?format=api",
        "name": "Shahaf Shuler",
        "email": "shahafs@mellanox.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/1488715368-60884-1-git-send-email-shahafs@mellanox.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/21416/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/21416/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 B608AFE5;\n\tSun,  5 Mar 2017 13:02:58 +0100 (CET)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n\tby dpdk.org (Postfix) with ESMTP id 7C592952\n\tfor <dev@dpdk.org>; Sun,  5 Mar 2017 13:02:56 +0100 (CET)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n\tshahafs@mellanox.com)\n\twith ESMTPS (AES256-SHA encrypted); 5 Mar 2017 14:02:55 +0200",
            "from arch010.mtl.labs.mlnx (arch010.mtl.labs.mlnx [10.7.12.210])\n\tby labmailer.mlnx (8.13.8/8.13.8) with ESMTP id v25C2t98018999;\n\tSun, 5 Mar 2017 14:02:55 +0200",
            "from arch010.mtl.labs.mlnx (localhost [127.0.0.1])\n\tby arch010.mtl.labs.mlnx (8.14.7/8.14.7) with ESMTP id v25C2tmQ060923;\n\tSun, 5 Mar 2017 14:02:55 +0200",
            "(from root@localhost)\n\tby arch010.mtl.labs.mlnx (8.14.7/8.14.7/Submit) id v25C2m54060920;\n\tSun, 5 Mar 2017 14:02:48 +0200"
        ],
        "From": "Shahaf Shuler <shahafs@mellanox.com>",
        "To": "nelio.laranjeiro@6wind.com, adrien.mazarguil@6wind.com",
        "Cc": "dev@dpdk.org, stable@dpdk.org",
        "Date": "Sun,  5 Mar 2017 14:02:48 +0200",
        "Message-Id": "<1488715368-60884-1-git-send-email-shahafs@mellanox.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "Subject": "[dpdk-dev] [PATCH] net/mlx5: fix extended statistics counters\n\tidentification",
        "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": "Checking whether the counter is IB counter was performed with the\nwrong index.\n\nFixes: a4e3056b7018 (\"net/mlx5: add out of buffer counter to extended statistic\")\nCc: stable@dpdk.org\n\nSigned-off-by: Shahaf Shuler <shahafs@mellanox.com>\n---\n drivers/net/mlx5/mlx5_stats.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/mlx5/mlx5_stats.c b/drivers/net/mlx5/mlx5_stats.c\nindex 1953293..703f48c 100644\n--- a/drivers/net/mlx5/mlx5_stats.c\n+++ b/drivers/net/mlx5/mlx5_stats.c\n@@ -253,7 +253,7 @@ struct mlx5_counter_ctrl {\n \t\t}\n \t}\n \tfor (j = 0; j != xstats_n; ++j) {\n-\t\tif (priv_is_ib_cntr(mlx5_counters_init[i].ctr_name))\n+\t\tif (priv_is_ib_cntr(mlx5_counters_init[j].ctr_name))\n \t\t\tcontinue;\n \t\tif (xstats_ctrl->dev_table_idx[j] >= dev_stats_n) {\n \t\t\tWARN(\"counter \\\"%s\\\" is not recognized\",\n",
    "prefixes": [
        "dpdk-dev"
    ]
}