= Verification =
== Server Side ==
ubuntu@d06-1:~$ cat /proc/version
Linux version 4.15.0-24-generic (buildd@bos02-arm64-008) (gcc version 7.3.0
(Ubuntu/Linaro 7.3.0-16ubuntu3)) #26-Ubuntu SMP Wed Jun 13 08:44:37 UTC 2018
ubuntu@d06-1:~$ ib_write_bw -n 5 -d hns_2
************************************
* Waiting for client to connect... *
************************************
hr_qp->port_num= 0x1
---------------------------------------------------------------------------------------
RDMA_Write BW Test
Dual-port : OFF Device : hns_2
Number of qps : 1 Transport type : IB
Connection type : RC Using SRQ : OFF
CQ Moderation : 5
Mtu : 1024[B]
Link type : Ethernet
GID index : 2
Max inline data : 0[B]
rdma_cm QPs : OFF
Data ex. method : Ethernet
---------------------------------------------------------------------------------------
local address: LID 0000 QPN 0x000c PSN 0x11b76 RKey 0x000200 VAddr
0x00ffff9d943000
GID: 00:00:00:00:00:00:00:00:00:00:255:255:10:228:68:53
remote address: LID 0000 QPN 0x000c PSN 0xca0ca0 RKey 0x000200 VAddr
0x00ffff96905000
GID: 00:00:00:00:00:00:00:00:00:00:255:255:10:228:68:74
---------------------------------------------------------------------------------------
#bytes #iterations BW peak[MB/sec] BW average[MB/sec] MsgRate[Mpps]
65536 5 108.06 108.06 0.001729
---------------------------------------------------------------------------------------
== Client Side ==ubuntu@d06-2:~$ ib_write_bw -n 5 -d hns_2 10.228.68.53
hr_qp->port_num= 0x1
---------------------------------------------------------------------------------------
RDMA_Write BW Test
Dual-port : OFF Device : hns_2
Number of qps : 1 Transport type : IB
Connection type : RC Using SRQ : OFF
TX depth : 5
CQ Moderation : 5
Mtu : 1024[B]
Link type : Ethernet
GID index : 2
Max inline data : 0[B]
rdma_cm QPs : OFF
Data ex. method : Ethernet
---------------------------------------------------------------------------------------
local address: LID 0000 QPN 0x000c PSN 0xca0ca0 RKey 0x000200 VAddr
0x00ffff96905000
GID: 00:00:00:00:00:00:00:00:00:00:255:255:10:228:68:74
remote address: LID 0000 QPN 0x000c PSN 0x11b76 RKey 0x000200 VAddr
0x00ffff9d943000
GID: 00:00:00:00:00:00:00:00:00:00:255:255:10:228:68:53
---------------------------------------------------------------------------------------
#bytes #iterations BW peak[MB/sec] BW average[MB/sec] MsgRate[Mpps]
65536 5 108.06 108.06 0.001729
---------------------------------------------------------------------------------------
** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1770974
Title:
Fix several bugs in RDMA/hns driver
Status in linux package in Ubuntu:
In Progress
Status in linux source package in Bionic:
Fix Committed
Bug description:
[Impact]
Several issues and features in the RDMA/hns driver for HiSilicon network
adapters have recently landed upstream. This includes fixes for crashes and
endianness issues, among others.
[Test Case]
Server side:
ubuntu@d06-1:~$ ib_write_bw -n 5 -d hns_2
************************************
* Waiting for client to connect... *
************************************
hr_qp->port_num= 0x1
---------------------------------------------------------------------------------------
RDMA_Write BW Test
Dual-port : OFF Device : hns_2
Number of qps : 1 Transport type : IB
Connection type : RC Using SRQ : OFF
CQ Moderation : 5
Mtu : 1024[B]
Link type : Ethernet
GID index : 2
Max inline data : 0[B]
rdma_cm QPs : OFF
Data ex. method : Ethernet
---------------------------------------------------------------------------------------
local address: LID 0000 QPN 0x000c PSN 0x368fa8 RKey 0x000200 VAddr
0x00ffffbe390000
GID: 00:00:00:00:00:00:00:00:00:00:255:255:10:228:68:237
remote address: LID 0000 QPN 0x000c PSN 0x19f3aa RKey 0x000200 VAddr
0x00ffff83380000
GID: 00:00:00:00:00:00:00:00:00:00:255:255:10:228:68:192
---------------------------------------------------------------------------------------
#bytes #iterations BW peak[MB/sec] BW average[MB/sec]
MsgRate[Mpps]
65536 5 108.08 108.08
0.001729
---------------------------------------------------------------------------------------
Client side:
ubuntu@d06-2:~$ ib_write_bw -n 5 -d hns_2 10.228.68.237
hr_qp->port_num= 0x1
---------------------------------------------------------------------------------------
RDMA_Write BW Test
Dual-port : OFF Device : hns_2
Number of qps : 1 Transport type : IB
Connection type : RC Using SRQ : OFF
TX depth : 5
CQ Moderation : 5
Mtu : 1024[B]
Link type : Ethernet
GID index : 2
Max inline data : 0[B]
rdma_cm QPs : OFF
Data ex. method : Ethernet
---------------------------------------------------------------------------------------
local address: LID 0000 QPN 0x000c PSN 0x19f3aa RKey 0x000200 VAddr
0x00ffff83380000
GID: 00:00:00:00:00:00:00:00:00:00:255:255:10:228:68:192
remote address: LID 0000 QPN 0x000c PSN 0x368fa8 RKey 0x000200 VAddr
0x00ffffbe390000
GID: 00:00:00:00:00:00:00:00:00:00:255:255:10:228:68:237
---------------------------------------------------------------------------------------
#bytes #iterations BW peak[MB/sec] BW average[MB/sec]
MsgRate[Mpps]
65536 5 108.08 108.08
0.001729
---------------------------------------------------------------------------------------
[Regression Risk]
TLDR; this driver isn't usable today, so changes to it carry negligible
regression risk.
These patches are localized to the hns/RDMA driver. This driver is for
hardware in the hip07/hip08 SoCs, which Ubuntu supports in the D05 and
D06 servers respectively. D05 firmware has intentionally disabled this
feature by not exposing the ACPI ID for it. The driver therefore
doesn't find the device on that platform, so there is no regression
risk.
D06 *does* enable this device in firmware. However, the current bionic
kernel crashes when loading the base ethernet driver (hns3 - LP:
#1768670) on this platform, so this feature is also currently unusable
there.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1770974/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp