[PULL][SRU Bionic] hns3 driver updates

dann frazier dann.frazier at canonical.com
Thu May 3 14:54:54 UTC 2018


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

hns3 is a driver under active development, and is only used on
hardware that is currently pre-production. Given the rate of
development - and the pre-production status - I believe syncing with
the upstream driver-specific changes will be more
risk-averse/maintainable than surgically backporting only changesets
that individually qualify for SRU. This PR will get us
in-sync with the current state of v4.17-rc. Tested on a D06 devel
system.

The following changes since commit d4174baeefbd0a9634291145600b90e13163f27d:

  UBUNTU: Ubuntu-4.15.0-20.21 (2018-04-23 23:56:56 -0500)

are available in the Git repository at:

  git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux hns3-updates

for you to fetch changes up to 21b50bf98d0ad1104fc2d97bf6a74f64b4713cab:

  net: hns3: fix length overflow when CONFIG_ARM64_64K_PAGES (2018-05-02 18:42:57 -0600)

----------------------------------------------------------------
Fuyun Liang (15):
      net: hns3: add existence check when remove old uc mac address
      net: hns3: fix for netdev not running problem after calling net_stop and net_open
      net: hns3: fix for ipv6 address loss problem after setting channels
      net: hns3: unify the pause params setup function
      net: hns3: reallocate tx/rx buffer after changing mtu
      net: hns3: change GL update rate
      net: hns3: change the time interval of int_gl calculating
      net: hns3: fix for getting wrong link mode problem
      net: hns3: add get_link support to VF
      net: hns3: add querying speed and duplex support to VF
      net: hns3: fix for not returning problem in get_link_ksettings when phy exists
      net: hns3: fix for returning wrong value problem in hns3_get_rss_key_size
      net: hns3: fix for returning wrong value problem in hns3_get_rss_indir_size
      net: hns3: fix for the wrong shift problem in hns3_set_txbd_baseinfo
      net: hns3: fix for not initializing VF rss_hash_key problem

Jian Shen (4):
      net: hns3: fix error type definition of return value
      net: hns3: fix return value error of hclge_get_mac_vlan_cmd_status()
      net: hns3: add existence checking before adding unicast mac address
      net: hns3: add result checking for VF when modify unicast mac address

Peng Li (11):
      net: hns3: VF should get the real rss_size instead of rss_size_max
      net: hns3: set the cmdq out_vld bit to 0 after used
      net: hns3: fix endian issue when PF get mbx message flag
      net: hns3: fix the queue id for tqp enable&&reset
      net: hns3: set the max ring num when alloc netdev
      net: hns3: add support for VF driver inner interface hclgevf_ops.get_tqps_and_rss_info
      net: hns3: fix rx path skb->truesize reporting bug
      net: hns3: add support for querying pfc puase packets statistic
      net: hns3: fix the VF queue reset flow error
      net: hns3: increase the max time for IMP handle command
      net: hns3: never send command queue message to IMP when reset

Salil Mehta (9):
      net: hns3: Changes to make enet watchdog timeout func common for PF/VF
      net: hns3: Add VF Reset Service Task to support event handling
      net: hns3: Add VF Reset device state and its handling
      net: hns3: Add support to request VF Reset to PF
      net: hns3: Add support to reset the enet/ring mgmt layer
      net: hns3: Add support to re-initialize the hclge device
      net: hns3: Changes to support ARQ(Asynchronous Receive Queue)
      net: hns3: Add *Asserting Reset* mailbox message & handling in VF
      net: hns3: Changes required in PF mailbox to support VF reset

Tan Xiaojun (1):
      net: hns3: fix length overflow when CONFIG_ARM64_64K_PAGES

Wei Yongjun (1):
      net: hns3: remove unnecessary pci_set_drvdata() and devm_kfree()

Yunsheng Lin (12):
      net: hns3: refactor the hclge_get/set_rss function
      net: hns3: refactor the hclge_get/set_rss_tuple function
      net: hns3: fix for RSS configuration loss problem during reset
      net: hns3: fix for pause configuration lost during reset
      net: hns3: fix for use-after-free when setting ring parameter
      net: hns3: refactor the get/put_vector function
      net: hns3: fix for coalesce configuration lost during reset
      net: hns3: refactor the coalesce related struct
      net: hns3: fix for coal configuation lost when setting the channel
      net: hns3: fix for loopback failure when vlan filter is enable
      net: hns3: fix for buffer overflow smatch warning
      net: hns3: fix for vlan table lost problem when resetting

kbuild test robot (1):
      net: hns3: hclge_inform_reset_assert_to_vf() can be static

 drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h    |  18 +
 drivers/net/ethernet/hisilicon/hns3/hnae3.h        |  18 +-
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c    | 398 ++++++++++-----
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h    |  20 +-
 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 153 ++----
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h |   4 +-
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c |  16 +
 .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c    | 557 +++++++++++++--------
 .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h    |  27 +
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c |  94 +++-
 .../ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c    |   6 +
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c  |  76 ++-
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h  |   8 +-
 .../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c   |   6 +
 .../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h   |   2 +-
 .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c  | 473 ++++++++++++++---
 .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h  |  35 ++
 .../ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c   |  95 +++-
 18 files changed, 1464 insertions(+), 542 deletions(-)




More information about the kernel-team mailing list