1. 20 10月, 2017 1 次提交
  2. 14 8月, 2017 1 次提交
  3. 14 6月, 2017 1 次提交
  4. 12 6月, 2017 1 次提交
  5. 18 5月, 2017 2 次提交
  6. 19 4月, 2017 1 次提交
    • S
      sh_eth: unmap DMA buffers when freeing rings · 1debdc8f
      Sergei Shtylyov 提交于
      The DMA API debugging (when enabled) causes:
      
      WARNING: CPU: 0 PID: 1445 at lib/dma-debug.c:519 add_dma_entry+0xe0/0x12c
      DMA-API: exceeded 7 overlapping mappings of cacheline 0x01b2974d
      
      to be  printed after repeated initialization of the Ether device, e.g.
      suspend/resume or 'ifconfig' up/down. This is because DMA buffers mapped
      using dma_map_single() in sh_eth_ring_format() and sh_eth_start_xmit() are
      never unmapped. Resolve this problem by unmapping the buffers when freeing
      the descriptor  rings;  in order  to do it right, we'd have to add an extra
      parameter to sh_eth_txfree() (we rename this function to sh_eth_tx_free(),
      while at it).
      
      Based on the commit a47b70ea ("ravb: unmap descriptors when freeing
      rings").
      Signed-off-by: NSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1debdc8f
  7. 02 2月, 2017 2 次提交
  8. 31 1月, 2017 2 次提交
  9. 10 1月, 2017 7 次提交
  10. 07 1月, 2017 2 次提交
  11. 05 1月, 2017 4 次提交
  12. 30 12月, 2016 1 次提交
  13. 03 12月, 2016 1 次提交
  14. 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
  15. 28 9月, 2016 1 次提交
  16. 11 9月, 2016 1 次提交
  17. 11 8月, 2016 2 次提交
  18. 02 8月, 2016 1 次提交
  19. 20 7月, 2016 1 次提交
  20. 09 5月, 2016 2 次提交
  21. 27 4月, 2016 3 次提交
  22. 10 4月, 2016 1 次提交
  23. 17 3月, 2016 1 次提交