get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 122617,
    "url": "https://patches.dpdk.org/api/patches/122617/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20230129105140.29921-2-liudongdong3@huawei.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": "<20230129105140.29921-2-liudongdong3@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230129105140.29921-2-liudongdong3@huawei.com",
    "date": "2023-01-29T10:51:31",
    "name": "[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": "https://patches.dpdk.org/api/people/2718/?format=api",
        "name": "Dongdong Liu",
        "email": "liudongdong3@huawei.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/20230129105140.29921-2-liudongdong3@huawei.com/mbox/",
    "series": [
        {
            "id": 26679,
            "url": "https://patches.dpdk.org/api/series/26679/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=26679",
            "date": "2023-01-29T10:51:32",
            "name": "net/hns3: some bugfixes for rss",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/26679/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/122617/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/122617/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 DBAC6424B4;\n\tSun, 29 Jan 2023 11:52:21 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 8087D40EE7;\n\tSun, 29 Jan 2023 11:52:14 +0100 (CET)",
            "from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188])\n by mails.dpdk.org (Postfix) with ESMTP id C42B540ED8;\n Sun, 29 Jan 2023 11:52:10 +0100 (CET)",
            "from kwepemi500017.china.huawei.com (unknown [172.30.72.55])\n by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4P4SlH4sd6zJrLW;\n Sun, 29 Jan 2023 18:50:35 +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; Sun, 29 Jan 2023 18:52:08 +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 01/10] net/hns3: fix error log about indirection table size",
        "Date": "Sun, 29 Jan 2023 18:51:31 +0800",
        "Message-ID": "<20230129105140.29921-2-liudongdong3@huawei.com>",
        "X-Mailer": "git-send-email 2.22.0",
        "In-Reply-To": "<20230129105140.29921-1-liudongdong3@huawei.com>",
        "References": "<20230129105140.29921-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": "dggems702-chm.china.huawei.com (10.3.19.179) 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": [
        "01/10"
    ]
}