Parameter
Description
Value
data
Register value
-
Usage Instruction
None
Example
# Write the register value of the hinic0 chip.
[root@localhost tool]#
hinicadm csr_wr -i hinic0 -m cpb -a 0x64 -d 0x3
6.1.4.34 Reading Chip Register Values in Batches (csr_dump)
Function
The
csr_dump
command is used to read and save the chip register values in batches.
Format
hinicadm csr_dump -i
<
devicename
>
-m
<
module name
>
-t
<
type
>
Parameters
Parameter
Description
Value
devicename
Indicates the name of the
target IN200 in the system.
Example:
hinic0
and
hinic1
module name
Module type.
cpb
,
ipsurx
,
ipsutx
,
qu
,
pe
,
esch
,
mqm
,
lcam
,
sml0
,
sml1
,
smf
,
tile0
,
ppe0
,
tile1
,
ppe1
, or
all
type
Register type
cfg
,
err
,
merr
,
int
,
cnt
,
ctp
,
cap
,
hst
,
mem
,
dummy
, or
all
Usage Instruction
l
Stop the services before running this command.
l
Do not run this command twice on the same IN200.
l
When this command is run, the registers of the chip cannot be read or written.
Example
# Read and save the register values of the hinic0 chip in batches.
[root@localhost tool]#
hinicadm csr_dump -i hinic0 -m cpb -t err
Huawei IN200 NIC
User Guide
6 Management Tools
Issue 06 (2019-07-27)
Copyright © Huawei Technologies Co., Ltd.
94