** Description changed:

  [Impact]
- Several issues in the RDMA/hns driver for HiSilicon network adapters have 
recently landed upstream. 
- 
- TBD: Summarize.
+ 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]
- TBD
+ 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]
- TBD
+ 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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1770974

Title:
  Fix several bugs in RDMA/hns driver

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1770974/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to