1. 05 5月, 2020 6 次提交
  2. 24 3月, 2020 1 次提交
  3. 09 3月, 2020 1 次提交
  4. 06 3月, 2020 1 次提交
  5. 04 3月, 2020 1 次提交
  6. 02 3月, 2020 1 次提交
  7. 27 2月, 2020 1 次提交
  8. 27 1月, 2020 1 次提交
    • M
      bnxt_en: Improve link up detection. · 83d8f5e9
      Michael Chan 提交于
      In bnxt_update_phy_setting(), ethtool_get_link_ksettings() and
      bnxt_disable_an_for_lpbk(), we inconsistently use netif_carrier_ok()
      to determine link.  Instead, we should use bp->link_info.link_up
      which has the true link state.  The netif_carrier state may be off
      during self-test and while the device is being reset and may not always
      reflect the true link state.
      
      By always using bp->link_info.link_up, the code is now more
      consistent and more correct.  Some unnecessary link toggles are
      now prevented with this patch.
      Signed-off-by: NMichael Chan <michael.chan@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      83d8f5e9
  9. 11 12月, 2019 1 次提交
  10. 25 11月, 2019 3 次提交
  11. 19 11月, 2019 3 次提交
  12. 01 11月, 2019 1 次提交
    • V
      bnxt_en: Add support to collect crash dump via ethtool · 0b0eacf3
      Vasundhara Volam 提交于
      Driver supports 2 types of core dumps.
      
      1. Live dump - Firmware dump when system is up and running.
      2. Crash dump - Dump which is collected during firmware crash
                      that can be retrieved after recovery.
      Crash dump is currently supported only on specific 58800 chips
      which can be retrieved using OP-TEE API only, as firmware cannot
      access this region directly.
      
      User needs to set the dump flag using following command before
      initiating the dump collection:
      
          $ ethtool -W|--set-dump eth0 N
      
      Where N is "0" for live dump and "1" for crash dump
      
      Command to collect the dump after setting the flag:
      
          $ ethtool -w eth0 data Filename
      
      v3: Modify set_dump to support even when CONFIG_TEE_BNXT_FW=n.
      Also change log message to netdev_info().
      
      Cc: Jakub Kicinski <jakub.kicinski@netronome.com>
      Cc: Michael Chan <michael.chan@broadcom.com>
      Signed-off-by: NVasundhara Volam <vasundhara-v.volam@broadcom.com>
      Signed-off-by: NSheetal Tigadoli <sheetal.tigadoli@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0b0eacf3
  13. 16 9月, 2019 1 次提交
  14. 31 8月, 2019 3 次提交
  15. 19 8月, 2019 1 次提交
  16. 30 7月, 2019 3 次提交
  17. 09 7月, 2019 2 次提交
  18. 01 7月, 2019 1 次提交
  19. 23 5月, 2019 1 次提交
  20. 06 5月, 2019 3 次提交
  21. 20 12月, 2018 1 次提交
    • M
      bnxt_en: Fix ethtool self-test loopback. · 84404d5f
      Michael Chan 提交于
      The current code has 2 problems.  It assumes that the RX ring for
      the loopback packet is combined with the TX ring.  This is not
      true if the ethtool channels are set to non-combined mode.  The
      second problem is that it won't work on 57500 chips without
      adjusting the logic to get the proper completion ring (cpr) pointer.
      Fix both issues by locating the proper cpr pointer through the RX
      ring.
      
      Fixes: e44758b7 ("bnxt_en: Use bnxt_cp_ring_info struct pointer as parameter for RX path.")
      Signed-off-by: NMichael Chan <michael.chan@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      84404d5f
  22. 18 12月, 2018 3 次提交