Synchronize the code and add the DFX of the roce module to resolve some review comments Add roce_rst, roce_global_cfg, roce_bond cmd Signed-off-by: veega2022 <zhuweijia@huawei.com>
30 lines
945 B
Diff
30 lines
945 B
Diff
From 48d87bcd204c6aa226b5dbdb8c68ead8d12b1745 Mon Sep 17 00:00:00 2001
|
|
From: Junxian Huang <huangjunxian6@hisilicon.com>
|
|
Date: Tue, 31 Oct 2023 20:51:38 +0800
|
|
Subject: hikptool/roce: Fix the wrong maximum of gmv index
|
|
|
|
The RoCE driver supports up to 256 gmv table entry, the allowed
|
|
gmv index of hikptool command roce_gmv should cover this range.
|
|
|
|
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
|
|
---
|
|
net/roce/roce_gmv/hikp_roce_gmv.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/net/roce/roce_gmv/hikp_roce_gmv.h b/net/roce/roce_gmv/hikp_roce_gmv.h
|
|
index 1ef5b93..a02b960 100644
|
|
--- a/net/roce/roce_gmv/hikp_roce_gmv.h
|
|
+++ b/net/roce/roce_gmv/hikp_roce_gmv.h
|
|
@@ -18,7 +18,7 @@
|
|
|
|
#define ROCE_HIKP_GMV_REG_NUM 7
|
|
#define ROCE_HIKP_GMV_REG_SWICTH 2
|
|
-#define ROCE_MAX_HIKPTOOL_GMV 128
|
|
+#define ROCE_MAX_HIKPTOOL_GMV 256
|
|
struct cmd_roce_gmv_param {
|
|
struct tool_target target;
|
|
uint32_t gmv_index;
|
|
--
|
|
2.30.0
|
|
|