1. 01 4月, 2018 2 次提交
  2. 27 3月, 2018 1 次提交
  3. 12 3月, 2018 1 次提交
  4. 18 1月, 2018 7 次提交
  5. 11 1月, 2018 1 次提交
  6. 06 1月, 2018 1 次提交
  7. 27 10月, 2017 6 次提交
  8. 15 10月, 2017 2 次提交
  9. 29 8月, 2017 5 次提交
  10. 25 7月, 2017 6 次提交
  11. 12 7月, 2017 2 次提交
    • M
      bnxt_en: Fix bug in ethtool -L. · 3b6b34df
      Michael Chan 提交于
      When changing channels from combined to rx/tx or vice versa, the code
      uses the wrong "sh" parameter to determine if we are reserving rings
      for shared or non-shared mode.  It should be using the ethtool requested
      "sh" parameter instead of the current "sh" parameter.
      
      Fix it by passing the "sh" parameter to bnxt_reserve_rings().  For
      ethtool, we will pass in the requested "sh" parameter.
      
      Fixes: 391be5c2 ("bnxt_en: Implement new scheme to reserve tx rings.")
      Signed-off-by: NMichael Chan <michael.chan@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3b6b34df
    • M
      bnxt_en: Fix race conditions in .ndo_get_stats64(). · f9b76ebd
      Michael Chan 提交于
      .ndo_get_stats64() may not be protected by RTNL and can race with
      .ndo_stop() or other ethtool operations that can free the statistics
      memory.  Fix it by setting a new flag BNXT_STATE_READ_STATS and then
      proceeding to read statistics memory only if the state is OPEN.  The
      close path that frees the memory clears the OPEN state and then waits
      for the BNXT_STATE_READ_STATS to clear before proceeding to free the
      statistics memory.
      
      Fixes: c0c050c5 ("bnxt_en: New Broadcom ethernet driver.")
      Signed-off-by: NMichael Chan <michael.chan@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f9b76ebd
  12. 24 6月, 2017 1 次提交
  13. 31 5月, 2017 3 次提交
  14. 25 4月, 2017 2 次提交