[root@localhost tool]#
hinicadm qos -i hinic0
cos number: 4
user priority: 6 5 3 0
# Set the CGE pause time for port 0.
[root@localhost tool]#
hinicadm qos -i hinic0 -t 65535 -p 0
qos command error(-6): Only cge card could set pause time.
6.1.4.14 Querying the RegisterInformation of a Specified Device (reg)
Function
The
reg
command is used to query the current register value of a specified device.
Format
hinicadm reg -i
<
devicename
>
-t
<
registertype
>
-a
<
address
> [
-n
<num>] [
-c
<
channel
>]
Parameters
Parameter
Description
Value
devicename
Indicates the name of the
IN200 to be queried in the
system.
Example:
hinic0
and
hinic1
registertype
Indicates the type of the
register to be queried
l
0
: mag register
l
1
: read register
address
Indicates the address of the
register to be queried
The value must be a
hexadecimal address.
num
Indicates the number of
registers to be queried.
The value must range from
1 to 32.
channel
Indicates the channel type of
registers to be queried.
The value must range from
0 to 1.
Usage Instruction
If the command does not contain
-n
, it queries only the value of a register whose address has
been specified.
Example
# Query the current values of the three consecutive registers starting from 0x1022C in the
IN200.
[root@localhost tool]#
hinicadm reg -i hinic0 -t 0 -a 0x1022c -n 3
addr: 0x1022c
val[0] = 0x00
val[1] = 0x00
val[2] = 0x00
Huawei IN200 NIC
User Guide
6 Management Tools
Issue 06 (2019-07-27)
Copyright © Huawei Technologies Co., Ltd.
73