Usage Instruction
None
Example
# Delete the RX rate limit of a specified eth4 device.
linux-xvUVkf:~ #
hinicadm sdi_cfg -i eth4 -t pf_rx_rate -c
Clear eth4 pf rate limit succeed.
6.1.4.43 Querying the Real-Time Traffic Sent and Received by Each Port of a NIC
Where a RoCE Device Is Located (roce_port_traffic)
Function
The
roce_port_traffic
command is used to query the real-time traffic sent and received by
each port of a NIC where a RoCE device is located.
Format
hinicadm roce_port_traffic -i
<
device
> -t <
exec_time
>
Parameters
Parameter
Description
Value
device
Indicates the valid RoCE
device name.
Example:
hrn0_0
or
hrn0_bond_0
exec_time
Indicates the execution time.
Unit: second
-
Usage Instruction
None
Example
# Run the perftest test command
ib_send_lat
to enable the RoCE device
hrn0_bond_0
to
receive and send data.
[root@localhost ~]# service: ib_send_lat -d hrn0_bond_0 -F -a -x 1
[root@localhost ~]# client: ib_send_lat -d hrn0_bond_0 -F -a -x 1 127.0.0.1
# Use hrn_bond_0 to show the real-time traffic information of all RoCE ports, view the traffic
data of hrn0_bond_0.
[root@localhost ~]#
hinicadm roce_port_traffic -i hrn0_bond_0 -t 2
| port tx(Mpps) tx(Gbps) rx(Mpps) rx(Gbps) | port tx(Mpps) tx(Gbps) rx(Mpps)
rx(Gbps) |
| 0 0.000 0.000000 0.000 0.000000 | 1 0.000 0.000000 0.000
0.000000 |
| 2 0.004 0.000768 0.004 0.001024 | 3 0.000 0.000000 0.000
0.000000 |
| port tx(Mpps) tx(Gbps) rx(Mpps) rx(Gbps) | port tx(Mpps) tx(Gbps) rx(Mpps)
Huawei IN200 NIC
User Guide
6 Management Tools
Issue 06 (2019-07-27)
Copyright © Huawei Technologies Co., Ltd.
108