1. 22 11月, 2020 1 次提交
  2. 18 11月, 2020 1 次提交
  3. 30 9月, 2020 1 次提交
  4. 28 9月, 2020 5 次提交
  5. 25 9月, 2020 3 次提交
  6. 22 7月, 2020 1 次提交
    • Y
      net: hns3: fix error handling for desc filling · 8ceca59f
      Yunsheng Lin 提交于
      The content of the TX desc is automatically cleared by the HW
      when the HW has sent out the packet to the wire. When desc filling
      fails in hns3_nic_net_xmit(), it will call hns3_clear_desc() to do
      the error handling, which miss zeroing of the TX desc and the
      checking if a unmapping is needed.
      
      So add the zeroing and checking in hns3_clear_desc() to avoid the
      above problem. Also add DESC_TYPE_UNKNOWN to indicate the info in
      desc_cb is not valid, because hns3_nic_reclaim_desc() may treat
      the desc_cb->type of zero as packet and add to the sent pkt
      statistics accordingly.
      
      Fixes: 76ad4f0e ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC")
      Signed-off-by: NYunsheng Lin <linyunsheng@huawei.com>
      Signed-off-by: NHuazhong Tan <tanhuazhong@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8ceca59f
  7. 29 5月, 2020 2 次提交
  8. 11 5月, 2020 1 次提交
  9. 30 4月, 2020 1 次提交
  10. 26 4月, 2020 2 次提交
  11. 31 3月, 2020 1 次提交
  12. 12 1月, 2020 1 次提交
    • H
      net: hns3: refactor the procedure of VF FLR · f28368bb
      Huazhong Tan 提交于
      Currently, the actual work of VF FLR is handled in the reset task,
      which is asynchronous. So in some case, if the preparing and
      rebuilding are not done, then the VF FLR will trigger some problems,
      for example, makes hardware go into chaos.
      
      So this patch separates the process of VF FLR from reset task, and
      adds a semaphore to serialize this reset and others.
      
      When FLR's preparing fails, if there has other higher level reset
      pending or failing times less than the HCLGE_FLR_RETRY_CNT, this
      preparing should be retried, otherwise it will get into a wrong state.
      
      BTW, while the hardware reports misc interrupt during pcie_flr(),
      the driver can not receive this interrupt anymore, so disable it
      when hclgevf_flr_prepare() return, and re-enable it when enter
      hclgevf_flr_done().
      
      Avoid declaring internal function hclgevf_enable_vector(), this patch
      also moves its definition forward, and removes unused enum
      hnae3_flr_state.
      Signed-off-by: NHuazhong Tan <tanhuazhong@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f28368bb
  13. 07 1月, 2020 2 次提交
  14. 06 11月, 2019 1 次提交
  15. 01 11月, 2019 2 次提交
  16. 20 10月, 2019 1 次提交
  17. 09 10月, 2019 5 次提交
  18. 30 8月, 2019 1 次提交
  19. 19 8月, 2019 1 次提交
  20. 10 8月, 2019 2 次提交
  21. 29 7月, 2019 1 次提交
  22. 26 6月, 2019 2 次提交
  23. 15 6月, 2019 2 次提交