[PULL][Disco] hns driver updates

dann frazier dann.frazier at canonical.com
Mon Mar 11 21:37:33 UTC 2019

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

All clean cherry picks.

The following changes since commit e92fc16621f9eab14fa8d76a0f8f43f76b8b6cc6:

  UBUNTU: [Config] CONFIG_TLS=n for i386 (2019-03-08 16:40:28 -0600)

are available in the Git repository at:

  git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux hns-updates-51-mw

for you to fetch changes up to 02f75da28dd6f661ea2141c17b8422d85d9e34af:

  net: hns3: fix to stop multiple HNS reset due to the AER changes (2019-03-11 15:22:29 -0600)

Dan Carpenter (2):
      net: hns3: Check for allocation failure
      net: hns3: Fix a logical vs bitwise typo

Gustavo A. R. Silva (2):
      net: hns: Use struct_size() in devm_kzalloc()
      net: hns: use struct_size() in devm_kzalloc()

Huazhong Tan (20):
      net: hns3: modify enet reinitialization interface
      net: hns3: remove unused member in struct hns3_enet_ring
      net: hns3: remove unnecessary hns3_adjust_tqps_num
      net: hns3: reuse reinitialization interface in the hns3_set_channels
      net: hns3: add interface hclge_tm_bp_setup
      net: hns3: modify parameter checks in the hns3_set_channels
      net: hns3: remove redundant codes in hclge_knic_setup
      net: hns3: fix user configuration loss for ethtool -L
      net: hns3: adjust the use of alloc_tqps and num_tqps
      net: hns3: fix wrong combined count returned by ethtool -l
      net: hns3: do reinitialization while ETS configuration changed
      net: hns3: fix bug of ethtool_ops.get_channels for VF
      net: hns3: change hnae3_register_ae_dev() to int
      net: hns3: Fix NULL deref when unloading driver
      net: hns3: fix netif_napi_del() not do problem when unloading
      net: hns3: fix improper error handling in the hclge_init_ae_dev()
      net: hns3: fix a wrong checking in the hclge_tx_buffer_calc()
      net: hns3: uninitialize command queue while unloading PF driver
      net: hns3: clear command queue's registers when unloading VF driver
      net: hns3: fix improper error handling for hns3_client_start

Jian Shen (18):
      net: hns3: add rx multicast packets statistic
      net: hns3: refactor the statistics updating for netdev
      net: hns3: don't update packet statistics for packets dropped by hardware
      net: hns3: clear pci private data when unload hns3 driver
      net: hns3: fix return value handle issue for hclge_set_loopback()
      net: hns3: fix broadcast promisc issue for revision 0x20
      net: hns3: add initialization for nic state
      net: hns3: don't allow vf to enable promisc mode
      net: hns3: fix VF dump register issue
      net: hns3: fix for rss result nonuniform
      net: hns3: stop sending keep alive msg to PF when VF is resetting
      net: hns3: keep flow director state unchanged when reset
      net: hns3: don't allow user to change vlan filter state
      net: hns3: convert mac advertize and supported from u32 to link mode
      net: hns3: fix port info query issue for copper port
      net: hns3: enable VF VLAN filter for each VF when initializing
      net: hns3: fix get VF RSS issue
      net: hns3: add dma_rmb() for rx description

Peng Li (8):
      net: hns3: add calling roce callback function when link status change
      net: hns3: clear param in ring when free ring
      net: hns3: add 8 BD limit for tx flow
      net: hns3: use the correct interface to stop|open port
      net: hns3: fix an issue for hclgevf_ae_get_hdev
      net: hns3: fix a code style issue for hns3_update_new_int_gl()
      net: hns3: fix an issue for hns3_update_new_int_gl
      net: hns3: add support to config depth for tx|rx ring separately

Shiju Jose (2):
      net: hns3: fix setting of the hns reset_type for rdma hw errors
      net: hns3: fix to stop multiple HNS reset due to the AER changes

Wei Yongjun (1):
      net: hns3: make function hclge_set_all_vf_rst() static

Weihang Li (6):
      net: hns3: add hclge_cmd_check_retval() to parse comman's return value
      net: hns3: move some set_bit statement into hclge_prepare_mac_addr
      net: hns3: modify print message of ssu common ecc errors
      net: hns3: some bugfix of ppu(rcb) ras errors
      net: hns3: enable 8~11th bit of mac common msi-x error
      net: hns3: fix 6th bit of ppp mpf abnormal errors

Yonglong Liu (3):
      net: hns3: Modify parameter type from int to bool in set_gro_en
      net: hns3: add pointer checking at the beginning of the exported functions.
      net: hns3: Check variable is valid before assigning it to another

Yunsheng Lin (20):
      net: hns3: add HNAE3_RESTORE_CLIENT interface in enet module
      net: hns3: fix rss configuration lost problem when setting channel
      net: hns3: fix for shaper not setting when TC num changes
      net: hns3: Change fw error code NOT_EXEC to NOT_SUPPORTED
      net: hns3: do not return GE PFC setting err when initializing
      net: hns3: add ETS TC weight setting in SSU module
      net: hns3: fix PFC not setting problem for DCB module
      net: hns3: add error handling in hclge_ieee_setets
      net: hns3: do reinitialization while mqprio configuration changed
      net: hns3: remove dcb_ops->map_update in hclge_dcb
      net: hns3: call hns3_nic_set_real_num_queue with netdev down
      net: hns3: only support tc 0 for VF
      net: hns3: code optimization for hclge_rx_buffer_calc
      net: hns3: add xps setting support for hns3 driver
      net: hns3: avoid mult + div op in critical data path
      net: hns3: limit some variable scope in critical data path
      net: hns3: remove some ops in struct hns3_nic_ops
      net: hns3: add unlikely for error handling in data path
      net: hns3: replace hnae3_set_bit and hnae3_set_field in data path
      net: hns3: remove hnae3_get_bit in data path

liuzhongzhu (8):
      net: hns3: add statistics for PFC frames and MAC control frames
      net: hns3: After setting the loopback, add the status of getting MAC
      net: hns3: fix the problem that the supported port is empty
      net: hns3: optimize the maximum TC macro
      net: hns3: modify the upper limit judgment condition
      net: hns3: MAC table entry count function increases operation 0 value protection measures
      net: hns3: Record VF unicast and multicast tables
      net: hns3: Record VF vlan tables

liyongxin (1):
      net: hns3: reuse the definition of l3 and l4 header info union

 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c  |   5 +-
 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c  |   5 +-
 drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h    |   7 +-
 drivers/net/ethernet/hisilicon/hns3/hnae3.c        |  47 +-
 drivers/net/ethernet/hisilicon/hns3/hnae3.h        |  23 +-
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c    | 682 +++++++++--------
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h    |  18 +-
 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c |  78 +-
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c |  92 ++-
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h |  17 +-
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c |  97 ++-
 .../ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c |   4 +-
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c | 114 ++-
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.h |   5 +-
 .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c    | 808 ++++++++++++++-------
 .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h    |  55 +-
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 133 +++-
 .../ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c    |  25 +-
 .../ethernet/hisilicon/hns3/hns3pf/hclge_mdio.h    |   4 +-
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c  | 155 +++-
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h  |   8 +-
 .../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c   |  20 +
 .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c  | 192 ++++-
 .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h  |   5 +-
 .../ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c   |  12 +
 25 files changed, 1746 insertions(+), 865 deletions(-)

More information about the kernel-team mailing list