Parameters
Parameter
Description
Value
devicename
Indicates the name of the
IN200 to be queried and set in
the system.
For example, the value can
be
enp6s0
or
enp7s0
.
mode
Enables or disables the PFC
function.
l
1
: Enables PFC.
l
0
: Disables PFC.
priority
Enables or disables PFC
pointer for the 0
–
7 priority.
xxxxxxxx
l
1
: enables the pointer.
l
0
: disables the pointer.
Usage Instruction
After PFC is enabled for the first time after you run the
-e
command, you can run the
-p
command to set the PFC pointer priority.
Example
# Check whether PFC is enabled for enp6s0.
[root@localhost ~]# hinicadm pfc -i enp6s0
enp6s0 pfc state: disable
pfcup: 1 1 1 1 1 1 1 1
num TC's: 4
# Enable PFC for enp6s0.
[root@localhost ~]# hinicadm pfc -i enp6s0 -e 1
Set enp6s0 pfc to enable succeed
# Enable the PFC for priority 2 and priority 3 of enp6s0.
[root@localhost ~]# hinicadm pfc -i enp6s0 -p 00110000
Set enp6s0 pfc to enable succeed.
Set enp6s0 pfc succeed
6.1.4.47 Setting the ETS Function (ets)
6.1.4.47.1 Querying and Setting the ETS Function (-e)
Function
The
ets
-e
command is used to query or set the ETS function of a device.
Format
hinicadm ets -i
<
devicename
>
-e
<
mode
>
Huawei IN200 NIC
User Guide
6 Management Tools
Issue 06 (2019-07-27)
Copyright © Huawei Technologies Co., Ltd.
111