- net/hns3: fix unrelease some resources on reset case - net/hns3: fix divide by zero - net/hns3: fix incorrect failed rollback - net/hns3: fix memory leakage for indirect action - net/hns3: fix extra waiting for link up - net/hns3: fix variable overflow - net/hns3: fix memory leakage in failure path - devtools: fix symbol listing - net/hns3: remove weak symbols - net/hns3: fix reset timeout - net/hns3: fix copper port inialization - net/hns3: rename RAS module - net/hns3: remove PVID info dump for VF - net/hns3: fix mbuf freeing in simple Tx path Signed-off-by: Dengdui Huang <huangdengdui@huawei.com> (cherry picked from commit 4f2a5e819346fb5bf12b9de68352782319e4a2a6)
50 lines
1.3 KiB
Diff
50 lines
1.3 KiB
Diff
From dfdca582ffab71e9b4258ccedd0725d99e6688eb Mon Sep 17 00:00:00 2001
|
|
From: Jie Hai <haijie1@huawei.com>
|
|
Date: Mon, 30 Dec 2024 14:54:05 +0800
|
|
Subject: [PATCH] net/hns3: rename RAS module
|
|
|
|
[ upstream commit 501a40ae8370dcbfe086ef080a60c86a8d428ef6 ]
|
|
|
|
Rename ROH_MAC module as HIMAC to avoid misunderstandings.
|
|
|
|
Fixes: 1c1eb759e9d7 ("net/hns3: support RAS process in Kunpeng 930")
|
|
Cc: stable@dpdk.org
|
|
|
|
Signed-off-by: Jie Hai <haijie1@huawei.com>
|
|
---
|
|
drivers/net/hns3/hns3_intr.c | 4 ++--
|
|
drivers/net/hns3/hns3_intr.h | 2 +-
|
|
2 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/drivers/net/hns3/hns3_intr.c b/drivers/net/hns3/hns3_intr.c
|
|
index d37c7eb..260cfce 100644
|
|
--- a/drivers/net/hns3/hns3_intr.c
|
|
+++ b/drivers/net/hns3/hns3_intr.c
|
|
@@ -1432,8 +1432,8 @@ static const struct hns3_hw_mod_name hns3_hw_module_name[] = {
|
|
.module_name = MODULE_MASTER,
|
|
.msg = "MODULE_MASTER"
|
|
}, {
|
|
- .module_name = MODULE_ROH_MAC,
|
|
- .msg = "MODULE_ROH_MAC"
|
|
+ .module_name = MODULE_HIMAC,
|
|
+ .msg = "MODULE_HIMAC"
|
|
}
|
|
};
|
|
|
|
diff --git a/drivers/net/hns3/hns3_intr.h b/drivers/net/hns3/hns3_intr.h
|
|
index aca1c07..fcfb900 100644
|
|
--- a/drivers/net/hns3/hns3_intr.h
|
|
+++ b/drivers/net/hns3/hns3_intr.h
|
|
@@ -104,7 +104,7 @@ enum hns3_mod_name_list {
|
|
MODULE_RCB_TX,
|
|
MODULE_TXDMA,
|
|
MODULE_MASTER,
|
|
- MODULE_ROH_MAC,
|
|
+ MODULE_HIMAC,
|
|
};
|
|
|
|
enum hns3_err_type_list {
|
|
--
|
|
2.25.1
|
|
|