get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 122664,
    "url": "http://patches.dpdk.org/api/patches/122664/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230130093129.18529-2-liudongdong3@huawei.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": "<20230130093129.18529-2-liudongdong3@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230130093129.18529-2-liudongdong3@huawei.com",
    "date": "2023-01-30T09:31:20",
    "name": "[V2,01/10] net/hns3: fix error log about indirection table size",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "53fe5b8d018e726c1b330e349e72b11f52af42fe",
    "submitter": {
        "id": 2718,
        "url": "http://patches.dpdk.org/api/people/2718/?format=api",
        "name": "Dongdong Liu",
        "email": "liudongdong3@huawei.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/20230130093129.18529-2-liudongdong3@huawei.com/mbox/",
    "series": [
        {
            "id": 26688,
            "url": "http://patches.dpdk.org/api/series/26688/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=26688",
            "date": "2023-01-30T09:31:20",
            "name": "net/hns3: some bugfixes for rss",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/26688/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/122664/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/122664/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 41D7941B7E;\n\tMon, 30 Jan 2023 10:32:03 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A504940EE1;\n\tMon, 30 Jan 2023 10:32:02 +0100 (CET)",
            "from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187])\n by mails.dpdk.org (Postfix) with ESMTP id 265C240C35;\n Mon, 30 Jan 2023 10:32:01 +0100 (CET)",
            "from kwepemi500017.china.huawei.com (unknown [172.30.72.53])\n by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4P52vp5hQmznVTW;\n Mon, 30 Jan 2023 17:29:58 +0800 (CST)",
            "from localhost.localdomain (10.28.79.22) by\n kwepemi500017.china.huawei.com (7.221.188.110) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id\n 15.1.2375.34; Mon, 30 Jan 2023 17:31:58 +0800"
        ],
        "From": "Dongdong Liu <liudongdong3@huawei.com>",
        "To": "<dev@dpdk.org>, <ferruh.yigit@amd.com>, <thomas@monjalon.net>,\n <andrew.rybchenko@oktetlabs.ru>",
        "CC": "<stable@dpdk.org>, <yisen.zhuang@huawei.com>, <liudongdong3@huawei.com>,\n <lihuisong@huawei.com>",
        "Subject": "[PATCH V2 01/10] net/hns3: fix error log about indirection table size",
        "Date": "Mon, 30 Jan 2023 17:31:20 +0800",
        "Message-ID": "<20230130093129.18529-2-liudongdong3@huawei.com>",
        "X-Mailer": "git-send-email 2.22.0",
        "In-Reply-To": "<20230130093129.18529-1-liudongdong3@huawei.com>",
        "References": "<20230129105140.29921-1-liudongdong3@huawei.com>\n <20230130093129.18529-1-liudongdong3@huawei.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[10.28.79.22]",
        "X-ClientProxiedBy": "dggems701-chm.china.huawei.com (10.3.19.178) To\n kwepemi500017.china.huawei.com (7.221.188.110)",
        "X-CFilter-Loop": "Reflected",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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"
    },
    "content": "From: Huisong Li <lihuisong@huawei.com>\n\nThe error log about indirection table size during initialization phase\nof PF and VF is unreasonable when the indirection table size obtained\nfrom firmware or PF function should be zero. In addition, VF driver\nshould use error level to print this log.\n\nFixes: 0fce2c46dc16 (\"net/hns3: fix RSS indirection table size\")\nCc: stable@dpdk.org\n\nSigned-off-by: Huisong Li <lihuisong@huawei.com>\nSigned-off-by: Dongdong Liu <liudongdong3@huawei.com>\n---\n drivers/net/hns3/hns3_ethdev.c    | 2 +-\n drivers/net/hns3/hns3_ethdev_vf.c | 4 ++--\n 2 files changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c\nindex d326f70129..eb809cd8c9 100644\n--- a/drivers/net/hns3/hns3_ethdev.c\n+++ b/drivers/net/hns3/hns3_ethdev.c\n@@ -2679,7 +2679,7 @@ hns3_check_dev_specifications(struct hns3_hw *hw)\n {\n \tif (hw->rss_ind_tbl_size == 0 ||\n \t    hw->rss_ind_tbl_size > HNS3_RSS_IND_TBL_SIZE_MAX) {\n-\t\thns3_err(hw, \"the size of hash lookup table configured (%u) exceeds the maximum(%u)\",\n+\t\thns3_err(hw, \"the indirection table size obtained (%u) is invalid, and should not be zero or exceed the maximum(%u)\",\n \t\t\t hw->rss_ind_tbl_size, HNS3_RSS_IND_TBL_SIZE_MAX);\n \t\treturn -EINVAL;\n \t}\ndiff --git a/drivers/net/hns3/hns3_ethdev_vf.c b/drivers/net/hns3/hns3_ethdev_vf.c\nindex d220522c43..e43815607a 100644\n--- a/drivers/net/hns3/hns3_ethdev_vf.c\n+++ b/drivers/net/hns3/hns3_ethdev_vf.c\n@@ -718,8 +718,8 @@ hns3vf_check_dev_specifications(struct hns3_hw *hw)\n {\n \tif (hw->rss_ind_tbl_size == 0 ||\n \t    hw->rss_ind_tbl_size > HNS3_RSS_IND_TBL_SIZE_MAX) {\n-\t\thns3_warn(hw, \"the size of hash lookup table configured (%u) exceeds the maximum(%u)\",\n-\t\t\t  hw->rss_ind_tbl_size, HNS3_RSS_IND_TBL_SIZE_MAX);\n+\t\thns3_err(hw, \"the indirection table size obtained (%u) is invalid, and should not be zero or exceed the maximum(%u)\",\n+\t\t\t hw->rss_ind_tbl_size, HNS3_RSS_IND_TBL_SIZE_MAX);\n \t\treturn -EINVAL;\n \t}\n \n",
    "prefixes": [
        "V2",
        "01/10"
    ]
}