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>
45 lines
1.4 KiB
Diff
45 lines
1.4 KiB
Diff
From e1aae46f2f2185c5d3b0d33a4db8452d9c5129b3 Mon Sep 17 00:00:00 2001
|
|
From: Jie Hai <haijie1@huawei.com>
|
|
Date: Fri, 27 Oct 2023 14:09:39 +0800
|
|
Subject: [PATCH 369/394] net/hns3: fix typo in function name
|
|
|
|
[ upstream commit 28ad38dd7403d64b3c0aa6dfd33e314bdce276c6 ]
|
|
|
|
This patch fixes a typo.
|
|
|
|
Fixes: c09c7847d892 ("net/hns3: support traffic management")
|
|
Cc: stable@dpdk.org
|
|
|
|
Signed-off-by: Jie Hai <haijie1@huawei.com>
|
|
Acked-by: Huisong Li <lihuisong@huawei.com>
|
|
Acked-by: Chengwen Feng <fengchengwen@huawei.com>
|
|
---
|
|
drivers/net/hns3/hns3_tm.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/drivers/net/hns3/hns3_tm.c b/drivers/net/hns3/hns3_tm.c
|
|
index 67402a700f..d969164014 100644
|
|
--- a/drivers/net/hns3/hns3_tm.c
|
|
+++ b/drivers/net/hns3/hns3_tm.c
|
|
@@ -739,7 +739,7 @@ hns3_tm_node_type_get(struct rte_eth_dev *dev, uint32_t node_id,
|
|
}
|
|
|
|
static void
|
|
-hns3_tm_nonleaf_level_capsbilities_get(struct rte_eth_dev *dev,
|
|
+hns3_tm_nonleaf_level_capabilities_get(struct rte_eth_dev *dev,
|
|
uint32_t level_id,
|
|
struct rte_tm_level_capabilities *cap)
|
|
{
|
|
@@ -818,7 +818,7 @@ hns3_tm_level_capabilities_get(struct rte_eth_dev *dev,
|
|
memset(cap, 0, sizeof(struct rte_tm_level_capabilities));
|
|
|
|
if (level_id != HNS3_TM_NODE_LEVEL_QUEUE)
|
|
- hns3_tm_nonleaf_level_capsbilities_get(dev, level_id, cap);
|
|
+ hns3_tm_nonleaf_level_capabilities_get(dev, level_id, cap);
|
|
else
|
|
hns3_tm_leaf_level_capabilities_get(dev, cap);
|
|
|
|
--
|
|
2.23.0
|
|
|