get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 63236,
    "url": "http://patches.dpdk.org/api/patches/63236/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20191122120624.4963-5-xavier.huwei@tom.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": "<20191122120624.4963-5-xavier.huwei@tom.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20191122120624.4963-5-xavier.huwei@tom.com",
    "date": "2019-11-22T12:06:22",
    "name": "[4/6] net/hns3: fix the error length limit of maiblox response",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "6aa9d761ce2630c28486d18436f1734131b26f03",
    "submitter": {
        "id": 1459,
        "url": "http://patches.dpdk.org/api/people/1459/?format=api",
        "name": "Wei Hu (Xavier)",
        "email": "xavier.huwei@tom.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/20191122120624.4963-5-xavier.huwei@tom.com/mbox/",
    "series": [
        {
            "id": 7586,
            "url": "http://patches.dpdk.org/api/series/7586/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=7586",
            "date": "2019-11-22T12:06:18",
            "name": "Fixes for hns3 PMD driver",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/7586/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/63236/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/63236/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 09730A04C3;\n\tFri, 22 Nov 2019 15:16:31 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 744902C30;\n\tFri, 22 Nov 2019 15:15:59 +0100 (CET)",
            "from smtp.tom.com (smtprz15.163.net [106.3.154.248])\n by dpdk.org (Postfix) with ESMTP id 0366E2C28\n for <dev@dpdk.org>; Fri, 22 Nov 2019 13:06:35 +0100 (CET)",
            "from my-app01.tom.com (my-app01.tom.com [127.0.0.1])\n by freemail01.tom.com (Postfix) with ESMTP id 341511C81A35\n for <dev@dpdk.org>; Fri, 22 Nov 2019 20:06:39 +0800 (CST)",
            "from my-app01.tom.com (HELO smtp.tom.com) ([127.0.0.1])\n by my-app01 (TOM SMTP Server) with SMTP ID -1349614957\n for <dev@dpdk.org>; Fri, 22 Nov 2019 20:06:39 +0800 (CST)",
            "from antispam1.tom.com (unknown [172.25.16.55])\n by freemail01.tom.com (Postfix) with ESMTP id 2FEAB1C81A1F\n for <dev@dpdk.org>; Fri, 22 Nov 2019 20:06:39 +0800 (CST)",
            "from antispam1.tom.com (antispam1.tom.com [127.0.0.1])\n by antispam1.tom.com (Postfix) with ESMTP id 3269310015E5\n for <dev@dpdk.org>; Fri, 22 Nov 2019 20:06:10 +0800 (CST)",
            "from antispam1.tom.com ([127.0.0.1])\n by antispam1.tom.com (antispam1.tom.com [127.0.0.1]) (amavisd-new,\n port 10024)\n with ESMTP id RHusw63Ekf4H for <dev@dpdk.org>;\n Fri, 22 Nov 2019 20:06:08 +0800 (CST)",
            "from localhost.localdomain (unknown [203.160.91.226])\n by antispam1.tom.com (Postfix) with ESMTPA id 417D91001825;\n Fri, 22 Nov 2019 20:06:08 +0800 (CST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=tom.com; s=201807;\n t=1574424399; bh=AFMbcsaxDpXf5dmmWxXvPLa9tCdQDu8PXc5Jyfm5SMI=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=Wk3gwpP7hZz3Tx1wZQwPIgp4PVbcatb1IXyShnHbWPKpJbDbBACKWqEIyzJhkBf5W\n bqWDw1BqKTu180hrcxUZQJNXw7rns6tDvHyxBOLrHEcbk7s0O0Xhq12R7cJgfdgl5a\n SjZmDU4mwXtIYMpy7oX1QXjScnLFlNnCpwcFyTvs=",
        "X-Virus-Scanned": "Debian amavisd-new at antispam1.tom.com",
        "From": "\"Wei Hu (Xavier)\" <xavier.huwei@tom.com>",
        "To": "dev@dpdk.org,\n\tstable@dpdk.org",
        "Cc": "xavier_huwei@163.com,\n\txavier.huwei@tom.com,\n\thuwei87@hisilicon.com",
        "Date": "Fri, 22 Nov 2019 20:06:22 +0800",
        "Message-Id": "<20191122120624.4963-5-xavier.huwei@tom.com>",
        "X-Mailer": "git-send-email 2.23.0",
        "In-Reply-To": "<20191122120624.4963-1-xavier.huwei@tom.com>",
        "References": "<20191122120624.4963-1-xavier.huwei@tom.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Mailman-Approved-At": "Fri, 22 Nov 2019 15:15:52 +0100",
        "Subject": "[dpdk-dev] [PATCH 4/6] net/hns3: fix the error length limit of\n\tmaiblox response",
        "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>"
    },
    "content": "From: Chengchang Tang <tangchengchang@hisilicon.com>\n\nThis patch removes the macro 'HNS3_REG_MSG_DATA_OFFSET' which is used to\nprevent the array from accessing violation and it limits the response data\nlength to be 4. but the limit value is too short to get some longer\ninformation such as 6 byte MAC address.\n\nThis patch modify the length of response data from mailbox to allows the\nresponse data length to be 8. So that the VF driver could get more data\nfrom PF drvier by mailbox.\n\nFixes: 463e748964f5 (\"net/hns3: support mailbox\")\nCc: stable@dpdk.org\n\nSigned-off-by: Chengchang Tang <tangchengchang@hisilicon.com>\nSigned-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>\n---\n drivers/net/hns3/hns3_mbx.c | 4 +---\n 1 file changed, 1 insertion(+), 3 deletions(-)",
    "diff": "diff --git a/drivers/net/hns3/hns3_mbx.c b/drivers/net/hns3/hns3_mbx.c\nindex 2bfd97415..c1647af4b 100644\n--- a/drivers/net/hns3/hns3_mbx.c\n+++ b/drivers/net/hns3/hns3_mbx.c\n@@ -24,7 +24,6 @@\n #include \"hns3_logs.h\"\n #include \"hns3_intr.h\"\n \n-#define HNS3_REG_MSG_DATA_OFFSET\t4\n #define HNS3_CMD_CODE_OFFSET\t\t2\n \n static const struct errno_respcode_map err_code_map[] = {\n@@ -320,8 +319,7 @@ hns3_dev_handle_mbx_msg(struct hns3_hw *hw)\n \t\t\tresp->resp_status = hns3_resp_to_errno(req->msg[3]);\n \n \t\t\ttemp = (uint8_t *)&req->msg[4];\n-\t\t\tfor (i = 0; i < HNS3_MBX_MAX_RESP_DATA_SIZE &&\n-\t\t\t     i < HNS3_REG_MSG_DATA_OFFSET; i++) {\n+\t\t\tfor (i = 0; i < HNS3_MBX_MAX_RESP_DATA_SIZE; i++) {\n \t\t\t\tresp->additional_info[i] = *temp;\n \t\t\t\ttemp++;\n \t\t\t}\n",
    "prefixes": [
        "4/6"
    ]
}