Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/134013/?format=api
http://patches.dpdk.org/api/patches/134013/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20231109100552.1250123-3-haijie1@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": "<20231109100552.1250123-3-haijie1@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20231109100552.1250123-3-haijie1@huawei.com", "date": "2023-11-09T10:05:52", "name": "[2/2] app/test: fix uninitialized RSS configuration", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "23de4129ca8410527d45c4286f26d456531467d3", "submitter": { "id": 2935, "url": "http://patches.dpdk.org/api/people/2935/?format=api", "name": "Jie Hai", "email": "haijie1@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/20231109100552.1250123-3-haijie1@huawei.com/mbox/", "series": [ { "id": 30214, "url": "http://patches.dpdk.org/api/series/30214/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30214", "date": "2023-11-09T10:05:52", "name": "app/test: fix unit test fail on RSS", "version": 1, "mbox": "http://patches.dpdk.org/series/30214/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/134013/comments/", "check": "warning", "checks": "http://patches.dpdk.org/api/patches/134013/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 ECEF0432E3;\n\tThu, 9 Nov 2023 11:10:04 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id DA60940267;\n\tThu, 9 Nov 2023 11:10:04 +0100 (CET)", "from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187])\n by mails.dpdk.org (Postfix) with ESMTP id 3044B4021F\n for <dev@dpdk.org>; Thu, 9 Nov 2023 11:10:03 +0100 (CET)", "from kwepemd100004.china.huawei.com (unknown [172.30.72.55])\n by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4SQyPB5HSQzfb3D;\n Thu, 9 Nov 2023 18:09:50 +0800 (CST)", "from localhost.localdomain (10.67.165.2) by\n kwepemd100004.china.huawei.com (7.221.188.31) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id\n 15.2.1258.23; Thu, 9 Nov 2023 18:09:26 +0800" ], "From": "Jie Hai <haijie1@huawei.com>", "To": "<dev@dpdk.org>, <songx.jiale@intel.com>, <zhiminx.huang@intel.com>,\n <ferruh.yigit@amd.com>, Chas Williams <chas3@att.com>, \"Min Hu (Connor)\"\n <humin29@huawei.com>, Tomasz Kulasek <tomaszx.kulasek@intel.com>, Declan\n Doherty <declan.doherty@intel.com>, Chengwen Feng <fengchengwen@huawei.com>,\n Huisong Li <lihuisong@huawei.com>", "CC": "<liudongdong3@huawei.com>", "Subject": "[PATCH 2/2] app/test: fix uninitialized RSS configuration", "Date": "Thu, 9 Nov 2023 18:05:52 +0800", "Message-ID": "<20231109100552.1250123-3-haijie1@huawei.com>", "X-Mailer": "git-send-email 2.30.0", "In-Reply-To": "<20231109100552.1250123-1-haijie1@huawei.com>", "References": "<20231109100552.1250123-1-haijie1@huawei.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Originating-IP": "[10.67.165.2]", "X-ClientProxiedBy": "dggems705-chm.china.huawei.com (10.3.19.182) To\n kwepemd100004.china.huawei.com (7.221.188.31)", "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": "Since RSS algorithm has been supported, and is checked in ethdev\nlayer, it is better to initialize \"struct rte_eth_rss_conf\" before\ncongiuring RSS. Otherwise, an error will occur.\n\nFixes: 43b630244e7e (\"app/test: add dynamic bonding RSS configuration\")\nFixes: bae3cfa520a7 (\"ethdev: clarify RSS related fields usage\")\nCc: stable@dpdk.org\n\nSigned-off-by: Jie Hai <haijie1@huawei.com>\n---\n app/test/test_link_bonding_rssconf.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/app/test/test_link_bonding_rssconf.c b/app/test/test_link_bonding_rssconf.c\nindex cd94e9e5dced..3c9c82433507 100644\n--- a/app/test/test_link_bonding_rssconf.c\n+++ b/app/test/test_link_bonding_rssconf.c\n@@ -324,7 +324,7 @@ test_propagate(void)\n \tuint8_t n;\n \tstruct member_conf *port;\n \tuint8_t bond_rss_key[40];\n-\tstruct rte_eth_rss_conf bond_rss_conf;\n+\tstruct rte_eth_rss_conf bond_rss_conf = {0};\n \n \tint retval = 0;\n \tuint64_t rss_hf = 0;\n", "prefixes": [ "2/2" ] }{ "id": 134013, "url": "