queue id:0
hw_pi:1023
ci:5
sw_pi:1023
rq_depth:1024
rq_wqebb_size:32
……
6.1.4.17 Querying and Setting the Work Mode of a Specified Device (mode)
Function
The
mode
command is used to query and set the work mode of a specified device.
Format
hinicadm mode -i
<
devicename
>
hinicadm mode -i
<
devicename
>
-m
<
workmode
>
Parameters
Parameter
Description
Value
devicename
Indicates the name of the
IN200 to be queried and
configured in the system.
Example:
hinic0
or
hinic1
workmode
Indicates the work mode to be
configured.
l
nic
: indicates the standard NIC work
mode.
l
ovs
: indicates the open virtual switch
work mode.
Usage Instruction
Restart the operating system for the setting to take effect.
Example
# Set the work mode to
ovs
.
[root@localhost tool]#
hinicadm mode -i hinic0 -m ovs
Set work mode to ovs succeed.
Please reboot OS for the new mode to take effect.
# Query the IN200 work mode.
[root@localhost tool]#
hinicadm mode -i hinic0
Current work mode: NIC
Work mode in permanent configuration: OVS
6.1.4.18 Querying FE Error Information (fe_epc)
Huawei IN200 NIC
User Guide
6 Management Tools
Issue 06 (2019-07-27)
Copyright © Huawei Technologies Co., Ltd.
76