1. 10 3月, 2020 3 次提交
  2. 20 2月, 2020 2 次提交
  3. 21 1月, 2020 1 次提交
  4. 21 12月, 2019 1 次提交
  5. 17 12月, 2019 1 次提交
    • Y
      net: hns3: remove mailbox and reset work in hclge_main · 1c6dfe6f
      Yunsheng Lin 提交于
      There are three work (mbx_service_task, service_task,
      rst_service_task) in the HNS3 driver, mbx_service_task is for
      handling mailbox work, service_task is for periodic management
      issue and rst_service_task is for reset related issue, which can
      be handled in a single work.
      
      This patch removes the mbx_service_task and rst_service_task
      work, and moves the related handling to the service_task work
      in order to remove concurrency between the three work and to
      improve efficiency.
      
      BTW, since stats_timer in struct hclge_hw_stats is not needed
      anymore, so removes the definition of struct hclge_hw_stats,
      and moves mac_stats into struct hclge_dev.
      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>
      1c6dfe6f
  6. 01 11月, 2019 3 次提交
  7. 09 10月, 2019 1 次提交
  8. 11 9月, 2019 1 次提交
  9. 06 9月, 2019 1 次提交
  10. 02 9月, 2019 1 次提交
  11. 30 8月, 2019 4 次提交
  12. 19 8月, 2019 1 次提交
  13. 10 8月, 2019 2 次提交
  14. 02 8月, 2019 2 次提交
  15. 15 6月, 2019 1 次提交
  16. 10 6月, 2019 2 次提交
  17. 04 6月, 2019 1 次提交
  18. 29 5月, 2019 1 次提交
  19. 20 4月, 2019 3 次提交
  20. 03 2月, 2019 1 次提交
  21. 16 12月, 2018 4 次提交
  22. 24 11月, 2018 3 次提交
    • L
      net: hns3: Add "qos buffer" config info query function · 7d9d7f88
      liuzhongzhu 提交于
      This patch prints qos buffer config information.
      
      debugfs command:
      echo dump qos buf cfg > cmd
      
      Sample Command:
      root@(none)# echo dump qos buf cfg > cmd
      hns3 0000:7d:00.0: dump qos buf cfg
      hns3 0000:7d:00.0: tx_packet_buf_tc_0: 0x1aa
      hns3 0000:7d:00.0: tx_packet_buf_tc_1: 0x0
      hns3 0000:7d:00.0: tx_packet_buf_tc_2: 0x0
      hns3 0000:7d:00.0: tx_packet_buf_tc_3: 0x0
      hns3 0000:7d:00.0: tx_packet_buf_tc_4: 0x0
      hns3 0000:7d:00.0: tx_packet_buf_tc_5: 0x0
      hns3 0000:7d:00.0: tx_packet_buf_tc_6: 0x0
      hns3 0000:7d:00.0: tx_packet_buf_tc_7: 0x0
      hns3 0000:7d:00.0:
      hns3 0000:7d:00.0: rx_packet_buf_tc_0: 0x130
      hns3 0000:7d:00.0: rx_packet_buf_tc_1: 0x0
      hns3 0000:7d:00.0: rx_packet_buf_tc_2: 0x0
      hns3 0000:7d:00.0: rx_packet_buf_tc_3: 0x0
      hns3 0000:7d:00.0: rx_packet_buf_tc_4: 0x0
      hns3 0000:7d:00.0: rx_packet_buf_tc_5: 0x0
      hns3 0000:7d:00.0: rx_packet_buf_tc_6: 0x0
      hns3 0000:7d:00.0: rx_packet_buf_tc_7: 0x0
      hns3 0000:7d:00.0: rx_share_buf: 0x1e0e
      root@(none)#
      Signed-off-by: Nliuzhongzhu <liuzhongzhu@huawei.com>
      Signed-off-by: NSalil Mehta <salil.mehta@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7d9d7f88
    • L
      net: hns3: Add "qos prio map" info query function · 6fc22440
      liuzhongzhu 提交于
      This patch prints qos priority map information.
      
      debugfs command:
      echo dump qos pri map > cmd
      
      Sample Command:
      root@(none)# echo dump qos pri map > cmd
      hns3 0000:7d:00.0: dump qos pri map
      hns3 0000:7d:00.0: vlan_to_pri: 0x0
      hns3 0000:7d:00.0: pri_0_to_tc: 0x0
      hns3 0000:7d:00.0: pri_1_to_tc: 0x0
      hns3 0000:7d:00.0: pri_2_to_tc: 0x0
      hns3 0000:7d:00.0: pri_3_to_tc: 0x0
      hns3 0000:7d:00.0: pri_4_to_tc: 0x0
      hns3 0000:7d:00.0: pri_5_to_tc: 0x0
      hns3 0000:7d:00.0: pri_6_to_tc: 0x0
      hns3 0000:7d:00.0: pri_7_to_tc: 0x0
      root@(none)#
      Signed-off-by: Nliuzhongzhu <liuzhongzhu@huawei.com>
      Signed-off-by: NSalil Mehta <salil.mehta@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6fc22440
    • L
      net: hns3: Add "qos pause" config info query function · d958919d
      liuzhongzhu 提交于
      This patch prints qos pause config information.
      
      debugfs command:
      echo dump qos pause cfg > cmd
      
      Sample Command:
      root@(none)# echo dump qos pause cfg > cmd
      hns3 0000:7d:00.0: dump qos pause cfg
      hns3 0000:7d:00.0: pause_trans_gap: 0xff
      hns3 0000:7d:00.0: pause_trans_time: 0xffff
      root@(none)#
      Signed-off-by: Nliuzhongzhu <liuzhongzhu@huawei.com>
      Signed-off-by: NSalil Mehta <salil.mehta@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d958919d