From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 985CD42544; Fri, 8 Sep 2023 10:03:42 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8B215402D9; Fri, 8 Sep 2023 10:03:42 +0200 (CEST) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by mails.dpdk.org (Postfix) with ESMTP id 1E9E540274 for ; Fri, 8 Sep 2023 10:03:41 +0200 (CEST) Received: from kwepemi500020.china.huawei.com (unknown [172.30.72.57]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4RhpRx6mkWzNn7K for ; Fri, 8 Sep 2023 15:59:57 +0800 (CST) Received: from localhost.localdomain (10.67.165.2) by kwepemi500020.china.huawei.com (7.221.188.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Fri, 8 Sep 2023 16:03:38 +0800 From: Jie Hai To: CC: , Subject: [PATCH v4 0/7] support setting and querying RSS algorithms Date: Fri, 8 Sep 2023 16:00:22 +0800 Message-ID: <20230908080030.3837515-1-haijie1@huawei.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20230904072851.7384-1-haijie1@huawei.com> References: <20230904072851.7384-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: dggems704-chm.china.huawei.com (10.3.19.181) To 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This patchset is to support setting and querying RSS algorithms. -- v4: 1. recomment some definitions related to RSS. 2. allocate static memory for rss_key instead of dynamic. 3. use array of strings to get the name of rss algorithm. 4. add display of rss algorithm with testpmd. v3: 1. fix commit log for PATCH [1/5]. 2. make RSS ABI changes description to start the actual text at the margin. 3. move defnition of enum rte_eth_hash_function to rte_ethdev.h. 4. fix some comment codes. v2: 1. return error if "func" is invalid. 2. modify the comments of the "func" field. 3. modify commit log of patch [3/5]. 4. use malloc instead of rte_malloc. 5. adjust display format of RSS info. 6. remove the string display of rss_hf. Huisong Li (1): net/hns3: support setting and querying RSS hash function Jie Hai (6): ethdev: recomment some definitions related to RSS ethdev: support setting and querying RSS algorithm app/proc-info: fix never show RSS info app/proc-info: adjust the display format of RSS info app/proc-info: support querying RSS hash algorithm app/testpmd: add RSS hash algorithms display app/proc-info/main.c | 31 +++++++++++----- app/test-pmd/cmdline.c | 29 ++++++++++++--- app/test-pmd/config.c | 36 +++++++++---------- app/test-pmd/testpmd.h | 2 +- doc/guides/rel_notes/release_23_11.rst | 2 ++ drivers/net/hns3/hns3_rss.c | 47 +++++++++++++----------- lib/ethdev/rte_ethdev.c | 17 +++++++++ lib/ethdev/rte_ethdev.h | 49 ++++++++++++++++++-------- lib/ethdev/rte_flow.c | 1 - lib/ethdev/rte_flow.h | 18 ++-------- 10 files changed, 146 insertions(+), 86 deletions(-) -- 2.30.0