Cover Detail
Show a cover letter.
GET /api/covers/325/?format=api
http://patches.dpdk.org/api/covers/325/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/cover/20231028014611.4086500-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": "<20231028014611.4086500-1-haijie1@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20231028014611.4086500-1-haijie1@huawei.com", "date": "2023-10-28T01:46:02", "name": "[v7,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/20231028014611.4086500-1-haijie1@huawei.com/mbox/", "series": [ { "id": 30036, "url": "http://patches.dpdk.org/api/series/30036/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30036", "date": "2023-10-28T01:46:02", "name": "support setting and querying RSS algorithms", "version": 7, "mbox": "http://patches.dpdk.org/series/30036/mbox/" } ], "comments": "http://patches.dpdk.org/api/covers/325/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 38B514321C;\n\tSat, 28 Oct 2023 03:49:46 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 28421406FF;\n\tSat, 28 Oct 2023 03:49:46 +0200 (CEST)", "from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187])\n by mails.dpdk.org (Postfix) with ESMTP id 8A88D40291\n for <dev@dpdk.org>; Sat, 28 Oct 2023 03:49:39 +0200 (CEST)", "from kwepemi500020.china.huawei.com (unknown [172.30.72.53])\n by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4SHMp945B2zrSqY\n for <dev@dpdk.org>; Sat, 28 Oct 2023 09:46:41 +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; Sat, 28 Oct 2023 09:49:37 +0800" ], "From": "Jie Hai <haijie1@huawei.com>", "To": "<dev@dpdk.org>", "CC": "<lihuisong@huawei.com>, <fengchengwen@huawei.com>,\n <liudongdong3@huawei.com>, <haijie1@huawei.com>", "Subject": "[PATCH v7 0/9] support setting and querying RSS algorithms", "Date": "Sat, 28 Oct 2023 09:46:02 +0800", "Message-ID": "<20231028014611.4086500-1-haijie1@huawei.com>", "X-Mailer": "git-send-email 2.30.0", "In-Reply-To": "<20231027092836.445224-1-haijie1@huawei.com>", "References": "<20231027092836.445224-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": "dggems702-chm.china.huawei.com (10.3.19.179) 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--\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 lib/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 | 8 +++\n drivers/net/hns3/hns3_common.c | 4 ++\n drivers/net/hns3/hns3_rss.c | 47 +++++++++--------\n lib/ethdev/rte_ethdev.c | 51 +++++++++++++++++++\n lib/ethdev/rte_ethdev.h | 70 ++++++++++++++++++++------\n lib/ethdev/rte_flow.c | 1 -\n lib/ethdev/rte_flow.h | 25 +--------\n 11 files changed, 196 insertions(+), 94 deletions(-)" }{ "id": 325, "url": "