hikptool/0055-hikptool-augument-serdes-relationship-of-the-PCIe.patch
veega2022 5ff15d1ced hikptool: sync code: fixed some issues for ROH/PCIE/NIC modules
Fix some issues with ROH, PCIE and NIC modules
Update tool version number to 1.1.1 (release version 14)

Signed-off-by: veega2022 <zhuweijia@huawei.com>
(cherry picked from commit 8e254c0769bc0a221ff0dcce0d022e5e76550bb6)
2024-11-21 19:33:01 +08:00

31 lines
1.1 KiB
Diff

From 51382f799643371ecfbe2e311923e9ebfac436ea Mon Sep 17 00:00:00 2001
From: moubingquan <moubingquan@huawei.com>
Date: Tue, 19 Dec 2023 11:09:35 +0800
Subject: [PATCH] hikptool : augument serdes relationship of the PCIe
The Ndie infomation is missing when different chips are adapted.
Add two Ndie to ensure that die information is properly printed.
Fixes: 1d2a0bb9cddc ("hikptool : Querying the SerDes Relationship of the PCIe")
Signed-off-by: moubingquan <moubingquan@huawei.com>
---
pcie/func_lib/pcie_func/pcie_statistics.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pcie/func_lib/pcie_func/pcie_statistics.c b/pcie/func_lib/pcie_func/pcie_statistics.c
index 5dff720..d2661a4 100644
--- a/pcie/func_lib/pcie_func/pcie_statistics.c
+++ b/pcie/func_lib/pcie_func/pcie_statistics.c
@@ -26,7 +26,7 @@ static const char *g_global_width_name[GLOBAL_WIDTH_TABLE_SIZE] = {
};
static const char *g_global_ndie_name[] = {
- "Ndie_A", "Ndie_B"
+ "Ndie_A", "Ndie_B", "Ndie_C", "Ndie_D"
};
static int port_distribution_rsp_data_check(const struct hikp_cmd_ret *cmd_ret, uint32_t *port_num)
--
2.33.0