1. 26 7月, 2021 3 次提交
  2. 17 7月, 2021 1 次提交
  3. 16 7月, 2021 2 次提交
  4. 28 9月, 2020 4 次提交
  5. 25 9月, 2020 1 次提交
  6. 31 5月, 2020 1 次提交
  7. 28 5月, 2020 1 次提交
  8. 21 12月, 2019 1 次提交
    • H
      net: hns3: optimization for CMDQ uninitialization · a3374d7d
      Huazhong Tan 提交于
      When uninitializing CMDQ, HCLGE_STATE_CMD_DISABLE will
      be set up firstly, then the driver does not send command
      anymore. So, hclge_free_cmd_desc can be called without
      holding ring->lock. hclge_destroy_cmd_queue() and
      hclge_destroy_queue() are unnecessary now, so removes them,
      the VF driver has implemented currently.
      
      BTW, the VF driver should set up HCLGEVF_STATE_CMD_DISABLE
      as well in the hclgevf_cmd_uninit(), just likes what the PF
      driver does.
      Signed-off-by: NHuazhong Tan <tanhuazhong@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a3374d7d
  9. 01 11月, 2019 2 次提交
  10. 02 8月, 2019 3 次提交
  11. 29 7月, 2019 1 次提交
  12. 06 7月, 2019 1 次提交
  13. 29 6月, 2019 1 次提交
  14. 04 6月, 2019 1 次提交
  15. 29 5月, 2019 1 次提交
  16. 15 4月, 2019 1 次提交
  17. 09 4月, 2019 1 次提交
  18. 21 3月, 2019 1 次提交
  19. 22 2月, 2019 1 次提交
  20. 03 2月, 2019 2 次提交
  21. 24 1月, 2019 2 次提交
  22. 08 1月, 2019 1 次提交
  23. 10 11月, 2018 1 次提交
    • H
      net: hns3: implement the IMP reset processing for PF · 6dd22bbc
      Huazhong Tan 提交于
      The current code only print the prompt message after receiving
      the IMP reset interrupt and does not perform the corresponding driver
      reset operation. This patch implements the missing IMP reset handling
      in the driver.
      1. The driver sets the HCLGE_STATE_CMD_DISABLE to stop sending command
         after receiving the IMP reset interrupt.
      2. The driver needs to notify the hardware to reload the IMP firmware.
      3. The IMP firmware reloading makes the reset time of hardware longer,
         so it is necessary to extend the driver's waiting time to wait for
         the hardware reset to complete.
      4. In hclge_check_event_cause, IMP reset event should have higher
         priority than other events.
      
      Also, after clearing HCLGE_STATE_CMD_DISABLE in the hclge_cmd_init(),
      it needs to check whether there is a pending reset, if so, just set
      the HCLGE_STATE_CMD_DISABLE back and return.
      Signed-off-by: NHuazhong Tan <tanhuazhong@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6dd22bbc
  24. 01 11月, 2018 2 次提交
  25. 02 8月, 2018 1 次提交
  26. 21 7月, 2018 2 次提交
  27. 17 7月, 2018 1 次提交