46 Commits

Author SHA1 Message Date
Jeiwei Li
893b09beab hikptool: add the DFX of the roce module and resolve some review comments
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>
(cherry picked from commit 7ea81ef4da3b2784da2ad9b5d177ddee6774abe8)
2023-11-16 22:02:18 +08:00
openeuler-ci-bot
265659a781
!38 [sync] [同步openEuler22.03-LTS-Next]同步patch,新增UB和NIC模块DFX,修复部分问题
From: @veega2022 
Reviewed-by: @kongzizaixian 
Signed-off-by: @kongzizaixian
2023-11-16 07:58:06 +00:00
Jeiwei Li
afadb1ad30 hikptool: Added DFX for UB, NIC, MAC modules, fixed some bugs
Synchronize patches, add DFX for UB and NIC, and MAC, and solve some bugs

Signed-off-by: veega2022 <zhuweijia@huawei.com>
2023-11-16 15:32:07 +08:00
openeuler-ci-bot
cd14962aa9
!35 同步patch,新增UB和NIC模块DFX,修复部分问题
From: @veega2022 
Reviewed-by: @chenjunxin1992 
Signed-off-by: @chenjunxin1992
2023-10-23 09:31:33 +00:00
veega2022
074f39e544 hikptool: Added DFX for UB, NIC, MAC modules, fixed some bugs
Synchronize patches, add DFX for UB and NIC, and MAC, and solve some bugs

Signed-off-by: veega2022 <zhuweijia@huawei.com>
2023-10-20 22:46:06 +08:00
openeuler-ci-bot
280b2273ba
!32 增加安全编译选项,去除-g编译选项
From: @veega2022 
Reviewed-by: @chenjunxin1992 
Signed-off-by: @chenjunxin1992
2023-06-09 06:39:44 +00:00
veega2022
dc99219c2a hikptool: fix compiling specifications check problem
Signed-off-by: veega2022 <zhuweijia@huawei.com>
2023-06-03 10:19:20 +08:00
openeuler-ci-bot
9395fb04d6
!29 代码同步:修复PICe和serdes、roh模块问题
From: @veega2022 
Reviewed-by: @chenjunxin1992, @kongzizaixian 
Signed-off-by: @chenjunxin1992
2023-06-01 02:59:26 +00:00
veega2022
9ce8b26b85 sync code for bugfix
sync code: fix PCIe and serdes, roh module problem

Signed-off-by: veega2022 <zhuweijia@huawei.com>
2023-05-31 10:47:59 +08:00
openeuler-ci-bot
6ebf37d79b
!26 [sync] PR-25: 修复sas_dev命令显示sas设备信息为0问题
From: @openeuler-sync-bot 
Reviewed-by: @veega2022 
Signed-off-by: @veega2022
2023-04-10 03:39:38 +00:00
veega2022
cd762a1841 fix sas device info print error bug
fix bug for sas device info print is 0, because the O2 compilation optimization
is enabled. we use the volatile modifier added for pointer.

Signed-off-by: veega2022 <zhuweijia@huawei.com>
(cherry picked from commit 8196ce5ddeaaa0f08b6706bdff9ac1761b09a53d)
2023-04-10 09:31:33 +08:00
openeuler-ci-bot
fbeb17c0f2
!25 修复sas_dev命令显示sas设备信息为0问题
From: @veega2022 
Reviewed-by: @chenjunxin1992 
Signed-off-by: @chenjunxin1992
2023-04-10 01:31:30 +00:00
veega2022
8196ce5dde fix sas device info print error bug
fix bug for sas device info print is 0, because the O2 compilation optimization
is enabled. we use the volatile modifier added for pointer.

Signed-off-by: veega2022 <zhuweijia@huawei.com>
2023-04-06 11:45:38 +00:00
openeuler-ci-bot
0828b9c08e
!22 [sync] PR-21: 修复hikptool包的安全编译pie不生效问题
From: @openeuler-sync-bot 
Reviewed-by: @veega2022 
Signed-off-by: @veega2022
2023-03-16 05:29:18 +00:00
veega2022
81496aaf61 fix hikptool security compilation PIE issue
add link option -pie and change the link ld file PROVIDE address to 0x0

Signed-off-by: veega2022 <zhuweijia@huawei.com>
(cherry picked from commit 9a9d48a8af4934e98a0a1496650cd0904602b0ab)
2023-03-16 13:23:32 +08:00
openeuler-ci-bot
f255b99f61
!21 修复hikptool包的安全编译pie不生效问题
From: @veega2022 
Reviewed-by: @kongzizaixian 
Signed-off-by: @kongzizaixian
2023-03-15 10:00:22 +00:00
veega2022
9a9d48a8af fix hikptool security compilation PIE issue
add link option -pie and change the link ld file PROVIDE address to 0x0

Signed-off-by: veega2022 <zhuweijia@huawei.com>
2023-03-15 09:39:28 +00:00
openeuler-ci-bot
dce01aed4c
!19 [sync] PR-18: 修复hikptool包的安全编译告警问题
From: @openeuler-sync-bot 
Reviewed-by: @veega2022 
Signed-off-by: @veega2022
2022-12-15 11:27:07 +00:00
veega2022
9f1240d733 fix compiler security option problem
add compiler option -g -pie -FPIE -Wall
and link option -Wl,-z,relro,-z,now -Wl,-z,noexecstack

Signed-off-by: veega2022 <zhuweijia@huawei.com>
(cherry picked from commit 01f96238f698e18d01095e3b178126cc67148b28)
2022-12-15 14:35:22 +08:00
openeuler-ci-bot
a23d57023f
!18 修复hikptool包的安全编译告警问题
From: @veega2022 
Reviewed-by: @kongzizaixian 
Signed-off-by: @chenjunxin1992
2022-12-15 06:35:15 +00:00
veega2022
01f96238f6 fix compiler security option problem
add compiler option -g -pie -FPIE -Wall
and link option -Wl,-z,relro,-z,now -Wl,-z,noexecstack

Signed-off-by: veega2022 <zhuweijia@huawei.com>
2022-12-14 13:59:42 +08:00
openeuler-ci-bot
d49e547b2e
!15 [sync] PR-14: 新增patch修复socip模块,异常退出没有赋值异常返回值问题
From: @openeuler-sync-bot 
Reviewed-by: @veega2022 
Signed-off-by: @veega2022
2022-12-12 06:54:14 +00:00
veega2022
059afc45bd socip: Return -EINVAL when the parameter check fails
add patch for fix socip module problem

Signed-off-by: veega2022 <zhuweijia@huawei.com>
(cherry picked from commit 7667c8798092fe39837c876b22745ddfd83433f1)
2022-12-12 14:48:38 +08:00
openeuler-ci-bot
8898156c59
!14 新增patch修复socip模块,异常退出没有赋值异常返回值问题
From: @veega2022 
Reviewed-by: @kongzizaixian 
Signed-off-by: @kongzizaixian, @chenjunxin1992
2022-12-12 06:48:33 +00:00
veega2022
7667c87980 socip: Return -EINVAL when the parameter check fails
add patch for fix socip module problem

Signed-off-by: veega2022 <zhuweijia@huawei.com>
2022-12-12 14:19:30 +08:00
openeuler-ci-bot
1d314064a5
!12 [sync] PR-11: nic_ppp命令增加dump mac和vlan表项功能,修改工具权限为0500
From: @openeuler-sync-bot 
Reviewed-by: @veega2022 
Signed-off-by: @veega2022
2022-11-24 07:26:12 +00:00
veega2022
d6df4a855d add nic_ppp dump mac and vlan function and change tool permission to 0500
add dump mac and vlan table in nic_ppp cmd, change hikptool
execute permission to 0500

note: the hikptool can be executed only by a user with the root permission

Signed-off-by: veega2022 <zhuweijia@huawei.com>
(cherry picked from commit 82f3c450ffa3976e0f64cea0aa228108b01d6369)
2022-11-24 15:04:34 +08:00
openeuler-ci-bot
9d870d6ced
!11 nic_ppp命令增加dump mac和vlan表项功能,修改工具权限为0500
From: @veega2022 
Reviewed-by: @chenjunxin1992 
Signed-off-by: @kongzizaixian
2022-11-24 07:04:27 +00:00
veega2022
82f3c450ff add nic_ppp dump mac and vlan function and change tool permission to 0500
add dump mac and vlan table in nic_ppp cmd, change hikptool
execute permission to 0500

note: the hikptool can be executed only by a user with the root permission

Signed-off-by: veega2022 <zhuweijia@huawei.com>
2022-11-24 14:28:25 +08:00
openeuler-ci-bot
9599e17fa3
!9 [sync] PR-8: 修改hikptool工具安装默认权限4550,优化CMakeList添加文件规则
From: @openeuler-sync-bot 
Reviewed-by: @veega2022 
Signed-off-by: @veega2022
2022-11-17 01:27:07 +00:00
veega2022
025b413ba7 optimized CMakeList and change permission for hikptool
modify the rule for file cmd and change tool permission to 4555

Signed-off-by: veega2022 <zhuweijia@huawei.com>
(cherry picked from commit 999e26b3b7cd4480d080305356e682b0f30e9da8)
2022-11-17 09:01:46 +08:00
openeuler-ci-bot
d0b459444b
!8 修改hikptool工具安装默认权限4550,优化CMakeList添加文件规则
From: @veega2022 
Reviewed-by: @kongzizaixian 
Signed-off-by: @kongzizaixian
2022-11-17 01:01:38 +00:00
veega2022
999e26b3b7 optimized CMakeList and change permission for hikptool
modify the rule for file cmd and change tool permission to 4555

Signed-off-by: veega2022 <zhuweijia@huawei.com>
2022-11-16 19:27:57 +08:00
openeuler-ci-bot
dbef40d214
!7 [sync] PR-6: 上传hikptool的sas、sata特性源码
From: @openeuler-sync-bot 
Reviewed-by: @veega2022 
Signed-off-by: @veega2022
2022-10-28 11:41:17 +00:00
veega2022
4226e7449a add hikptool sas/sata features source code
add support hikptool sas/sata dfx cmd

Signed-off-by: nifujia <nifujia1@hisilicon.com>
Signed-off-by: veega2022 <zhuweijia@huawei.com>
(cherry picked from commit 1295d6c31782ff86be152b5a23c5d3c33b74b832)
2022-10-28 17:26:48 +08:00
openeuler-ci-bot
9b1607419b
!6 上传hikptool的sas、sata特性源码
From: @veega2022 
Reviewed-by: @chenjunxin1992 
Signed-off-by: @kongzizaixian
2022-10-28 09:26:40 +00:00
veega2022
1295d6c317 add hikptool sas/sata features source code
add support hikptool sas/sata dfx cmd

Signed-off-by: nifujia <nifujia1@hisilicon.com>
Signed-off-by: veega2022 <zhuweijia@huawei.com>
2022-10-28 16:19:00 +08:00
openeuler-ci-bot
9044f34416
!5 [sync] PR-4: 上传pcie、roce、roh、cxl、serdes、socip特性源码
From: @openeuler-sync-bot 
Reviewed-by: @veega2022 
Signed-off-by: @veega2022
2022-10-28 07:53:56 +00:00
veega2022
d97a7bc7ab add hikptool roce/roh/cxl/serdes/socip/pcie features source code
add support hikptool roce/roh/cxl/serdes/socip/pcie dfx cmd

Signed-off-by: veega2022 <zhuweijia@huawei.com>
Signed-off-by: shushengming <shushengming1@huawei.com>
Signed-off-by: wangkang <wangkang124@hisilicon.com>
Signed-off-by: fangjian <f.fangjian@huawei.com>
Signed-off-by: hesiyuan <hesiyuan4@huawei.com>
(cherry picked from commit 46da047b4fa49bc8268b031081e9c4b6b09fddcc)
2022-10-28 15:17:19 +08:00
openeuler-ci-bot
5d554c72ca
!4 上传pcie、roce、roh、cxl、serdes、socip特性源码
From: @veega2022 
Reviewed-by: @chenjunxin1992 
Signed-off-by: @kongzizaixian
2022-10-28 07:17:12 +00:00
veega2022
46da047b4f add hikptool roce/roh/cxl/serdes/socip/pcie features source code
add support hikptool roce/roh/cxl/serdes/socip/pcie dfx cmd

Signed-off-by: veega2022 <zhuweijia@huawei.com>
Signed-off-by: shushengming <shushengming1@huawei.com>
Signed-off-by: wangkang <wangkang124@hisilicon.com>
Signed-off-by: fangjian <f.fangjian@huawei.com>
Signed-off-by: hesiyuan <hesiyuan4@huawei.com>
2022-10-28 10:52:32 +08:00
openeuler-ci-bot
495206c367
!2 [sync] PR-1: 初始hikptool仓库,新增spec文件和第一版源码
From: @openeuler-sync-bot 
Reviewed-by: @kongzizaixian 
Signed-off-by: @kongzizaixian
2022-10-18 06:12:49 +00:00
veega2022
ceee18228a init repo with spec and source code
first add hikptool spec and source code, first version is 1.0.0

Signed-off-by: veega2022 <zhuweijia@huawei.com>
(cherry picked from commit 4d5465ee95b986b7a9e57fadb2fbdc9464c1a55d)
2022-10-17 15:39:06 +08:00
openeuler-ci-bot
73468dcfe1
!1 初始hikptool仓库,新增spec文件和第一版源码
From: @veega2022 
Reviewed-by: @kongzizaixian 
Signed-off-by: @kongzizaixian
2022-10-14 06:03:44 +00:00
veega2022
4d5465ee95 init repo with spec and source code
first add hikptool spec and source code, first version is 1.0.0

Signed-off-by: veega2022 <zhuweijia@huawei.com>
2022-10-13 19:18:48 +08:00
openeuler-ci-bot
ef391f2c26
Initial commit 2022-10-12 02:05:10 +00:00