get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 43874,
    "url": "http://patches.dpdk.org/api/patches/43874/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1535122494-30249-4-git-send-email-tdu@semihalf.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": "<1535122494-30249-4-git-send-email-tdu@semihalf.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1535122494-30249-4-git-send-email-tdu@semihalf.com",
    "date": "2018-08-24T14:54:51",
    "name": "[v2,3/6] net/mvpp2: fix array initialization",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "dadd12a810a2c54341306e5453bd108f6cc22059",
    "submitter": {
        "id": 846,
        "url": "http://patches.dpdk.org/api/people/846/?format=api",
        "name": "Tomasz Duszynski",
        "email": "tdu@semihalf.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/1535122494-30249-4-git-send-email-tdu@semihalf.com/mbox/",
    "series": [
        {
            "id": 1050,
            "url": "http://patches.dpdk.org/api/series/1050/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1050",
            "date": "2018-08-24T14:54:48",
            "name": "net/mvpp2 changes and features",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/1050/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/43874/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/43874/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 1D19E5F57;\n\tFri, 24 Aug 2018 16:55:10 +0200 (CEST)",
            "from mail-lf1-f65.google.com (mail-lf1-f65.google.com\n\t[209.85.167.65]) by dpdk.org (Postfix) with ESMTP id B947E5F34\n\tfor <dev@dpdk.org>; Fri, 24 Aug 2018 16:55:06 +0200 (CEST)",
            "by mail-lf1-f65.google.com with SMTP id e23-v6so6878730lfc.13\n\tfor <dev@dpdk.org>; Fri, 24 Aug 2018 07:55:06 -0700 (PDT)",
            "from sh.semihalf.local (31-172-191-173.noc.fibertech.net.pl.\n\t[31.172.191.173]) by smtp.gmail.com with ESMTPSA id\n\tj140-v6sm1373659lfg.16.2018.08.24.07.55.04\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 24 Aug 2018 07:55:05 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=semihalf-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=27kVjXLcn+xnuRXnsBpb6FC4jqCh8tUmyPgN9dHQcAg=;\n\tb=bS/0QWC6i3HcHohfg+tq7ieZwVePOVIPtlt2AcdHIqoQch/Ntcs/KJMoUQuPxeTvnK\n\t9Y7YF3IcSFam/pSHgRyl/bRhRitO+aHoOoBK3Tlfoif3EmEBVVNh5DwQHRSG0oHEF8k+\n\ttseeWW6tDUfL+kbCghh+muK5+4nfZWJzMr30Orb+61TG+fJE+JpiY6ZeyDepy1xQMIZp\n\tI+YYzY9VmeheYPG+01Hr7UuGxn15kR+UgMhTFYWtqUxFDBH3NU4qDQzpSU94g4QaApPF\n\tCDXEGDliyFoAhu6edjhGD5OG8j2no7ZWRYhqtauk/5Rb9siTnKasA8/60Pt6aalEkou2\n\t0aqw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=27kVjXLcn+xnuRXnsBpb6FC4jqCh8tUmyPgN9dHQcAg=;\n\tb=WCUKQRoQuH1P3e+U8KQ47pYQL9nsVFFaeOCXLyYqntlX+i+0aPwemJ7AdJk1huz/ET\n\toWokNqWy9SMpz8wmLFlIkpODLhCJX4t6LLfNQKhpFkRqW0zL3GUW0nK+/WjJNASi2MrT\n\tyj8NC1IteO/lPHUdRcTiNUIl3+dqu8pMkO/2PhrfPhYmrCZOJRqW7zul4ASSb7c2QZp/\n\tMoZazdAjGP+SwjDIE5HPddiCwbufafJy+SK4aC5Um1jlRBas66Lla7undENFyLI90nzr\n\t08/Gu+Ge8883yBEpPXlq5E+rViYgje6ogq1sFABimbHsBBR3u/petKLfkc9iW75Vcyqq\n\t/4NQ==",
        "X-Gm-Message-State": "APzg51BqcAm2NBMQ/XAXmmzXCYgidHfnPvUxnVrnx2YenxB0CzgliS2f\n\tKrXVk5Oh8PtnsFJucMwhELxZbXRAo94=",
        "X-Google-Smtp-Source": "ANB0VdZ2+axFVKAjlnUvNm6ZRCvl95V4EhhtSufYRVbpKtOggB51DCzpXaANk9J/P98YPga/tLBRpw==",
        "X-Received": "by 2002:a19:b2c8:: with SMTP id\n\tt69-v6mr1538948lfk.105.1535122506120; \n\tFri, 24 Aug 2018 07:55:06 -0700 (PDT)",
        "From": "Tomasz Duszynski <tdu@semihalf.com>",
        "To": "dev@dpdk.org",
        "Cc": "nsamsono@marvell.com, mw@semihalf.com,\n\tTomasz Duszynski <tdu@semihalf.com>, stable@dpdk.org",
        "Date": "Fri, 24 Aug 2018 16:54:51 +0200",
        "Message-Id": "<1535122494-30249-4-git-send-email-tdu@semihalf.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1535122494-30249-1-git-send-email-tdu@semihalf.com>",
        "References": "<1535113006-9393-1-git-send-email-tdu@semihalf.com>\n\t<1535122494-30249-1-git-send-email-tdu@semihalf.com>",
        "Subject": "[dpdk-dev] [PATCH v2 3/6] net/mvpp2: fix array initialization",
        "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": "Fix used_bpools array initialization by using range initializer.\nThis way all necessary variables are properly initialized regardless\nof PP2_NUM_PKT_PROC value.\n\nFixes: 0ddc9b815b11 (\"net/mrvl: add net PMD skeleton\")\nCc: stable@dpdk.org\n\nSigned-off-by: Tomasz Duszynski <tdu@semihalf.com>\n---\n drivers/net/mvpp2/mrvl_ethdev.c | 3 +--\n 1 file changed, 1 insertion(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/mvpp2/mrvl_ethdev.c b/drivers/net/mvpp2/mrvl_ethdev.c\nindex 7ea8946..60ca6e0 100644\n--- a/drivers/net/mvpp2/mrvl_ethdev.c\n+++ b/drivers/net/mvpp2/mrvl_ethdev.c\n@@ -84,8 +84,7 @@ static const char * const valid_args[] = {\n static int used_hifs = MRVL_MUSDK_HIFS_RESERVED;\n static struct pp2_hif *hifs[RTE_MAX_LCORE];\n static int used_bpools[PP2_NUM_PKT_PROC] = {\n-\tMRVL_MUSDK_BPOOLS_RESERVED,\n-\tMRVL_MUSDK_BPOOLS_RESERVED\n+\t[0 ... PP2_NUM_PKT_PROC - 1] = MRVL_MUSDK_BPOOLS_RESERVED\n };\n \n struct pp2_bpool *mrvl_port_to_bpool_lookup[RTE_MAX_ETHPORTS];\n",
    "prefixes": [
        "v2",
        "3/6"
    ]
}