Querying The Real-Time Traffic Sent And Received By Each Port Of A Nic Where A Roce Device Is Located (Roce_Port_Traffic) - Huawei IN200 User Manual

Ethernet nic
Table of Contents

Advertisement

Huawei IN200 NIC
User Guide
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
device
exec_time
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(Gbps)
| 0
0.000000 |
| 2
0.000000 |
| port tx(Mpps) tx(Gbps)
Issue 06 (2019-07-27)
Description
Indicates the valid RoCE
device name.
Indicates the execution time.
Unit: second
rx(Mpps) rx(Gbps)
|
0.000
0.000000 0.000
0.004
0.000768 0.004
rx(Mpps) rx(Gbps)
Copyright © Huawei Technologies Co., Ltd.
Value
Example: hrn0_0 or hrn0_bond_0
-
| port tx(Mpps) tx(Gbps)
0.000000 | 1
0.000
0.001024 | 3
0.000
| port tx(Mpps) tx(Gbps)
6 Management Tools
rx(Mpps)
0.000000 0.000
0.000000 0.000
rx(Mpps)
108

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents