Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/133820/?format=api
http://patches.dpdk.org/api/patches/133820/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20231103073811.13196-3-fengchengwen@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": "<20231103073811.13196-3-fengchengwen@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20231103073811.13196-3-fengchengwen@huawei.com", "date": "2023-11-03T07:38:08", "name": "[v3,2/5] net/af_packet: use new API to parse kvargs", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "a3f7a5bb393dc64f870f32d454bc8fd449722812", "submitter": { "id": 2146, "url": "http://patches.dpdk.org/api/people/2146/?format=api", "name": "fengchengwen", "email": "fengchengwen@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/20231103073811.13196-3-fengchengwen@huawei.com/mbox/", "series": [ { "id": 30132, "url": "http://patches.dpdk.org/api/series/30132/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30132", "date": "2023-11-03T07:38:06", "name": "fix segment fault when parse args", "version": 3, "mbox": "http://patches.dpdk.org/series/30132/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/133820/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/133820/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 B4EA143277;\n\tFri, 3 Nov 2023 08:41:06 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9E10242D28;\n\tFri, 3 Nov 2023 08:40:56 +0100 (CET)", "from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188])\n by mails.dpdk.org (Postfix) with ESMTP id 4FDE640284\n for <dev@dpdk.org>; Fri, 3 Nov 2023 08:40:53 +0100 (CET)", "from dggpeml100024.china.huawei.com (unknown [172.30.72.55])\n by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4SMCHG62FCzPnjl;\n Fri, 3 Nov 2023 15:36:42 +0800 (CST)", "from localhost.localdomain (10.50.165.33) by\n dggpeml100024.china.huawei.com (7.185.36.115) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id\n 15.1.2507.31; Fri, 3 Nov 2023 15:40:49 +0800" ], "From": "Chengwen Feng <fengchengwen@huawei.com>", "To": "<thomas@monjalon.net>, <ferruh.yigit@amd.com>, \"John W. Linville\"\n <linville@tuxdriver.com>", "CC": "<dev@dpdk.org>, <stephen@networkplumber.org>", "Subject": "[PATCH v3 2/5] net/af_packet: use new API to parse kvargs", "Date": "Fri, 3 Nov 2023 07:38:08 +0000", "Message-ID": "<20231103073811.13196-3-fengchengwen@huawei.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20231103073811.13196-1-fengchengwen@huawei.com>", "References": "<20230314124813.39521-1-fengchengwen@huawei.com>\n <20231103073811.13196-1-fengchengwen@huawei.com>", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-Originating-IP": "[10.50.165.33]", "X-ClientProxiedBy": "dggems701-chm.china.huawei.com (10.3.19.178) To\n dggpeml100024.china.huawei.com (7.185.36.115)", "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": "This driver don't care about the 'iface' value, it should use\nrte_kvargs_process_opt() instead of rte_kvargs_process() to parse.\n\nSigned-off-by: Chengwen Feng <fengchengwen@huawei.com>\n---\n drivers/net/af_packet/rte_eth_af_packet.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/net/af_packet/rte_eth_af_packet.c b/drivers/net/af_packet/rte_eth_af_packet.c\nindex 397a32db58..54a9f5f746 100644\n--- a/drivers/net/af_packet/rte_eth_af_packet.c\n+++ b/drivers/net/af_packet/rte_eth_af_packet.c\n@@ -1096,8 +1096,8 @@ rte_pmd_af_packet_probe(struct rte_vdev_device *dev)\n \t */\n \tif (rte_kvargs_count(kvlist, ETH_AF_PACKET_IFACE_ARG) == 1) {\n \n-\t\tret = rte_kvargs_process(kvlist, ETH_AF_PACKET_IFACE_ARG,\n-\t\t &open_packet_iface, &sockfd);\n+\t\tret = rte_kvargs_process_opt(kvlist, ETH_AF_PACKET_IFACE_ARG,\n+\t\t\t\t\t &open_packet_iface, &sockfd);\n \t\tif (ret < 0)\n \t\t\tgoto exit;\n \t}\n", "prefixes": [ "v3", "2/5" ] }{ "id": 133820, "url": "