Sync some patchs from upstreaming and modifies are as follow: - net/hns3: fix mailbox sync - net/hns3: report maximum buffer size - ethdev: add maximum Rx buffer size - app/procinfo: show RSS hash algorithm - ethdev: get RSS algorithm names - app/procinfo: adjust format of RSS info - app/procinfo: fix RSS info - net/hns3: support setting and querying RSS hash function - net/hns3: report RSS hash algorithms capability - ethdev: set and query RSS hash algorithm - ethdev: clarify RSS related fields usage - net/hns3: fix uninitialized hash algo value - net/hns3: keep set/get algo key functions local - net/hns3: fix some error logs - net/hns3: fix some return values - net/hns3: fix LRO offload to report - net/hns3: fix setting DCB capability - app/testpmd: ease configuring all offloads - net/hns3: refactor interrupt state query - net/hns3: fix IMP or global reset - net/hns3: fix multiple reset detected log - net/hns3: remove reset log in secondary - net/hns3: fix double stats for IMP and global reset - net/hns3: fix crash for NEON and SVE - net/hns3: fix unchecked Rx free threshold - net/hns3: fix typo in function name - net/hns3: fix build warning - telemetry: fix repeat display when callback don't init dict Signed-off-by: Dengdui Huang <huangdengdui@huawei.com>
37 lines
1.1 KiB
Diff
37 lines
1.1 KiB
Diff
From fdf0043acae2d1df5aff874133c92ff224ad3de1 Mon Sep 17 00:00:00 2001
|
|
From: Jie Hai <haijie1@huawei.com>
|
|
Date: Thu, 2 Nov 2023 16:20:19 +0800
|
|
Subject: [PATCH 391/394] app/procinfo: show RSS hash algorithm
|
|
|
|
[ upstream commit 130c5a4ba0ca06c921f8a5b52b43e469250a3ea8 ]
|
|
|
|
Display RSS hash algorithm with command show-port as below.
|
|
- RSS info
|
|
-- hash algorithm : toeplitz
|
|
|
|
Signed-off-by: Jie Hai <haijie1@huawei.com>
|
|
Signed-off-by: Dongdong Liu <liudongdong3@huawei.com>
|
|
Acked-by: Reshma Pattan <reshma.pattan@intel.com>
|
|
Acked-by: Huisong Li <lihuisong@huawei.com>
|
|
Acked-by: Chengwen Feng <fengchengwen@huawei.com>
|
|
---
|
|
app/proc-info/main.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/app/proc-info/main.c b/app/proc-info/main.c
|
|
index 55bfbcaa9c..d2f78278d5 100644
|
|
--- a/app/proc-info/main.c
|
|
+++ b/app/proc-info/main.c
|
|
@@ -996,6 +996,8 @@ show_port(void)
|
|
printf("%02x", rss_conf.rss_key[k]);
|
|
printf("\n\t -- hash function : 0x%"PRIx64"\n",
|
|
rss_conf.rss_hf);
|
|
+ printf("\t -- hash algorithm : %s\n",
|
|
+ rte_eth_dev_rss_algo_name(rss_conf.algorithm));
|
|
}
|
|
|
|
#ifdef RTE_LIB_SECURITY
|
|
--
|
|
2.23.0
|
|
|