[root@localhost tool]#
hinicadm autoneg -i hinic0 -p 1
Port1 auto-negotiation mode: ieee
6.1.4.16 Querying the Queue Information of a Specified Device (nic_queue)
Function
The
nic_queue
command is used to query the queue information of a specified network
device.
Format
hinicadm nic_queue -i
<
ethdevicename
>
-d
<
direction
>
-t
<
type
>
-q
<queueid> [
-w
<
wqeid
>]
Parameters
Parameter
Description
Value
ethdevicename
Indicates the name of the
network device to be queried in
the system.
Example:
eth0
and
eth1
direction
Indicates the direction of the
queue to be queried.
l
0
: sending direction (tx)
l
1
: receiving direction
(rx)
type
Indicates the information type
to be queried.
l
0
: queue information
l
1
: work queue entry
(WQE) information.
l
2
: CI table information
(only tx)
l
3
: completion queue
entry (CQE)
information (only rx)
queueid
Indicates the ID of the queue to
be queried.
-
wqeid
Indicates the ID of the WQE to
be queried.
-
Usage Instruction
None
Example
# Query the queue information of eth0 on the IN200.
[root@localhost tool]#
hinicadm nic_queue -i eth0 -d 1 -t 0 -q 0
Receive queue0 information:
Huawei IN200 NIC
User Guide
6 Management Tools
Issue 06 (2019-07-27)
Copyright © Huawei Technologies Co., Ltd.
75