38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
|
|
From 93c9cd4501edc9fc487af78ea4fd4c0f37bc4dc1 Mon Sep 17 00:00:00 2001
|
||
|
|
From: Ke Chen <chenke54@huawei.com>
|
||
|
|
Date: Fri, 15 Dec 2023 10:20:53 +0800
|
||
|
|
Subject: [PATCH] hikptool/roh: fix the display information for roh mac mib
|
||
|
|
statistics
|
||
|
|
|
||
|
|
Add a prompt head information "ROH MAC MIB INFO"
|
||
|
|
|
||
|
|
Fixes: 99d48570419c ("support querying the RoH module information")
|
||
|
|
Signed-off-by: Ke Chen <chenke54@huawei.com>
|
||
|
|
---
|
||
|
|
net/roh/hikp_roh_show_mib.c | 2 ++
|
||
|
|
1 file changed, 2 insertions(+)
|
||
|
|
|
||
|
|
diff --git a/net/roh/hikp_roh_show_mib.c b/net/roh/hikp_roh_show_mib.c
|
||
|
|
index 425a0e6..7267fe5 100644
|
||
|
|
--- a/net/roh/hikp_roh_show_mib.c
|
||
|
|
+++ b/net/roh/hikp_roh_show_mib.c
|
||
|
|
@@ -232,6 +232,7 @@ static void hikp_roh_show_mib_in_multi_rounds(struct major_cmd_ctrl *self)
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
|
||
|
|
+ printf("**************ROH MAC MIB INFO*************\n");
|
||
|
|
for (int i = 0; i < total_round; i++) {
|
||
|
|
ret = hikp_roh_fill_pmu_cnt(i);
|
||
|
|
if (ret != 0) {
|
||
|
|
@@ -239,6 +240,7 @@ static void hikp_roh_show_mib_in_multi_rounds(struct major_cmd_ctrl *self)
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
+ printf("*****************************************\n");
|
||
|
|
}
|
||
|
|
|
||
|
|
static void hikp_roh_show_mib_execute(struct major_cmd_ctrl *self)
|
||
|
|
--
|
||
|
|
2.30.0
|
||
|
|
|