Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/120710/?format=api
https://patches.dpdk.org/api/patches/120710/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20221209110450.62456-7-lihuisong@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": "<20221209110450.62456-7-lihuisong@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20221209110450.62456-7-lihuisong@huawei.com", "date": "2022-12-09T11:04:45", "name": "[V2,06/11] cryptodev: fix possible data conversion error", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "d63aa81edc619d78bd3875becbc894b4918c532f", "submitter": { "id": 2085, "url": "https://patches.dpdk.org/api/people/2085/?format=api", "name": "lihuisong (C)", "email": "lihuisong@huawei.com" }, "delegate": { "id": 1, "url": "https://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20221209110450.62456-7-lihuisong@huawei.com/mbox/", "series": [ { "id": 26064, "url": "https://patches.dpdk.org/api/series/26064/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=26064", "date": "2022-12-09T11:04:39", "name": "telemetry: add u32 value type and hex integer string API", "version": 2, "mbox": "https://patches.dpdk.org/series/26064/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/120710/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/120710/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 20B16A00C2;\n\tFri, 9 Dec 2022 12:05:06 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 95E6542D34;\n\tFri, 9 Dec 2022 12:04:52 +0100 (CET)", "from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188])\n by mails.dpdk.org (Postfix) with ESMTP id 9E4D9410FB\n for <dev@dpdk.org>; Fri, 9 Dec 2022 12:04:48 +0100 (CET)", "from kwepemm600004.china.huawei.com (unknown [172.30.72.55])\n by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4NT7SF1qQJzJqRJ;\n Fri, 9 Dec 2022 19:03:57 +0800 (CST)", "from localhost.localdomain (10.69.192.56) by\n kwepemm600004.china.huawei.com (7.193.23.242) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id\n 15.1.2375.31; Fri, 9 Dec 2022 19:04:45 +0800" ], "From": "Huisong Li <lihuisong@huawei.com>", "To": "<dev@dpdk.org>", "CC": "<bruce.richardson@intel.com>, <mb@smartsharesystems.com>,\n <ciara.power@intel.com>, <liudongdong3@huawei.com>, <huangdaode@huawei.com>,\n <fengchengwen@huawei.com>, <lihuisong@huawei.com>", "Subject": "[PATCH V2 06/11] cryptodev: fix possible data conversion error", "Date": "Fri, 9 Dec 2022 19:04:45 +0800", "Message-ID": "<20221209110450.62456-7-lihuisong@huawei.com>", "X-Mailer": "git-send-email 2.33.0", "In-Reply-To": "<20221209110450.62456-1-lihuisong@huawei.com>", "References": "<20221208080540.62913-1-lihuisong@huawei.com>\n <20221209110450.62456-1-lihuisong@huawei.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Originating-IP": "[10.69.192.56]", "X-ClientProxiedBy": "dggems706-chm.china.huawei.com (10.3.19.183) To\n kwepemm600004.china.huawei.com (7.193.23.242)", "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": "The 'u32' data can not assigned to 'int' type variable. The 'u32' data need\nto use the 'u32' telemetry API to add.\n\nFixes: d3d98f5ce9d0 (\"cryptodev: support telemetry\")\nCc: stable@dpdk.org\n\nSigned-off-by: Huisong Li <lihuisong@huawei.com>\n---\n lib/cryptodev/rte_cryptodev.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/lib/cryptodev/rte_cryptodev.c b/lib/cryptodev/rte_cryptodev.c\nindex 2165a0688c..8e19411164 100644\n--- a/lib/cryptodev/rte_cryptodev.c\n+++ b/lib/cryptodev/rte_cryptodev.c\n@@ -2692,7 +2692,7 @@ cryptodev_handle_dev_info(const char *cmd __rte_unused,\n \trte_tel_data_start_dict(d);\n \trte_tel_data_add_dict_string(d, \"device_name\",\n \t\tcryptodev_info.device->name);\n-\trte_tel_data_add_dict_int(d, \"max_nb_queue_pairs\",\n+\trte_tel_data_add_dict_u32(d, \"max_nb_queue_pairs\",\n \t\tcryptodev_info.max_nb_queue_pairs);\n \n \treturn 0;\n", "prefixes": [ "V2", "06/11" ] }{ "id": 120710, "url": "