get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 67899,
    "url": "http://patchwork.dpdk.org/api/patches/67899/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20200407131550.9656F2B96@dpdk.org/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20200407131550.9656F2B96@dpdk.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200407131550.9656F2B96@dpdk.org",
    "date": "2020-04-07T11:52:57",
    "name": "rte_lpm6: fix incorrect size of tbl8 group",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "b4c3c001f98308abd642f6a0c6a7af6e944b9fe7",
    "submitter": {
        "id": 1036,
        "url": "http://patchwork.dpdk.org/api/people/1036/?format=api",
        "name": "Alex Kiselev",
        "email": "alex@therouter.net"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20200407131550.9656F2B96@dpdk.org/mbox/",
    "series": [
        {
            "id": 9230,
            "url": "http://patchwork.dpdk.org/api/series/9230/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=9230",
            "date": "2020-04-07T11:52:57",
            "name": "rte_lpm6: fix incorrect size of tbl8 group",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/9230/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/67899/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/67899/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 07F1EA0588;\n\tTue,  7 Apr 2020 15:15:51 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 9656F2B96;\n\tTue,  7 Apr 2020 15:15:50 +0200 (CEST)",
            "from wh10.alp1.flow.ch (wh10.alp1.flow.ch [185.119.84.194])\n by dpdk.org (Postfix) with ESMTP id 2B4DC2B86\n for <dev@dpdk.org>; Tue,  7 Apr 2020 15:15:49 +0200 (CEST)",
            "from [37.139.80.50] (port=45500 helo=h5.therouter.net)\n by wh10.alp1.flow.ch with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256)\n (Exim 4.92) (envelope-from <alex@therouter.net>)\n id 1jLo4v-002wPU-Qm; Tue, 07 Apr 2020 15:15:46 +0200",
            "by h5.therouter.net (sSMTP sendmail emulation);\n Tue, 07 Apr 2020 16:16:16 +0300"
        ],
        "To": "dev@dpdk.org, Bruce Richardson <bruce.richardson@intel.com>",
        "From": "Alex Kiselev <alex@therouter.net>",
        "Date": "Tue, 7 Apr 2020 14:52:57 +0300",
        "X-AntiAbuse": [
            "This header was added to track abuse,\n please include it with any abuse report",
            "Primary Hostname - wh10.alp1.flow.ch",
            "Original Domain - dpdk.org",
            "Originator/Caller UID/GID - [47 12] / [47 12]",
            "Sender Address Domain - therouter.net"
        ],
        "X-Get-Message-Sender-Via": "wh10.alp1.flow.ch: authenticated_id:\n alex@therouter.net",
        "X-Authenticated-Sender": "wh10.alp1.flow.ch: alex@therouter.net",
        "X-Source": "",
        "X-Source-Args": "",
        "X-Source-Dir": "",
        "Subject": "[dpdk-dev] [PATCH] rte_lpm6: fix incorrect size of tbl8 group",
        "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 <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "Message-Id": "<20200407131550.9656F2B96@dpdk.org>"
    },
    "content": "rte_lpm6: fix incorrect size of tbl8 group\n\nSigned-off-by: Alex Kiselev <alex@therouter.net>\n---\n lib/librte_lpm/rte_lpm6.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_lpm/rte_lpm6.c b/lib/librte_lpm/rte_lpm6.c\nindex 1047efa8a..f5979fb15 100644\n--- a/lib/librte_lpm/rte_lpm6.c\n+++ b/lib/librte_lpm/rte_lpm6.c\n@@ -726,7 +726,8 @@ add_step(struct rte_lpm6 *lpm, struct rte_lpm6_tbl_entry *tbl,\n \t\t\ttbl8_group_start = tbl8_gindex *\n \t\t\t\t\tRTE_LPM6_TBL8_GROUP_NUM_ENTRIES;\n \t\t\tmemset(&lpm->tbl8[tbl8_group_start], 0,\n-\t\t\t\t\t  RTE_LPM6_TBL8_GROUP_NUM_ENTRIES);\n+\t\t\t\t\tRTE_LPM6_TBL8_GROUP_NUM_ENTRIES *\n+\t\t\t\t\tsizeof(struct rte_lpm6_tbl_entry));\n \n \t\t\t/* init the new table's header:\n \t\t\t *   save the reference to the owner table\n",
    "prefixes": []
}