1. 14 Jan, 2020 24 commits
  2. 13 Jan, 2020 3 commits
  3. 12 Jan, 2020 11 commits
  4. 11 Jan, 2020 2 commits
    • David S. Miller's avatar
      Merge branch 'hns3-next' · 5c9166f0
      David S. Miller authored
      Huazhong Tan says:
      
      ====================
      net: hns3: add some misc update about reset issue
      
      This series includes some misc update relating to reset issue.
      [patch 1/7] & [patch 2/7] splits hclge_reset()/hclgevf_reset()
      into two parts: preparing and rebuilding. Since the procedure
      of FLR should be separated out from the reset task([patch 3/7 &
      patch 3/7]), then the FLR's processing can reuse these codes.
      
      pci_error_handlers.reset_prepare() is void type function, so
      [patch 6/7] & [patch 7/7] factor some codes related to PF
      function reset to make the preparing done before .reset_prepare()
      return.
      
      BTW, [patch 5/7] enlarges the waiting time of reset for matching
      the hardware's.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5c9166f0
    • Huazhong Tan's avatar
      net: hns3: refactor the notification scheme of PF reset · c7554dcd
      Huazhong Tan authored
      hclge_reset_prepare_down() is only used to inform VF that PF is
      going to do function reset, then using hclge_func_reset_sync_vf()
      in hclge_reset_prepare_wait() to query whether VF is ready before
      asserting PF function reset. To make the code more readable,
      this patch uses a new function hclge_function_reset_notify_vf()
      to do this job.
      Signed-off-by: default avatarHuazhong Tan <tanhuazhong@huawei.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c7554dcd