Writing Chip Register (Csr_Wr) - Huawei IN200 User Manual

Ethernet nic
Table of Contents

Advertisement

Huawei IN200 NIC
User Guide
Parameters
Parameter
devicename
module name
address
index
Usage Instruction
None
Example
# Read the register value of the hinic0 chip.
[root@localhost tool]# hinicadm csr_rd -i hinic0 -m cpb -a 0x64

6.1.4.33 Writing Chip Register (csr_wr)

Function
The csr_wr command is used to write the value of a chip register.
Format
hinicadm csr_wr -i <devicename> -m <module name> -a <address> [-x <index>] -d <data>
Parameters
Parameter
devicename
module name
address
index
Issue 06 (2019-07-27)
Description
Indicates the name of the
target IN200 in the system.
Module type.
Relative address of the
register module
Indirect register index
Description
Indicates the name of the
target IN200 in the system.
Module type.
Relative address of the
register module
Indirect register index
Copyright © Huawei Technologies Co., Ltd.
Value
Example: hinic0 and hinic1
cpb, ipsurx, ipsutx, qu, pe, esch, mqm,
lcam, sml0, sml1, smf, tile0, ppe0, tile1,
or ppe1
-
-
Value
Example: hinic0 and hinic1
cpb, ipsurx, ipsutx, qu, pe, esch, mqm,
lcam, sml0, sml1, smf, tile0, ppe0, tile1,
or ppe1
cpb, ipsurx, ipsutx, qu, pe, esch, mqm,
lcam, sml0, sml1, smf, tile0, ppe0, tile1,
or ppe1
-
6 Management Tools
93

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents