1. 13 9月, 2021 2 次提交
  2. 31 8月, 2021 2 次提交
  3. 28 8月, 2021 2 次提交
  4. 27 8月, 2021 2 次提交
  5. 26 8月, 2021 4 次提交
  6. 24 8月, 2021 1 次提交
  7. 17 8月, 2021 1 次提交
  8. 12 8月, 2021 1 次提交
  9. 26 7月, 2021 1 次提交
  10. 20 7月, 2021 1 次提交
  11. 29 6月, 2021 1 次提交
  12. 16 6月, 2021 1 次提交
  13. 12 6月, 2021 1 次提交
  14. 10 6月, 2021 1 次提交
  15. 09 6月, 2021 5 次提交
  16. 08 6月, 2021 3 次提交
  17. 01 6月, 2021 5 次提交
  18. 25 5月, 2021 2 次提交
  19. 21 5月, 2021 1 次提交
  20. 15 5月, 2021 2 次提交
    • Jiaran Zhang's avatar
      net: hns3: refactor dump reset info of debugfs · 1a7ff828
      Jiaran Zhang 提交于
      Currently, the debugfs command for reset info is implemented by
      "echo xxxx > cmd", and record the information in dmesg. It's
      unnecessary and heavy. To improve it, create a single file
      "reset_info" for it, and query it by command "cat reset_info",
      return the result to userspace, rather than record in dmesg.
      
      The display style is below:
      $cat reset_info
      PF reset count: 0
      FLR reset count: 0
      GLOBAL reset count: 0
      IMP reset count: 0
      reset done count: 0
      HW reset done count: 0
      reset count: 0
      reset fail count: 0
      vector0 interrupt enable status: 0x1
      reset interrupt source: 0x0
      reset interrupt status: 0x0
      RAS interrupt status:0x0
      hardware reset status: 0x0
      handshake status: 0x80
      function reset status: 0x0
      
      Change to the "hclge_show_rst_info" in the "hclge_reset_err_handle",
      when the reset fails, display reset info immediately.
      Signed-off-by: Jiaran Zhang's avatarJiaran Zhang <zhangjiaran@huawei.com>
      Signed-off-by: NHuazhong Tan <tanhuazhong@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1a7ff828
    • H
      net: hns3: support RXD advanced layout · 79664077
      Huazhong Tan 提交于
      Currently, the driver gets packet type by parsing the
      L3_ID/L4_ID/OL3_ID/OL4_ID from RX descriptor, it's
      time-consuming.
      
      Now some new devices support RXD advanced layout, which combines
      previous OL3_ID/OL4_ID to 8bit ptype field, so the driver gets
      packet type by looking up only one table, and L3_ID/L4_ID become
      reserved fields.
      
      Considering compatibility, the firmware will report capability of
      RXD advanced layout, the driver will identify and enable it by
      default. This patch provides basic function: identify and enable
      the RXD advanced layout, and refactor out hns3_rx_checksum() by
      using ptype table to handle RX checksum if supported.
      Signed-off-by: NHuazhong Tan <tanhuazhong@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      79664077
  21. 01 5月, 2021 1 次提交