An error occurred fetching the project authors.
  1. 03 Jun, 2019 1 commit
  2. 29 May, 2019 1 commit
  3. 07 May, 2019 3 commits
  4. 26 Apr, 2019 1 commit
  5. 20 Apr, 2019 2 commits
  6. 04 Apr, 2019 1 commit
  7. 21 Mar, 2019 1 commit
  8. 25 Feb, 2019 3 commits
  9. 30 Jan, 2019 1 commit
  10. 23 Jan, 2019 1 commit
  11. 18 Jan, 2019 1 commit
  12. 18 Dec, 2018 1 commit
  13. 24 Nov, 2018 1 commit
  14. 18 Nov, 2018 1 commit
  15. 15 Nov, 2018 3 commits
  16. 10 Nov, 2018 3 commits
    • Huazhong Tan's avatar
      net: hns3: add PCIe FLR support for PF · 6b9a97ee
      Huazhong Tan authored
      This patch implements the .reset_prepare and .reset_done
      ops from pci framework to support the PF FLR.
      Signed-off-by: default avatarHuazhong Tan <tanhuazhong@huawei.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6b9a97ee
    • Huazhong Tan's avatar
      net: hns3: add reset handling for VF when doing PF reset · aa5c4f17
      Huazhong Tan authored
      When PF performs a function reset, the hardware will reset both PF
      and all the VF belong to this PF. Hence, both PF's driver and VF's
      driver need to perform corresponding reset operations.
      
      Before PF driver asserting function reset to hardware, it firstly
      set up VF's hardware reset status, and inform the VF driver with
      HNAE3_VF_PF_FUNC_RESET, then VF driver sets this reset type to
      reset_pending and shechule reset task to stop IO and waits for the
      hardware reset status to clear. When PF driver has reinitialized the
      hardware and is ready to process mailbox from VF, PF driver clears
      VF's hardware reset status for VF to continue its reset process.
      
      Also, this patch uses readl_poll_timeout to simplify the hardware reset
      status waitting.
      Signed-off-by: default avatarHuazhong Tan <tanhuazhong@huawei.com>
      Signed-off-by: default avatarYunsheng Lin <linyunsheng@huawei.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      aa5c4f17
    • Huazhong Tan's avatar
      net: hns3: adjust VF's reset process · dea846e8
      Huazhong Tan authored
      Currently when VF need to reset itself, it will send a cmd to PF,
      after receiving the VF reset requset, PF sends a cmd to inform
      VF to enter the reset process and send a cmd to firmware to do the
      actual reset for the VF, it is possible that firmware has resetted
      the VF, but VF has not entered the reset process, which may cause
      IO not stopped problem when firmware is resetting VF.
      
      This patch fixes it by adjusting the VF reset process, when VF
      need to reset itself, it will enter the reset process first, and
      it will tell the PF to send cmd to firmware to reset itself.
      
      Add member reset_pending to struct hclgevf_dev, which indicates that
      there is reset event need to be processed by the VF's reset task, and
      the VF's reset task chooses the highest-level one and clears other
      low-level one when it processes reset_pending.
      
      hclge_inform_reset_assert_to_vf function is unused now, but it will
      be used to support the PF reset with VF working, so declare it in
      the header file.
      Signed-off-by: default avatarHuazhong Tan <tanhuazhong@huawei.com>
      Signed-off-by: default avatarYunsheng Lin <linyunsheng@huawei.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      dea846e8
  17. 07 Nov, 2018 3 commits
  18. 31 Oct, 2018 1 commit
  19. 16 Oct, 2018 1 commit
  20. 12 Oct, 2018 1 commit
  21. 02 Oct, 2018 1 commit
  22. 28 Sep, 2018 1 commit
  23. 20 Sep, 2018 2 commits
  24. 23 Aug, 2018 1 commit
  25. 14 Aug, 2018 2 commits
  26. 21 Jul, 2018 1 commit
  27. 02 Jul, 2018 1 commit