[PATCH 0/1] [D] Update Hi1822 driver to mainline ver

Ike Panhc ike.pan at canonical.com
Mon Mar 18 08:55:58 UTC 2019


BugLink: https://bugs.launchpad.net/bugs/1820187

Current driver for Huawei NIC has poor performance. When connect to
10G switch it has only 1-2Gb/s throughput and not stable. 

Cherry-pick patches from mainline can solve this issue to have
stable and satisfied performance

$ iperf -c 10.228.68.102 -P2 -t 180 # kernel with this patchset
------------------------------------------------------------
Client connecting to 10.228.68.102, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 10.228.68.135 port 57200 connected with 10.228.68.102 port 5001
[  4] local 10.228.68.135 port 57198 connected with 10.228.68.102 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-180.0 sec  84.4 GBytes  4.03 Gbits/sec
[  4]  0.0-180.0 sec  84.1 GBytes  4.01 Gbits/sec
[SUM]  0.0-180.0 sec   168 GBytes  8.04 Gbits/sec

Xue Chaojing (1):
  net-next/hinic: replace disable_irq_nosync/enable_irq

 .../net/ethernet/huawei/hinic/hinic_hw_dev.c  | 13 +++++++++
 .../net/ethernet/huawei/hinic/hinic_hw_dev.h  |  3 ++
 .../net/ethernet/huawei/hinic/hinic_hw_if.c   | 28 +++++++++++++++++++
 .../net/ethernet/huawei/hinic/hinic_hw_if.h   | 14 ++++++++++
 drivers/net/ethernet/huawei/hinic/hinic_rx.c  | 11 ++++++--
 drivers/net/ethernet/huawei/hinic/hinic_tx.c  |  8 ++++--
 6 files changed, 73 insertions(+), 4 deletions(-)

-- 
2.17.1




More information about the kernel-team mailing list