Cover Detail
Show a cover letter.
GET /api/covers/349/?format=api
http://patches.dpdk.org/api/covers/349/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/cover/20231102082020.2588392-1-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": "<20231102082020.2588392-1-haijie1@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20231102082020.2588392-1-haijie1@huawei.com", "date": "2023-11-02T08:20:11", "name": "[v9,0/9] support setting and querying RSS algorithms", "submitter": { "id": 2935, "url": "http://patches.dpdk.org/api/people/2935/?format=api", "name": "Jie Hai", "email": "haijie1@huawei.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/cover/20231102082020.2588392-1-haijie1@huawei.com/mbox/", "series": [ { "id": 30113, "url": "http://patches.dpdk.org/api/series/30113/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30113", "date": "2023-11-02T08:20:14", "name": "support setting and querying RSS algorithms", "version": 9, "mbox": "http://patches.dpdk.org/series/30113/mbox/" } ], "comments": "http://patches.dpdk.org/api/covers/349/comments/", "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 DABB74326B;\n\tThu, 2 Nov 2023 09:24:10 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 08C6A40DDC;\n\tThu, 2 Nov 2023 09:24:00 +0100 (CET)", "from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188])\n by mails.dpdk.org (Postfix) with ESMTP id ADA2D402E5\n for <dev@dpdk.org>; Thu, 2 Nov 2023 09:23:56 +0100 (CET)", "from kwepemi500020.china.huawei.com (unknown [172.30.72.55])\n by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4SLcHQ2JTTzPnn7\n for <dev@dpdk.org>; Thu, 2 Nov 2023 16:19:46 +0800 (CST)", "from localhost.localdomain (10.67.165.2) by\n kwepemi500020.china.huawei.com (7.221.188.8) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id\n 15.1.2507.31; Thu, 2 Nov 2023 16:23:52 +0800" ], "From": "Jie Hai <haijie1@huawei.com>", "To": "<dev@dpdk.org>", "CC": "<lihuisong@huawei.com>, <fengchengwen@huawei.com>,\n <liudongdong3@huawei.com>", "Subject": "[PATCH v9 0/9] support setting and querying RSS algorithms", "Date": "Thu, 2 Nov 2023 16:20:11 +0800", "Message-ID": "<20231102082020.2588392-1-haijie1@huawei.com>", "X-Mailer": "git-send-email 2.30.0", "In-Reply-To": "<20230315110033.30143-1-liudongdong3@huawei.com>", "References": "<20230315110033.30143-1-liudongdong3@huawei.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Originating-IP": "[10.67.165.2]", "X-ClientProxiedBy": "dggems704-chm.china.huawei.com (10.3.19.181) To\n kwepemi500020.china.huawei.com (7.221.188.8)", "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 patchset is to support setting and querying RSS algorithms.\nFor this purpose, field \"rss_algo_capa\" is added to ``rte_eth_dev_info``\nand field \"algorithm\" is added to ``rte_eth_rss_conf``.\nThe drivers should reports their \"rss_algo_capa\" if they support\nupdating RSS algorithms. Otherwise, the \"rss_algo_capa\" is set to\nRTE_ETH_HASH_ALGO_CAPA_MASK(DEFAULT). The app configures RSS algorithms\nby field \"algorithm\" and the related API should verify \"algorithm\" with\n\"rss_algo_capa\".\n\n--\nv9:\n1. rewrite some comments.\n2. modify check on rss_key_len and move it to patch 1.\n3. add API change for rss_key_len.\n4. add NEW Feature for RSS.\n5. move modification on rss_config_display to patch 7/9.\n6. update testpmd documentation.\n7. add acked-bys.\n\nv8:\n1. rewrite some comments.\n2. add check for rss_key_len in ethdev level.\n3. add Acked-by: Huisong Li <lihuisong@huawei.com>.\n4. fix log on RSS hash algorithm.\n5. add rte_eth_dev_rss_algo_name to lib/ethdev/version.map.\n6. fix RSS algorithm display on testpmd.\n\nv7:\n1. fix compile error.\n2. add signed-off-by to patch[4/9].\nv6:\n1. rewrite some comments.\n2. add \"rss_algo_capa\" for `rte_eth_dev_info``.\n3. add new API to get name of RSS algorithms\n\nv5:\n1. rewrite some comments.\n2. check RSS algorithm for drivers supporting RSS.\n3. change field \"func\" of rss_conf to \"algorithm\".\n4. fix commit log for [PATCH v4 4/7].\n5. add Acked-by Reshma Pattan.\n6. add symmetric_toeplitz_sort for showing.\n7. change \"hf\" to \"hash function\" for showing.\n\nv4:\n1. recomment some definitions related to RSS.\n2. allocate static memory for rss_key instead of dynamic.\n3. use array of strings to get the name of rss algorithm.\n4. add display of rss algorithm with testpmd.\n\nv3:\n1. fix commit log for PATCH [1/5].\n2. make RSS ABI changes description to start the actual text at the margin.\n3. move defnition of enum rte_eth_hash_function to rte_ethdev.h.\n4. fix some comment codes.\n\nv2:\n1. return error if \"func\" is invalid.\n2. modify the comments of the \"func\" field.\n3. modify commit log of patch [3/5].\n4. use malloc instead of rte_malloc.\n5. adjust display format of RSS info.\n6. remove the string display of rss_hf.\n\nHuisong Li (1):\n net/hns3: support setting and querying RSS hash function\n\nJie Hai (8):\n ethdev: overwrite some comment related to RSS\n ethdev: support setting and querying RSS algorithm\n net/hns3: report RSS hash algorithms capability\n app/proc-info: fix never show RSS info\n app/proc-info: adjust the display format of RSS info\n ethdev: add API to get RSS algorithm names\n app/proc-info: support querying RSS hash algorithm\n app/testpmd: add RSS hash algorithms display\n\n app/proc-info/main.c | 24 +++---\n app/test-pmd/cmdline.c | 29 ++++++--\n app/test-pmd/config.c | 29 +++-----\n app/test-pmd/testpmd.h | 2 +-\n doc/guides/rel_notes/release_23_11.rst | 22 ++++++\n doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 +-\n drivers/net/hns3/hns3_common.c | 4 +\n drivers/net/hns3/hns3_rss.c | 47 +++++++-----\n lib/ethdev/rte_ethdev.c | 81 +++++++++++++++++++++\n lib/ethdev/rte_ethdev.h | 78 ++++++++++++++++----\n lib/ethdev/rte_flow.c | 1 -\n lib/ethdev/rte_flow.h | 25 +------\n lib/ethdev/version.map | 1 +\n 13 files changed, 252 insertions(+), 95 deletions(-)" }{ "id": 349, "url": "