428 Star 1.6K Fork 1.6K

GVPopenEuler/kernel

 / 详情

用户配置sl超规格后没有校验

已完成
任务
创建于  
2023-11-20 17:16

用户配置sl超规格之后,ud create ah中,直接获取用户配置进行设置,未进行校验。此补丁增加对sl的校验。

评论 (2)

zhouj 创建了任务 1年前

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.

openeuler-ci-bot 添加了
 
sig/Kernel
标签
1年前
zhouj 修改了标题 1年前
zhouj 修改了描述 1年前
zhouj 修改了描述 1年前
[root@localhost bug]# rdma link
link hns_0/1 state DOWN physical_state DISABLED netdev eno1
link hns_1/1 state DOWN physical_state DISABLED netdev eno2
link hns_2/1 state ACTIVE physical_state LINK_UP netdev eno3
[root@localhost bug]#
[root@localhost bug]# ip r
default via 192.168.101.1 dev enp23s0f0
192.168.1.0/24 dev eno3 proto kernel scope link src 192.168.1.20
192.168.101.0/24 dev enp23s0f0 proto kernel scope link src 192.168.101.25
[root@localhost bug]#
[root@localhost bug]# ib_send_bw -d hns_2 -n 5 -c UD -S 1 -s 32&
[1] 9447
[root@localhost bug]#
************************************
* Waiting for client to connect... *
************************************
ib_send_bw -d hns_2 -n 5 -c UD -S 1 -s 32 192.168.1.20&
[2] 9448
[root@localhost bug]# ---------------------------------------------------------------------------------------
                    Send BW Test
 Dual-port       : OFF          Device         : hns_2
 Number of qps   : 1            Transport type : IB
 Connection type : UD           Using SRQ      : OFF
 PCIe relax order: ON
---------------------------------------------------------------------------------------
                    Send BW Test
 Dual-port       : OFF          Device         : hns_2
 Number of qps   : 1            Transport type : IB
 Connection type : UD           Using SRQ      : OFF
 PCIe relax order: ON
 ibv_wr* API     : OFF
 ibv_wr* API     : OFF
 TX depth        : 5
 RX depth        : 6
 CQ Moderation   : 5
 CQ Moderation   : 5
 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
---------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------
Failed to create AH
 Unable to Connect the HCA's through the link
ethernet_read_keys: Couldn't read remote address
 Unable to read to socket/rdma_cm
Failed to exchange data between server and clients

[1]-  Exit 1                  ib_send_bw -d hns_2 -n 5 -c UD -S 1 -s 32
[2]+  Exit 1                  ib_send_bw -d hns_2 -n 5 -c UD -S 1 -s 32 192.168.1.20
[root@localhost bug]# dmesg
[  324.346846] hns3 0000:37:00.0 hns_2: failed to set sl, sl (1) shouldn't be larger than 0.
[root@localhost bug]#
[root@localhost bug]#
[root@localhost bug]# ib_send_bw -d hns_2 -n 5 -c UD -S 0 -s 32&
[1] 9454
[root@localhost bug]#
************************************
* Waiting for client to connect... *
************************************
ib_send_bw -d hns_2 -n 5 -c UD -S 0 -s 32 192.168.1.20&
[2] 9455
[root@localhost bug]# ---------------------------------------------------------------------------------------
                    Send BW Test
 Dual-port       : OFF          Device         : hns_2
 Number of qps   : 1            Transport type : IB
 Connection type : UD           Using SRQ      : OFF
 PCIe relax order: ON
---------------------------------------------------------------------------------------
                    Send BW Test
 Dual-port       : OFF          Device         : hns_2
 Number of qps   : 1            Transport type : IB
 Connection type : UD           Using SRQ      : OFF
 PCIe relax order: ON
 ibv_wr* API     : OFF
 RX depth        : 6
 CQ Moderation   : 5
 Mtu             : 1024[B]
 Link type       : Ethernet
 GID index       : 3
 Max inline data : 0[B]
 rdma_cm QPs     : OFF
 Data ex. method : Ethernet
---------------------------------------------------------------------------------------
 ibv_wr* API     : OFF
 TX depth        : 5
 CQ Moderation   : 5
 Mtu             : 1024[B]
 Link type       : Ethernet
 GID index       : 3
 Max inline data : 0[B]
 rdma_cm QPs     : OFF
 Data ex. method : Ethernet
---------------------------------------------------------------------------------------
 local address: LID 0000 QPN 0x001c PSN 0xd1117b
 GID: 00:00:00:00:00:00:00:00:00:00:255:255:192:168:01:20
 local address: LID 0000 QPN 0x001a PSN 0x9300c8
 GID: 00:00:00:00:00:00:00:00:00:00:255:255:192:168:01:20
 remote address: LID 0000 QPN 0x001a PSN 0x9300c8
 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]
 remote address: LID 0000 QPN 0x001c PSN 0xd1117b
 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]
 32         5                13.44              10.54              0.345515 32         5                0.00               198.15                  6.493014

---------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------

[1]-  Done                    ib_send_bw -d hns_2 -n 5 -c UD -S 0 -s 32
[2]+  Done                    ib_send_bw -d hns_2 -n 5 -c UD -S 0 -s 32 192.168.1.20
[root@localhost bug]#
[root@localhost bug]#

登录 后才可以发表评论

状态
负责人
项目
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

搜索帮助