428 Star 1.6K Fork 1.6K

GVPopenEuler/kernel

 / 详情

RDMA/hns: Fix printing level of asynchronous events

已完成
任务
创建于  
2023-10-12 15:58

The current driver will print all asynchronous events. Some of the
print levels are set improperly, e.g. SRQ limit reach and SRQ last
wqe reach, which may also occur during normal operation of the software.
Currently, the information of these event is printed as a warning,
which causes a large amount of printing even during normal use of the
application. As a result, the service performance deteriorates.

This patch fixes the printing storms by modifying the print level.

评论 (2)

Hi stinft, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Kernel, and any of the maintainers.

zhouj 创建了任务 2年前
openeuler-ci-bot 添加了
 
sig/Kernel
标签
2年前
展开全部操作日志
[root@localhost ~]# uname -a
Linux localhost 5.10.0+ #1 SMP Thu Oct 12 10:52:54 CST 2023 aarch64 aarch64 aarch64 GNU/Linux
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# rdma link
link hns_0/1 state ACTIVE physical_state LINK_UP netdev eno1
link hns_1/1 state ACTIVE physical_state LINK_UP netdev eno2
link hns_2/1 state DOWN physical_state DISABLED netdev eno3
[root@localhost ~]# ifconfig eno1 192.168.1.20
[root@localhost ~]#
[root@localhost ~]# ib_send_bw -d hns_0 &
[1] 10555
[root@localhost ~]#
************************************
* Waiting for client to connect... *
************************************
ib_send_bw -d hns_0 192.168.1.20&
[2] 10556
[root@localhost ~]# ---------------------------------------------------------------------------------------
                    Send BW Test
---------------------------------------------------------------------------------------
 Dual-port       : OFF          Device         : hns_0
                    Send BW Test
 Number of qps   : 1            Transport type : IB
 Dual-port       : OFF          Device         : hns_0
 Connection type : RC           Using SRQ      : OFF
 Number of qps   : 1            Transport type : IB
 PCIe relax order: ON
 Connection type : RC           Using SRQ      : OFF
 PCIe relax order: ON
 ibv_wr* API     : ON
 ibv_wr* API     : ON
 RX depth        : 512
 TX depth        : 128
 CQ Moderation   : 1
 CQ Moderation   : 1
 Mtu             : 1024[B]
 Mtu             : 1024[B]
 Link type       : Ethernet
 Link type       : Ethernet
 GID index       : 3
 GID index       : 3
 Max inline data : 0[B]
 Max inline data : 0[B]
 rdma_cm QPs     : OFF
 rdma_cm QPs     : OFF
 Data ex. method : Ethernet
 Data ex. method : Ethernet
---------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------
 local address: LID 0000 QPN 0x0002 PSN 0xd5643c
 local address: LID 0000 QPN 0x0004 PSN 0x3ca3c0
 GID: 00:00:00:00:00:00:00:00:00:00:255:255:192:168:01:20
 GID: 00:00:00:00:00:00:00:00:00:00:255:255:192:168:01:20
 remote address: LID 0000 QPN 0x0004 PSN 0x3ca3c0
 remote address: LID 0000 QPN 0x0002 PSN 0xd5643c
 GID: 00:00:00:00:00:00:00:00:00:00:255:255:192:168:01:20
 GID: 00:00:00:00:00:00:00:00:00:00:255:255:192:168:01:20
---------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------
 #bytes     #iterations    BW peak[MB/sec]    BW average[MB/sec]   MsgRate[Mpps]
 #bytes     #iterations    BW peak[MB/sec]    BW average[MB/sec]   MsgRate[Mpps]
 65536      1000             0.00               22706.18                   0.363299
---------------------------------------------------------------------------------------
 65536      1000             22645.02            22630.58                  0.362089
---------------------------------------------------------------------------------------

[1]-  Done                    ib_send_bw -d hns_0
[2]+  Done                    ib_send_bw -d hns_0 192.168.1.20
[root@localhost ~]#
[root@localhost ~]#

登录 后才可以发表评论

状态
负责人
项目
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
预计工期 (小时)
开始日期   -   截止日期
-
置顶选项
优先级
分支
参与者(2)
5329419 openeuler ci bot 1632792936 zhouj-stinft
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助