[PULL][SRU Zesty] net: hns: backport fixes from 4.12

dann frazier dann.frazier at canonical.com
Tue Jun 13 02:39:54 UTC 2017

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

This is a series of cherry picks to get us (mostly) in sync w/ 4.12,
which includes several bug fixes and performance improvements for the
onboard network controller in HiSilicon D05 boards.

The following changes since commit 40373c5ea1f5f5f228721dfac494cec3050b4fe5:

  drivers: net: phy: xgene: Fix mdio write (2017-05-31 08:47:13 -0300)

are available in the git repository at:

  git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux hns-update

for you to fetch changes up to cfd3066cef8572c3d3cd320b74fe7bc14e1b2c7d:

  net: hns: fix ethtool_get_strings overflow in hns driver (2017-06-12
20:19:21 -0600)

Arnd Bergmann (3):
      hns_enet: use cpumask_var_t for on-stack mask
      net: hns: fix uninitialized data use
      net: hns: avoid gcc-7.0.1 warning for uninitialized data

Daode Huang (2):
      net: hns: Add ACPI support to check SFP present
      net: hns: bug fix of ethtool show the speed

Kejian Yan (7):
      net: hns: Remove the redundant adding and deleting mac function
      net: hns: Remove redundant mac_get_id()
      net: hns: Remove redundant mac table operations
      net: hns: Clean redundant code from hns_mdio.c file
      net: hns: Optimise the code in hns_mdio_wait_ready()
      net: hns: Simplify the exception sequence in hns_ppe_init()
      net: hns: Adjust the SBM module buffer threshold

Salil (1):
      net: hns: Some checkpatch.pl script & warning fixes

Timmy Li (1):
      net: hns: fix ethtool_get_strings overflow in hns driver

lipeng (11):
      net: hns: Fix the implementation of irq affinity function
      net: hns: Modify GMAC init TX threshold value
      net: hns: Optimize the code for GMAC pad and crc Config
      net: hns: Remove redundant memset during buffer release
      net: hns: Optimize hns_nic_common_poll for better performance
      net: hns: Fix to adjust buf_size of ring according to mtu
      net: hns: Replace netif_tx_lock to ring spin lock
      net: hns: Correct HNS RSS key set function
      net: hns: Avoid Hip06 chip TX packet line bug
      net: hns: support deferred probe when can not obtain irq
      net: hns: support deferred probe when no mdio

 drivers/net/ethernet/hisilicon/hns/hnae.c          |   7 +-
 drivers/net/ethernet/hisilicon/hns/hnae.h          |  47 ++-
 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c  | 127 +++++--
 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c |  63 ++--
 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c  |  91 +++--
 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h  |   5 +-
 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 255 +------------
 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h |  14 +-
 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c |  28 +-
 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c  |  23 +-
 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c  | 153 ++++++--
 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.h  |  28 +-
 drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h  |   6 +-
 .../net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c    |  15 +-
 drivers/net/ethernet/hisilicon/hns/hns_enet.c      | 399 ++++++++++++++++-----
 drivers/net/ethernet/hisilicon/hns/hns_enet.h      |   3 +-
 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c   |  34 +-
 drivers/net/ethernet/hisilicon/hns_mdio.c          |  20 +-
 18 files changed, 741 insertions(+), 577 deletions(-)

More information about the kernel-team mailing list