get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 48927,
    "url": "https://patches.dpdk.org/api/patches/48927/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/249b1185353b73d8c3c8aa8399af03957c9cd5cd.1544813681.git.rahul.lakkireddy@chelsio.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": "<249b1185353b73d8c3c8aa8399af03957c9cd5cd.1544813681.git.rahul.lakkireddy@chelsio.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/249b1185353b73d8c3c8aa8399af03957c9cd5cd.1544813681.git.rahul.lakkireddy@chelsio.com",
    "date": "2018-12-14T19:01:53",
    "name": "[1/2] net/cxgbe: fix overlapping regions in TID table",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "22a8c4b9752087274a6c8489ba20739a4d2f1a2d",
    "submitter": {
        "id": 241,
        "url": "https://patches.dpdk.org/api/people/241/?format=api",
        "name": "Rahul Lakkireddy",
        "email": "rahul.lakkireddy@chelsio.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/249b1185353b73d8c3c8aa8399af03957c9cd5cd.1544813681.git.rahul.lakkireddy@chelsio.com/mbox/",
    "series": [
        {
            "id": 2805,
            "url": "https://patches.dpdk.org/api/series/2805/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=2805",
            "date": "2018-12-14T19:01:52",
            "name": "net/cxgbe: rte_flow related bug fixes",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/2805/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/48927/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/48927/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 3B6FC1B9CD;\n\tFri, 14 Dec 2018 20:03:38 +0100 (CET)",
            "from stargate.chelsio.com (stargate.chelsio.com [12.32.117.8])\n\tby dpdk.org (Postfix) with ESMTP id A75E61B9C7;\n\tFri, 14 Dec 2018 20:03:36 +0100 (CET)",
            "from localhost (scalar.blr.asicdesigners.com [10.193.185.94])\n\tby stargate.chelsio.com (8.13.8/8.13.8) with ESMTP id wBEJ3WOb016126; \n\tFri, 14 Dec 2018 11:03:33 -0800"
        ],
        "From": "Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>",
        "To": "dev@dpdk.org",
        "Cc": "nirranjan@chelsio.com, indranil@chelsio.com, stable@dpdk.org",
        "Date": "Sat, 15 Dec 2018 00:31:53 +0530",
        "Message-Id": "<249b1185353b73d8c3c8aa8399af03957c9cd5cd.1544813681.git.rahul.lakkireddy@chelsio.com>",
        "X-Mailer": "git-send-email 2.5.3",
        "In-Reply-To": [
            "<cover.1544813681.git.rahul.lakkireddy@chelsio.com>",
            "<cover.1544813681.git.rahul.lakkireddy@chelsio.com>"
        ],
        "References": [
            "<cover.1544813681.git.rahul.lakkireddy@chelsio.com>",
            "<cover.1544813681.git.rahul.lakkireddy@chelsio.com>"
        ],
        "Subject": "[dpdk-dev] [PATCH 1/2] net/cxgbe: fix overlapping regions in TID\n\ttable",
        "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": "Location of filter TID table should be after active TID table memory,\nand not from the beginning of TID table memory. This fixes memory\ncorruption due to overlapping regions.\n\nFixes: 3a381a4116ed (\"net/cxgbe: query firmware for HASH filter resources\")\nCc: stable@dpdk.org\n\nSigned-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>\n---\n drivers/net/cxgbe/cxgbe_main.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/cxgbe/cxgbe_main.c b/drivers/net/cxgbe/cxgbe_main.c\nindex 0368db509..5fa6cdd05 100644\n--- a/drivers/net/cxgbe/cxgbe_main.c\n+++ b/drivers/net/cxgbe/cxgbe_main.c\n@@ -415,7 +415,7 @@ static int tid_init(struct tid_info *t)\n \t\treturn -ENOMEM;\n \n \tt->atid_tab = (union aopen_entry *)&t->tid_tab[t->ntids];\n-\tt->ftid_tab = (struct filter_entry *)&t->tid_tab[t->natids];\n+\tt->ftid_tab = (struct filter_entry *)&t->atid_tab[t->natids];\n \tt->ftid_bmap_array = t4_os_alloc(ftid_bmap_size);\n \tif (!t->ftid_bmap_array) {\n \t\ttid_free(t);\n",
    "prefixes": [
        "1/2"
    ]
}