get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 809211,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/809211/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20170903042117.28923-5-saeedm@mellanox.com/",
    "project": {
        "id": 7,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/7/?format=api",
        "name": "Linux network development",
        "link_name": "netdev",
        "list_id": "netdev.vger.kernel.org",
        "list_email": "netdev@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170903042117.28923-5-saeedm@mellanox.com>",
    "list_archive_url": null,
    "date": "2017-09-03T04:21:04",
    "name": "[net-next,04/17] net/mlx5e: Use memset to init skbs_frags array to zeros",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "90720b0105d711c0aa29bcb3f21db7bc643abc33",
    "submitter": {
        "id": 65299,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/65299/?format=api",
        "name": "Saeed Mahameed",
        "email": "saeedm@mellanox.com"
    },
    "delegate": {
        "id": 34,
        "url": "http://patchwork.ozlabs.org/api/1.2/users/34/?format=api",
        "username": "davem",
        "first_name": "David",
        "last_name": "Miller",
        "email": "davem@davemloft.net"
    },
    "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/20170903042117.28923-5-saeedm@mellanox.com/mbox/",
    "series": [
        {
            "id": 1196,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/1196/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=1196",
            "date": "2017-09-03T04:21:09",
            "name": "[net-next,01/17] net/mlx5e: Reorganize struct mlx5e_rq",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1196/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/809211/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/809211/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<netdev-owner@vger.kernel.org>",
        "X-Original-To": "patchwork-incoming@ozlabs.org",
        "Delivered-To": "patchwork-incoming@ozlabs.org",
        "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)",
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xlKbf2KMhz9s7C\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSun,  3 Sep 2017 14:23:26 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752495AbdICEXU (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tSun, 3 Sep 2017 00:23:20 -0400",
            "from mail-il-dmz.mellanox.com ([193.47.165.129]:60000 \"EHLO\n\tmellanox.co.il\" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org\n\twith ESMTP id S1750912AbdICEWL (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Sun, 3 Sep 2017 00:22:11 -0400",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n\tsaeedm@mellanox.com)\n\twith ESMTPS (AES256-SHA encrypted); 3 Sep 2017 07:22:06 +0300",
            "from sws.mtl.labs.mlnx (reg-l-vrt-045-015.mtl.labs.mlnx\n\t[10.135.45.15])\n\tby labmailer.mlnx (8.13.8/8.13.8) with ESMTP id v834M5l5017672;\n\tSun, 3 Sep 2017 07:22:05 +0300"
        ],
        "From": "Saeed Mahameed <saeedm@mellanox.com>",
        "To": "\"David S. Miller\" <davem@davemloft.net>",
        "Cc": "netdev@vger.kernel.org, kernel-team@fb.com,\n\tTariq Toukan <tariqt@mellanox.com>, Saeed Mahameed <saeedm@mellanox.com>",
        "Subject": "[net-next 04/17] net/mlx5e: Use memset to init skbs_frags array to\n\tzeros",
        "Date": "Sun,  3 Sep 2017 07:21:04 +0300",
        "Message-Id": "<20170903042117.28923-5-saeedm@mellanox.com>",
        "X-Mailer": "git-send-email 2.13.0",
        "In-Reply-To": "<20170903042117.28923-1-saeedm@mellanox.com>",
        "References": "<20170903042117.28923-1-saeedm@mellanox.com>",
        "Sender": "netdev-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<netdev.vger.kernel.org>",
        "X-Mailing-List": "netdev@vger.kernel.org"
    },
    "content": "From: Tariq Toukan <tariqt@mellanox.com>\n\nIn RX data-path, use memset() instead of loop assignment\nto init the whole skbs_frags array.\n\nSigned-off-by: Tariq Toukan <tariqt@mellanox.com>\nSigned-off-by: Saeed Mahameed <saeedm@mellanox.com>\n---\n drivers/net/ethernet/mellanox/mlx5/core/en_rx.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_rx.c b/drivers/net/ethernet/mellanox/mlx5/core/en_rx.c\nindex aa5cc1590859..db372dcecbe0 100644\n--- a/drivers/net/ethernet/mellanox/mlx5/core/en_rx.c\n+++ b/drivers/net/ethernet/mellanox/mlx5/core/en_rx.c\n@@ -391,9 +391,9 @@ static int mlx5e_alloc_rx_umr_mpwqe(struct mlx5e_rq *rq,\n \t\t\tgoto err_unmap;\n \t\twi->umr.mtt[i] = cpu_to_be64(dma_info->addr | MLX5_EN_WR);\n \t\tpage_ref_add(dma_info->page, pg_strides);\n-\t\twi->skbs_frags[i] = 0;\n \t}\n \n+\tmemset(wi->skbs_frags, 0, sizeof(*wi->skbs_frags) * MLX5_MPWRQ_PAGES_PER_WQE);\n \twi->consumed_strides = 0;\n \twqe->data.addr = cpu_to_be64(dma_offset);\n \n",
    "prefixes": [
        "net-next",
        "04/17"
    ]
}