1. 26 8月, 2021 2 次提交
  2. 20 7月, 2021 1 次提交
  3. 29 6月, 2021 1 次提交
  4. 16 6月, 2021 1 次提交
  5. 12 6月, 2021 1 次提交
  6. 10 6月, 2021 1 次提交
  7. 09 6月, 2021 5 次提交
  8. 08 6月, 2021 3 次提交
  9. 01 6月, 2021 5 次提交
  10. 25 5月, 2021 2 次提交
  11. 21 5月, 2021 1 次提交
  12. 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
  13. 01 5月, 2021 1 次提交
  14. 20 4月, 2021 1 次提交
  15. 16 4月, 2021 1 次提交
  16. 10 4月, 2021 1 次提交
  17. 09 4月, 2021 2 次提交
  18. 06 4月, 2021 2 次提交
  19. 30 3月, 2021 4 次提交
  20. 29 3月, 2021 1 次提交
    • L
      net: hns3: no return statement in hclge_clear_arfs_rules · 54422bd4
      Liu Jian 提交于
      drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c: In function 'hclge_clear_arfs_rules':
      drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:7173:1: error: no return statement in function returning non-void [-Werror=return-type]
       7173 | }
            | ^
      cc1: some warnings being treated as errors
      make[6]: *** [scripts/Makefile.build:273: drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.o] Error 1
      make[5]: *** [scripts/Makefile.build:534: drivers/net/ethernet/hisilicon/hns3/hns3pf] Error 2
      make[4]: *** [scripts/Makefile.build:534: drivers/net/ethernet/hisilicon/hns3] Error 2
      make[4]: *** Waiting for unfinished jobs....
      make[3]: *** [scripts/Makefile.build:534: drivers/net/ethernet/hisilicon] Error 2
      make[2]: *** [scripts/Makefile.build:534: drivers/net/ethernet] Error 2
      make[1]: *** [scripts/Makefile.build:534: drivers/net] Error 2
      make[1]: *** Waiting for unfinished jobs....
      make: *** [Makefile:1980: drivers] Error 2
      Reported-by: NHulk Robot <hulkci@huawei.com>
      Signed-off-by: NLiu Jian <liujian56@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      54422bd4
  21. 27 3月, 2021 2 次提交