1. 12 4月, 2017 5 次提交
  2. 15 2月, 2017 1 次提交
  3. 31 1月, 2017 1 次提交
  4. 07 12月, 2016 1 次提交
  5. 01 12月, 2016 1 次提交
    • N
      net: fec: cache statistics while device is down · 80cca775
      Nikita Yushchenko 提交于
      Execution 'ethtool -S' on fec device that is down causes OOPS on Vybrid
      board:
      
      Unhandled fault: external abort on non-linefetch (0x1008) at 0xe0898200
      pgd = ddecc000
      [e0898200] *pgd=9e406811, *pte=400d1653, *ppte=400d1453
      Internal error: : 1008 [#1] SMP ARM
      ...
      
      Reason of OOPS is that fec_enet_get_ethtool_stats() accesses fec
      registers while IPG clock is stopped by PM.
      
      Fix that by caching statistics in fec_enet_private. Cache is initialized
      at device probe time, and updated at statistics request time if device
      is up, and also just before turning device off on down path.
      
      Additional locking is not needed, since cached statistics is accessed
      either before device is registered, or under rtnl_lock().
      Signed-off-by: NNikita Yushchenko <nikita.yoush@cogentembedded.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      80cca775
  6. 30 11月, 2016 1 次提交
  7. 16 11月, 2016 1 次提交
  8. 24 10月, 2016 1 次提交
  9. 21 10月, 2016 1 次提交
  10. 13 10月, 2016 1 次提交
    • J
      net: deprecate eth_change_mtu, remove usage · a52ad514
      Jarod Wilson 提交于
      With centralized MTU checking, there's nothing productive done by
      eth_change_mtu that isn't already done in dev_set_mtu, so mark it as
      deprecated and remove all usage of it in the kernel. All callers have been
      audited for calls to alloc_etherdev* or ether_setup directly, which means
      they all have a valid dev->min_mtu and dev->max_mtu. Now eth_change_mtu
      prints out a netdev_warn about being deprecated, for the benefit of
      out-of-tree drivers that might be utilizing it.
      
      Of note, dvb_net.c actually had dev->mtu = 4096, while using
      eth_change_mtu, meaning that if you ever tried changing it's mtu, you
      couldn't set it above 1500 anymore. It's now getting dev->max_mtu also set
      to 4096 to remedy that.
      
      v2: fix up lantiq_etop, missed breakage due to drive not compiling on x86
      
      CC: netdev@vger.kernel.org
      Signed-off-by: NJarod Wilson <jarod@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a52ad514
  11. 03 10月, 2016 1 次提交
  12. 27 9月, 2016 3 次提交
  13. 14 8月, 2016 1 次提交
  14. 27 6月, 2016 2 次提交
  15. 13 6月, 2016 1 次提交
  16. 12 6月, 2016 1 次提交
  17. 08 6月, 2016 1 次提交
  18. 01 6月, 2016 1 次提交
  19. 11 5月, 2016 2 次提交
  20. 05 5月, 2016 1 次提交
  21. 19 4月, 2016 1 次提交
  22. 01 4月, 2016 1 次提交
  23. 07 3月, 2016 1 次提交
  24. 17 2月, 2016 1 次提交
  25. 11 2月, 2016 8 次提交